I have an issue with the script, it works fine when all partymembers are online, but if they aren't it doesn't. To clarify, if I go with a team of 3, and only 2 are online, the killer gets the prize that is meant for the third (offline) partymember.
What i want is all partymembers to get max 1 gold (969), is it possible? Thanks a lot.
OnMobKilled3:if(!mobcount("que_qaru01",strnpcinfo(0)+"::OnMobKilled3")) { sleep2 2000;mapannounce "que_qaru01","Boss-Monster is now dead!",0; sleep2 2000;announce "Your party finished this monster battle, good job!",0;sleep2 2000;getpartymember getcharid(1),2;for(set .@i,0; .@i<$@partymembercount; set .@i,.@i+1){attachrid $@partymemberaid[.@i];getitem 969,1;warp "prontera",156,184;end;}}}
Share this post
Link to post
Share on other sites