Переглянути джерело

Renamed staticReuse to reuseDelayLock inside skills.

Adry85 7 роки тому
батько
коміт
61f0a23cc2

+ 1 - 1
src/main/java/com/l2jserver/gameserver/model/actor/L2Character.java

@@ -1800,7 +1800,7 @@ public abstract class L2Character extends L2Object implements ISkillsHolder, IDe
 		
 		// Calculate the Reuse Time of the Skill
 		int reuseDelay;
-		if (skill.isStaticReuse() || skill.isStatic())
+		if (skill.isReuseDelayLocked() || skill.isStatic())
 		{
 			reuseDelay = (skill.getReuseDelay());
 		}

+ 4 - 4
src/main/java/com/l2jserver/gameserver/model/skills/Skill.java

@@ -89,7 +89,7 @@ public class Skill implements IIdentifiable
 	private final SkillOperateType _operateType;
 	private final int _magic;
 	private final TraitType _traitType;
-	private final boolean _staticReuse;
+	private final boolean _reuseDelayLock;
 	/** Initial MP consumption. */
 	private final int _mpConsume1;
 	/** MP consumption. */
@@ -206,7 +206,7 @@ public class Skill implements IIdentifiable
 		_operateType = set.getEnum("operateType", SkillOperateType.class);
 		_magic = set.getInt("isMagic", 0);
 		_traitType = set.getEnum("trait", TraitType.class, TraitType.NONE);
-		_staticReuse = set.getBoolean("staticReuse", false);
+		_reuseDelayLock = set.getBoolean("reuseDelayLock", false);
 		_mpConsume1 = set.getInt("mpConsume1", 0);
 		_mpConsume2 = set.getInt("mpConsume2", 0);
 		_mpPerChanneling = set.getInt("mpPerChanneling", _mpConsume2);
@@ -721,9 +721,9 @@ public class Skill implements IIdentifiable
 	/**
 	 * @return Returns true to set static reuse.
 	 */
-	public boolean isStaticReuse()
+	public boolean isReuseDelayLocked()
 	{
-		return _staticReuse;
+		return _reuseDelayLock;
 	}
 	
 	/**