Beispiel #1
0
 public Creature(string name, string id, int level, Vitals vitals, bool isPlayer, MagicLearned magic, ElementalResistance eRes, PhysicalResistance pRes)
 {
     this.name     = name;
     this.id       = id;
     this.level    = level;
     this.vitals   = vitals;
     this.isPlayer = isPlayer;
     this.magic    = magic;
     this.eRes     = eRes;
     this.pRes     = pRes;
 }
Beispiel #2
0
 public Creature()
 {
     this.name         = "NULL";
     this.id           = "NULL_ID";
     this.vitals.hpmax = 1;
     this.vitals.hp    = vitals.mpmax;
     this.vitals.mpmax = 1;
     this.vitals.mp    = vitals.mpmax;
     this.vitals.atk   = 25;
     this.vitals.def   = 25;
     this.vitals.speed = 30;
     this.isPlayer     = false;
     this.eRes         = ElementalResistance.Standard;
     this.pRes         = PhysicalResistance.standard;
 }