public ModifierInstance(emodifierType modType) { ModType = modType; switch (modType) { case emodifierType.Slow: Timer = new SimpleTimer(2500); break; case emodifierType.Stunned: Timer = new SimpleTimer(Maths.RandomNr(500, 1500)); break; case emodifierType.Rooted: Timer = new SimpleTimer(3000); break; case emodifierType.ArmorHalved: Timer = new SimpleTimer(2500); break; case emodifierType.Poisoned: Timer = new SimpleTimer(5000); break; default: break; } }
public Modifier(emodifierType modifierType) { }