Example #1
0
 private static void SetAffectedByIce(Creep creep)
 {
     if (creep.State.Wet)
     {
         StateChanger.MakeCreepFrozen(creep);
     }
 }
 private static void SetAffectedByIce(Creep creep)
 {
     if (creep.State.Wet)
     {
         StateChanger.MakeCreepFrozen(creep);
     }
     creep.State.Burst = false;
     creep.State.Burn  = false;
     creep.State.Fast  = false;
 }
Example #3
0
 private static void SetAffectedByIce(Creep creep)
 {
     if (creep.State.Wet)
     {
         StateChanger.MakeCreepFrozen(creep);
     }
     else if (creep.State.Burst)
     {
         creep.State.Burst = false;
         creep.State.Burn  = false;
         creep.State.Fast  = false;
         ChangeStartStatesIfWoodCreep(creep);
     }
 }
 public void CheckUnfreezableCanNotBeFrozenEffect()
 {
     creep.State.Unfreezable = true;
     StateChanger.MakeCreepFrozen(creep);
     Assert.IsFalse(creep.State.Frozen);
 }