Ejemplo n.º 1
0
            public HealSpell(int h, string dname, string tname, HealCast fn)
            {
                if (!SpellManager.HasSpell(tname))
                {
                    h = 0;
                    Dlog("ignoring untrained healing spell '{0}' - setting health to 0%", dname);
                }

                Health      = h;
                DisplayName = dname;
                TestSpell   = tname;
                Cast        = fn;
            }
Ejemplo n.º 2
0
            public HealSpell(int h, string dname, string tname, HealCast fn)
            {
                if (!SpellManager.HasSpell(tname))
                {
                    h = 0;
                    Dlog("ignoring untrained healing spell '{0}' - setting health to 0%", dname);
                }

                Health = h;
                DisplayName = dname;
                TestSpell = tname;
                Cast = fn;
            }