|
İçerde : 1 misafir, 0 üye : ---
|
GuardsInstantKill=1
ON=@Death SERV.LOG A <NAME> has been killed... IF (<ATTACKER> > 0) FOR x 0 <EVAL <ATTACKER>-1> REF99=<ATTACKER.<LOCAL.X>> //REF99 is a reference to an attacker SERV.LOG - <REF99.NAME> did <ATTACKER.<EVAL <LOCAL.X>>.DAM> damage IF (<REF99.FLAGS> & statf_pet) REF99=<REF99.MEMORYFINDTYPE.memory_ipet.LINK> //If REF99 was a pet, change REF99 to be the owner of the pet ENDIF REF99.TAG0.WorldRep += 1 //This adds 1 to the TAG.WorldRep of the attacker... ENDFOR REF100=<ATTACKER.MAX> SERV.LOG - The most damage was dealt by <REF100.NAME> REF100.TAG0.WorldRep += 1 //Give the guy that landed the death blow one extra point of WorldRep ENDIF |
|