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,6 +82,7 @@ public class CastableSkill extends Skill {
casterData.giveStamina(-getModifier("stamina"), PlayerResourceUpdateEvent.UpdateReason.SKILL_COST); casterData.giveStamina(-getModifier("stamina"), PlayerResourceUpdateEvent.UpdateReason.SKILL_COST);
} }
if (!getTrigger().isPassive())
casterData.setLastActivity(PlayerActivity.CAST_SKILL); casterData.setLastActivity(PlayerActivity.CAST_SKILL);
} }