fix type
Ajani Steadfast forcefield for play and planeswalker only..
This commit is contained in:
@@ -72,7 +72,7 @@ int Damage::resolve()
|
|||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
//Ajani Steadfast ---
|
//Ajani Steadfast ---
|
||||||
if(target->type_as_damageable == Damageable::DAMAGEABLE_MTGCARDINSTANCE && ((MTGCardInstance*)target)->controller()->forcefield)
|
if(target->type_as_damageable == Damageable::DAMAGEABLE_MTGCARDINSTANCE && ((MTGCardInstance*)target)->hasType("planeswalker") && ((MTGCardInstance*)target)->controller()->forcefield)
|
||||||
damage = 1;
|
damage = 1;
|
||||||
if (target->type_as_damageable == Damageable::DAMAGEABLE_MTGCARDINSTANCE)
|
if (target->type_as_damageable == Damageable::DAMAGEABLE_MTGCARDINSTANCE)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user