Browse Source

Auto soul shot use for BLOW skills, thanks kapitann22. Fixes #3177

Sami 16 years ago
parent
commit
49f3311c8b
1 changed files with 10 additions and 1 deletions
  1. 10 1
      L2_GameServer/java/net/sf/l2j/gameserver/model/L2Skill.java

+ 10 - 1
L2_GameServer/java/net/sf/l2j/gameserver/model/L2Skill.java

@@ -1022,7 +1022,16 @@ public abstract class L2Skill
     
     
     public final boolean useSoulShot()
     public final boolean useSoulShot()
     {
     {
-        return ((getSkillType() == L2SkillType.PDAM) || (getSkillType() == L2SkillType.STUN) || (getSkillType() == L2SkillType.CHARGEDAM));
+    	switch (getSkillType())
+    	{
+    		case PDAM:
+    		case STUN:
+    		case CHARGEDAM:
+    		case BLOW:
+    			return true;
+   			default:
+    			return false;
+    	}
     }
     }
 
 
     public final boolean useSpiritShot()
     public final boolean useSpiritShot()