Jump to content

Question

Posted (edited)

interlude/L2jfrozen 1004

 

I wanted to make some toggle skills that can effect whole party .

I Managed to do that by changing <set name="target" val="TARGET_SELF"/> to <set name="target" val="TARGET_PARTY"/> to any toggle skill.

But I have one problem   if the main character that has the toggle, disables it, the toggle doesnt disable in the other group members.

Can I make this somehow?

Edited by sotid

3 answers to this question

Recommended Posts

  • 0
Posted

You could do that in java. go to the handler that handles the TARGET_PARTY value. And do a check if the player is in party, and if skill is active, the skill go through all the members and if not, it doesnt.

  • 0
Posted (edited)

Before this dont I have to make a new category like example:TARGET_PARTY_TOGGLE so it wont affect other buffs?

Edited by sotid
  • 0
Posted

Create new skill handler to keep it clean. Handle things from there, you have onStart and onExit methods, as far as I rem. But still, you would have to handle leave/dismiss from party, so once you get the buff and leave the party it won't stuck. 

Guest
This topic is now closed to further replies.


×
×
  • Create New...