Commit 0f134151 authored by gentlespoon's avatar gentlespoon Committed by Melledy
Browse files

Reset first tick on new skill

parent e9f7b0df
...@@ -127,6 +127,7 @@ public class StaminaManager { ...@@ -127,6 +127,7 @@ public class StaminaManager {
// Accessors // Accessors
public void setSkillCast(int skillId, int skillCasterId) { public void setSkillCast(int skillId, int skillCasterId) {
lastSkillFirstTick = true;
lastSkillId = skillId; lastSkillId = skillId;
lastSkillCasterId = skillCasterId; lastSkillCasterId = skillCasterId;
} }
...@@ -460,10 +461,10 @@ public class StaminaManager { ...@@ -460,10 +461,10 @@ public class StaminaManager {
}}; }};
if (talentMovementConsumptions.containsKey(skillCasting)) { if (talentMovementConsumptions.containsKey(skillCasting)) {
if (lastSkillFirstTick) { if (lastSkillFirstTick) {
consumption = talentMovementConsumptions.get(skillCasting).get(1); consumption = talentMovementConsumptions.get(skillCasting).get(0);
} else { } else {
lastSkillFirstTick = false; lastSkillFirstTick = false;
consumption = talentMovementConsumptions.get(skillCasting).get(0); consumption = talentMovementConsumptions.get(skillCasting).get(1);
} }
} }
// TODO: Claymore avatar charged attack // TODO: Claymore avatar charged attack
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment