OnNPCKillEvent:
if (killedrid == 1956) { // IFRIT
if (getcharid(1)){
getpartymember getcharid(1),1;
getpartymember getcharid(1),2;
set .@acc_id, getcharid(3);
for( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 )
if( isloggedin( $@partymemberaid[.@i],$@partymembercid[.@i] ) )
if( attachrid( $@partymemberaid[.@i] ) )
set .@sharedpoints, (50/$@partymembercount);
set #CASHPOINTS, #CASHPOINTS + .@sharedpoints;
attachrid( .@acc_id );
dispbottom "All party members have gained "+.@sharedpoints+" DaedaRO Points.";
announce "MVP Watcher: "+strcharinfo(0) +" and the "+strcharinfo(1) +" party have killed Naght Sieger for 50 DaedaRO point/s!",0,0x38ACEC;
}
What do I need to do so that It also displays " You have gained "+.@sharedpoints+" DaedaRO Points." for every member of the party not only the killer?
Question
Zaon
What do I need to do so that It also displays " You have gained "+.@sharedpoints+" DaedaRO Points." for every member of the party not only the killer?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.