Beispiel #1
0
        public static string GetSpellDangerString(this Spell spell)
        {
            switch (spell.GetSpellDangerLevel())
            {
            case 1: return("Low");

            case 3: return("High");

            case 4: return("Extreme");

            default: return("Normal");
            }
        }
Beispiel #2
0
 public static void UpdateSpellInfo(this Spell spell)
 {
     spell.CurrentSpellPosition    = spell.GetCurrentSpellPosition();
     spell.CurrentNegativePosition = spell.GetCurrentSpellPosition(true);
     spell.Dangerlevel             = spell.GetSpellDangerLevel();
 }