viewing paste Unknown #702 | Text

Posted on the
1 2 3 4 5 6 7 8 9 10
OnPCDieEvent:
  if (!$@MapFlagStatus) end;
  if (killerrid < 5000000) { // Lower ID's are humans, killerrid = account_id
         dispbottom "You have been killed by "+rid2name(killerrid)+".";
         callfunc "PenaltyBaseExp",2; // 2%
   } else {
         // Higher values... monsters
         callfunc "PenaltyBaseExp",1; // 1%
   }
}
Viewed 833 times, submitted by Guest.