mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fixed abilities of Efreet.
This commit is contained in:
parent
c9e95f76df
commit
5436950119
@ -266,7 +266,8 @@
|
||||
},
|
||||
"immuneToFire" :
|
||||
{
|
||||
"type" : "FIRE_IMMUNITY"
|
||||
"type" : "FIRE_IMMUNITY",
|
||||
"subtype" : 0
|
||||
}
|
||||
},
|
||||
"upgrades": ["efreetSultan"],
|
||||
@ -308,12 +309,13 @@
|
||||
},
|
||||
"immuneToFire" :
|
||||
{
|
||||
"type" : "FIRE_IMMUNITY"
|
||||
"type" : "FIRE_IMMUNITY",
|
||||
"subtype" : 0
|
||||
},
|
||||
"fireShield" :
|
||||
{
|
||||
"type" : "FIRE_SHIELD",
|
||||
"subtype" : 36 //FIXME: what is this magic number for?
|
||||
"val" : 30
|
||||
}
|
||||
},
|
||||
"graphics" :
|
||||
@ -398,7 +400,7 @@
|
||||
"hateArchAngels" :
|
||||
{
|
||||
"type" : "HATE",
|
||||
"subtype" : "creature.archangel",
|
||||
"subtype" : "creature.angel",
|
||||
"val" : 50
|
||||
},
|
||||
"FLYING_ARMY" :
|
||||
|
@ -804,7 +804,7 @@ void CGameHandler::applyBattleEffects(BattleAttack &bat, const CStack *att, cons
|
||||
bsa.flags |= BattleStackAttacked::EFFECT;
|
||||
bsa.effect = 11;
|
||||
|
||||
bsa.damageAmount = (bsa.damageAmount * def->valOfBonuses(Bonus::FIRE_SHIELD)) / 100;
|
||||
bsa.damageAmount = (bsa.damageAmount * def->valOfBonuses(Bonus::FIRE_SHIELD)) / 100; //TODO: scale with attack/defense
|
||||
att->prepareAttacked(bsa);
|
||||
bat.bsa.push_back(bsa);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user