2
0
Nik c56cfd45b9 BETA: Support for passive effects. To set an effect to be passive, use <effect passive="1" ... />. Passive effects have abnormalTime -1 always. They do not show icon, you cannot get them through getAllEffects(), they do not work if you set them abnormal type. Effect method onStart() is called when the effect is given (when skill is added), onExit() is called when the effect is removed (when skill is removed or when you add the same skill at bigger level). As far as i tested, the passive effects are working fine, but they still need to be tested to make sure everything is working like it should. 13 жил өмнө
..
com c56cfd45b9 BETA: Support for passive effects. To set an effect to be passive, use <effect passive="1" ... />. Passive effects have abnormalTime -1 always. They do not show icon, you cannot get them through getAllEffects(), they do not work if you set them abnormal type. Effect method onStart() is called when the effect is given (when skill is added), onExit() is called when the effect is removed (when skill is removed or when you add the same skill at bigger level). As far as i tested, the passive effects are working fine, but they still need to be tested to make sure everything is working like it should. 13 жил өмнө