Fixed an issue with global skill cd

This commit is contained in:
Indyuce 2022-07-03 23:55:14 +02:00
parent aa51da55b2
commit b2ac30100a

View File

@ -82,7 +82,8 @@ public class CastableSkill extends Skill {
casterData.giveStamina(-getModifier("stamina"), PlayerResourceUpdateEvent.UpdateReason.SKILL_COST); casterData.giveStamina(-getModifier("stamina"), PlayerResourceUpdateEvent.UpdateReason.SKILL_COST);
} }
casterData.setLastActivity(PlayerActivity.CAST_SKILL); if (!getTrigger().isPassive())
casterData.setLastActivity(PlayerActivity.CAST_SKILL);
} }
@Override @Override