コード例 #1
0
 private static void SetAffectedByIce(Creep creep)
 {
     if (!creep.State.Burn)
     {
         return;
     }
     ComeBackToNormal(creep);
     StateChanger.MakeCreepResistantToType(creep, TowerType.Ice);
 }
コード例 #2
0
 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);
 }