public override void finishCastandDealDamage(int heroLevel, int heroDamage, Mapping.Level mapLevel, HeroClasses.Hero hero) { for (int i = 0; i < castSquares.Length; i++) { if (mapLevel.Move(hero, castSquares[0], true)) { Audio.playSound("Jump"); cooldown = abilityCooldown; wasJustCast = true; } castSquares[i] = new IntVec(0, 0); } }