From 91c8ad4015b64a57be20a7d13fceb0d5bfa5d1be Mon Sep 17 00:00:00 2001
From: Rumen Nikiforov <unafraid89@gmail.com>
Date: Wed, 19 Dec 2012 16:38:18 +0000
Subject: [PATCH] BETA: Fixing Another Shots issue with Dummy SkillType it will
 consume shot only when skill can use shots (This should fix CP Potion issues)
 	* Reported by: MELERIX

---
 .../dist/game/data/scripts/handlers/skillhandlers/Dummy.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/skillhandlers/Dummy.java b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/skillhandlers/Dummy.java
index 6ed068c397..d9497afb89 100644
--- a/L2J_DataPack_BETA/dist/game/data/scripts/handlers/skillhandlers/Dummy.java
+++ b/L2J_DataPack_BETA/dist/game/data/scripts/handlers/skillhandlers/Dummy.java
@@ -61,7 +61,10 @@ public class Dummy implements ISkillHandler
 			}
 		}
 		
-		activeChar.setChargedShot(activeChar.isChargedShot(ShotType.BLESSED_SPIRITSHOTS) ? ShotType.BLESSED_SPIRITSHOTS : ShotType.SPIRITSHOTS, false);
+		if (skill.useSpiritShot())
+		{
+			activeChar.setChargedShot(activeChar.isChargedShot(ShotType.BLESSED_SPIRITSHOTS) ? ShotType.BLESSED_SPIRITSHOTS : ShotType.SPIRITSHOTS, false);
+		}
 	}
 	
 	@Override
-- 
GitLab