All pastes #506436 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-23 23:46 UTC
rendered paste body
Index: java/net/sf/l2j/gameserver/model/L2Skill.java
===================================================================
--- java/net/sf/l2j/gameserver/model/L2Skill.java	(revision 860)
+++ java/net/sf/l2j/gameserver/model/L2Skill.java	(working copy)
@@ -440,6 +440,7 @@
     private final boolean _directHpDmg;  // If true then dmg is being make directly 
     private final boolean _isDance;      // If true then casting more dances will cost more MP
     private final int _nextDanceCost;
+    private final boolean _hasSSBoost;	//If true skill will have SoulShot boost (power*2)
     
     protected Condition _preCondition;
     protected Condition _itemPreCondition;
@@ -528,6 +529,7 @@
         _directHpDmg  = set.getBool("dmgDirectlyToHp",false);
         _isDance = set.getBool("isDance",false);
         _nextDanceCost = set.getInteger("nextDanceCost", 0);
+        _hasSSBoost = set.getBool("hasSSBoost",false);
         
         String canLearn = set.getString("canLearn", null);
         if (canLearn == null)
@@ -894,6 +896,11 @@
     {
     	return _nextDanceCost;
     }
+    
+    public final boolean hasSSBoost()
+    {
+    	return _hasSSBoost;
+    }
 
     public final boolean useSoulShot()
     {