private static void SetAffectedByFire(Creep creep)
 {
     if (creep.State.Wet)
     {
         creep.State.Wet = false;
         ChangeStartStatesIfClothCreep(creep);
     }
     else if (creep.State.Frozen)
     {
         creep.State.Frozen = false;
         StateChanger.MakeCreepUnfreezable(creep);
         SetClothCreepWetState(creep);
     }
     else
     {
         if (creep.State.Slow)
         {
             StateChanger.MakeCreepSlowImmune(creep);
         }
         else
         {
             StateChanger.MakeCreepFast(creep);
         }
         StateChanger.MakeCreepBurst(creep);
     }
 }
예제 #2
0
 private static void SetAffectedByFire(Creep creep)
 {
     if (creep.State.Wet)
     {
         creep.State.Wet = false;
         ChangeStartStatesIfWoodCreep(creep);
     }
     else if (creep.State.Frozen)
     {
         StateChanger.MakeCreepUnfreezable(creep);
         SetWoodCreepWetState(creep);
     }
     else
     {
         StateChanger.MakeCreepFast(creep);
         StateChanger.MakeCreepBurst(creep);
     }
 }