mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Moved phoenix immunity to .json. This fixes #978
This commit is contained in:
parent
5252e2aefe
commit
ae7f3560a3
@ -298,6 +298,7 @@
|
||||
"level": 7,
|
||||
"faction": "conflux",
|
||||
"upgrades": ["phoenix"],
|
||||
"abilities": [ ["FIRE_IMMUNITY", 0, 0, 0] ],
|
||||
"graphics" :
|
||||
{
|
||||
"animation": "CFBIRD.DEF"
|
||||
@ -317,7 +318,8 @@
|
||||
"level": 7,
|
||||
"faction": "conflux",
|
||||
"abilities": [ [ "CASTS", 1, 0, 0 ], //Phoenix rebirths once
|
||||
[ "REBIRTH", 20, 0, 0 ] ], //20% of stack is resurrected
|
||||
["FIRE_IMMUNITY", 0, 0, 0],
|
||||
[ "REBIRTH", 20, 0, 0 ] ], //20% of stack is resurrected
|
||||
"graphics" :
|
||||
{
|
||||
"animation": "CPHX.DEF"
|
||||
|
@ -226,7 +226,6 @@ void CCreatureHandler::loadBonuses(CCreature & ncre, std::string bonuses)
|
||||
("CATAPULT",Bonus::CATAPULT)
|
||||
("MULTI_HEADED",Bonus::ATTACKS_ALL_ADJACENT)
|
||||
("IMMUNE_TO_MIND_SPELLS",Bonus::MIND_IMMUNITY)
|
||||
("IMMUNE_TO_FIRE_SPELLS",Bonus::FIRE_IMMUNITY)
|
||||
("HAS_EXTENDED_ATTACK",Bonus::TWO_HEX_ATTACK_BREATH);
|
||||
|
||||
auto hasAbility = [&](const std::string name) -> bool
|
||||
|
Loading…
Reference in New Issue
Block a user