Exemplo n.º 1
0
 public ObstacleMonster(string name, DamageType monsterAttackType, RequirementType monsterWeakness) : base("fighting " + name, name, new RequireWrapper(monsterAttackType.getImmunityType()), new RequireWrapper(monsterWeakness))
 {
     atkDamage = monsterAttackType;
     weakTo    = monsterWeakness;
 }
 public ObstacleTrappedPassage(DamageType trapDamageType) : base("in a trapped passage", trapDamageType.getImmunityType().ToString(), new RequireWrapper(RequirementType.DANGER_SENSE, RequirementType.DETECTION))
 {
     damage = trapDamageType;
 }
Exemplo n.º 3
0
 public ObstacleMagicTrap(DamageType trapDamageType) : base("dealing with a magic trap", trapDamageType.getImmunityType().ToString(), new RequireWrapper(RequirementType.DANGER_SENSE, RequirementType.DETECTION))
 {
     damage = trapDamageType;
 }