ajani steadfast

ajani steadfast emblem
This commit is contained in:
Anthony Calosa
2016-05-29 14:31:29 +08:00
parent d7fd36ddeb
commit d4715ddc81
7 changed files with 125 additions and 92 deletions
+6 -3
View File
@@ -1386,15 +1386,18 @@ AAFakeAbility * AAFakeAbility::clone() const
}
//EPIC
AAEPIC::AAEPIC(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * _target, string _named,ManaCost * cost):
ActivatedAbility(observer, id, source, cost, 0),named(_named)
AAEPIC::AAEPIC(GameObserver* observer, int id, MTGCardInstance * source, MTGCardInstance * _target, string _named,ManaCost * cost, bool _ffield):
ActivatedAbility(observer, id, source, cost, 0),named(_named),FField(_ffield)
{
this->target = _target;
}
int AAEPIC::resolve()
{
MTGCardInstance * _target = (MTGCardInstance *)target;
_target->controller()->epic = 1;
if(FField)
_target->controller()->forcefield = 1;
else
_target->controller()->epic = 1;
return 1;
}