fixed illusion
This commit is contained in:
parent
c150ea6175
commit
11deec75dd
@ -177,8 +177,8 @@ public class UtilPlayer
|
||||
long lastUpdate = _hotbarUpdates.containsKey(name) ? _hotbarUpdates.get(name) : 0;;
|
||||
long duration = System.currentTimeMillis() - lastUpdate;
|
||||
|
||||
return player.isBlocking() && UtilItem.isSword(player.getItemInHand())
|
||||
&& duration >= BLOCKING_HOTBAR_DELAY;
|
||||
return player.isBlocking();// && UtilItem.isSword(player.getItemInHand())
|
||||
//&& duration >= BLOCKING_HOTBAR_DELAY;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -143,7 +143,7 @@ public class Illusion extends SkillActive
|
||||
|
||||
if (Factory.Condition().GetActiveCondition(cur, ConditionType.CLOAK) == null ||
|
||||
!UtilPlayer.isBlocking(cur) ||
|
||||
!Factory.Energy().Use(cur, GetName(), 0.625 - (getLevel(cur) * 0.025), true, true) ||
|
||||
//!Factory.Energy().Use(cur, GetName(), 0.625 - (getLevel(cur) * 0.025), true, true) ||
|
||||
skel == null ||
|
||||
!skel.isValid())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user