diff options
Diffstat (limited to 'npc/functions/mobpoint.txt')
-rw-r--r-- | npc/functions/mobpoint.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 7e3a6e1f2..aa1e69436 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -48,12 +48,13 @@ OnPCKillEvent: if (is_staff()) { // First: Assume the killedrid is the actual Account ID dispbottom l("ID: @@", killedrid); - getexp readparam(BaseLevel, killedrid), 0; .@killed$=strcharinfo(0,"error",killedrid); dispbottom l("You murder @@ in cold blood.", .@killed$); // Second: Assume the killedrid is actually the Char ID .@killed$=strcharinfo(0,"error",charid2rid(killedrid)); dispbottom l("In case of false positive, @@ was murdered.", .@killed$); + // Third: this one may crash + getexp readparam(BaseLevel, killedrid), 0; } end; |