public SpawnMonsterAction(AbstractMonster _monster, bool _isMinion, int _slot) { isUsed = false; GameActionType = ActionType.Special; monster = _monster; targetSlot = _slot; if (AbstractDungeon.Player.HasRelic("Philosopher'sStone")) { monster.AddPower(new StrengthPower(monster, 2)); } }
public ReviveMonsterAction(AbstractMonster _target, AbstractCreature _source, bool _isHealEffect) { isHealingEffect = false; SetValues(_target, _source, 0); GameActionType = ActionType.Special; if (AbstractDungeon.Player.HasRelic("Philosopher'sStone")) { _target.AddPower(new StrengthPower(_target, 2)); } isHealingEffect = _isHealEffect; }