Send attack block message when target is invulnerable.
Thanks to kamikadzz.
This commit is contained in:
		@@ -11516,7 +11516,7 @@ public class Player extends Playable
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		SystemMessage sm = null;
 | 
			
		||||
		if ((target.isHpBlocked() && !target.isNpc()) || (target.isPlayer() && target.isAffected(EffectFlag.DUELIST_FURY) && !isAffected(EffectFlag.FACEOFF)))
 | 
			
		||||
		if ((target.isHpBlocked() && !target.isNpc()) || (target.isPlayer() && target.isAffected(EffectFlag.DUELIST_FURY) && !isAffected(EffectFlag.FACEOFF)) || (target.isInvul()))
 | 
			
		||||
		{
 | 
			
		||||
			sm = new SystemMessage(SystemMessageId.THE_ATTACK_HAS_BEEN_BLOCKED);
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user