private static void SetAffectedByIce(Creep creep) { if (!creep.State.Burn) { return; } ComeBackToNormal(creep); StateChanger.MakeCreepResistantToType(creep, TowerType.Ice); }
private static void SetAffectedByWater(Creep creep) { StateChanger.MakeCreepRust(creep); if (!creep.State.Melt) { return; } StateChanger.MakeCreepVulnerableToType(creep, TowerType.Water); StateChanger.MakeCreepHardBoiledToType(creep, TowerType.Slice); StateChanger.MakeCreepResistantToType(creep, TowerType.Impact); }