Exemple #1
0
 public CombatVariable(int position, int hp, bool canAtk, int durability, CombatAnimaType animaType)
 {
     this.position   = position;
     this.hp         = hp;
     this.canAtk     = canAtk;
     this.durability = durability;
     this.animaType  = animaType;
     crit            = false;
     action          = false;
 }
 public CombatVariable(int position, int hp, int mp, bool canAtk, CombatAnimaType animaType)
 {
     this.position   = position;
     this.hp         = hp;
     this.mp         = mp;
     this.canAtk     = canAtk;
     this.durability = 0;
     this.animaType  = animaType;
     this.crit       = false;
     this.action     = false;
 }
 public void ResetAnima()
 {
     this.animaType = CombatAnimaType.Unknow;
     this.crit      = false;
 }
Exemple #4
0
 public void ResetAnima()
 {
     animaType = CombatAnimaType.Unknow;
     crit      = false;
 }