Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: java/com/l2jserver/gameserver/model/actor/status/CharStatus.java
- ===================================================================
- --- java/com/l2jserver/gameserver/model/actor/status/CharStatus.java (revision 4580)
- +++ java/com/l2jserver/gameserver/model/actor/status/CharStatus.java (working copy)
- @@ -147,16 +147,8 @@
- return;
- // invul handling
- - if (getActiveChar().isInvul())
- - {
- - // other chars can't damage
- - if (attacker != getActiveChar())
- - return;
- -
- - // only DOT and HP consumption allowed for damage self
- - if (!isDOT && !isHPConsumption)
- - return;
- - }
- + if (getActiveChar().isInvul() && !(isDOT || isHPConsumption))
- + return;
- if (attacker != null)
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement