void ActiveSkill() { if (PC.Stunned) { return; } if (Skill && CD == 0) { Skill.Active(); CD = Skill.CD; } }
void OnClickActive() { if (!ActiveSkill) { return; } if (ActiveSkill.Ready()) { InterruptOthers(); switch (ActiveSkill.type) { case ActiveSkill.Type.Instant: ActiveSkill.Active(); break; case ActiveSkill.Type.Manual: ActiveSkill.ActiveIndicator(); break; } } }