I need the player to receive the exp and the party also to receive the exp. But I was bugging when there is no party person online. Can anyone help adjust? The item (getitem) is just for who kill and this is ok. When I was at a party created, but all offline, I was not receiving the exp.
Question
kronobr
OnWBossDied: announce " " + strcharinfo(0) + " Find a Mob treasure!", bc_all, 0xFF0000; getitem 617,1; if (getcharid(1) == 0){ getexp 80000,0; end; } else { if( getcharid(1) ) { getpartymember( getcharid(1),2 ); getpartymember( getcharid(1),1 ); for( .@i = 0; .@i < $@partymembercount; .@i++ ) { if (attachrid($@partymemberaid[.@i])) { if (strcharinfo(3) == .map_event$) { getexp 80000,0; } detachrid; } } end; }}}
I need the player to receive the exp and the party also to receive the exp. But I was bugging when there is no party person online. Can anyone help adjust? The item (getitem) is just for who kill and this is ok. When I was at a party created, but all offline, I was not receiving the exp.
Link to comment
Share on other sites
1 answer 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.