Jump to content
  • 0

Low Character's Hp And Pet Buff


Question

Posted

Hello, im making a code to add some effects on character when he has low hp, but when should i add the code? :P

Alsp where should i add another:code:ive made that gives to the pet a buff if the summoner is dead?

3 answers to this question

Recommended Posts

  • 0
Posted

reduceCurrentHp is the place, if you use script (for mobs) it's onAttack event. You have to check current HPs in any case.

 

About second question, doDie on L2PcInstance. Check if there is a pet, if yes retrieve it and do whatever you want with it.

Guest
This topic is now closed to further replies.


×
×
  • Create New...