Beispiel #1
0
 public Character(string name, List <CharacterAlias> aliases, Type type, NP noblePhantasm, string hint, int strength, int endurance, int agility, int mana, DMGMatter matter)
 {
     Name          = name;
     Aliases       = aliases;
     Level         = 1;
     CharType      = type;
     NoblePhantasm = noblePhantasm;
     Hint          = hint;
     CharacterStat = new Stats(strength, endurance, agility, mana);
     DMGMatter     = matter;
     CurrentHealth = Health;
 }
Beispiel #2
0
        public NP(string name, int dMGAmount, double dMGDealtMult, double dMGTakenMult, double strengthAwakened, double enduranceAwakened, double agilityAwakened, double manaAwakened, double heal, string newMatter)
        {
            Name              = name;
            DMGAmount         = dMGAmount;
            DMGDealtMult      = dMGDealtMult;
            DMGTakenMult      = dMGTakenMult;
            StrengthAwakened  = strengthAwakened;
            EnduranceAwakened = enduranceAwakened;
            AgilityAwakened   = agilityAwakened;
            ManaAwakened      = manaAwakened;
            Heal              = heal;
            DMGMatter ParsedEnum = Enum.Parse <DMGMatter>(newMatter, true);

            DMGMatterSwitch = ParsedEnum;
        }
Beispiel #3
0
 public void MatterMana()
 {
     DMGMatter = DMGMatter.Mana;
 }