mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-26 08:41:13 +02:00
ec5fa1dc22
* implemented vial of dragon blood * problems with teams discovered: maps with noncontinuous player occupancy (e.g. only red and teal) crash on loading. hideTiles has obvious bugs - loop goes through teams and team numbers, but fw.player is set to team number, as is the 4th argument to getTielsInRange.
194 lines
12 KiB
Plaintext
194 lines
12 KiB
Plaintext
//creatures' abilities description
|
|
//first line: use abilities from ZCRTRAIT.TXT [0 - no, 1 - yes]
|
|
//next lines: + [CREATURE_ID] [ABILITY] [value] [subtype] [additional info] [comment to the end of line] /*adding ability*/
|
|
// or: - [CREATURE_ID] [ABILITY] /*removing ability*/
|
|
// or: 0 /*end of ability descriptions*/
|
|
1
|
|
+ 0 CHARGE_IMMUNITY 0 0 0 //pikeman immunity to Champion charge bonus
|
|
+ 1 CHARGE_IMMUNITY 0 0 0 //halberdier immunity to Champion charge bonus
|
|
+ 4 ADDITIONAL_RETALIATION 1 0 0 //griffins retaliate twice
|
|
+ 5 UNLIMITED_RETALIATIONS 0 0 0 //royal griffins retaliate always
|
|
+ 12 HATE 0 54 0 //angels hate devils
|
|
+ 12 HATE 0 55 0 //angels hate archdevils
|
|
+ 13 HATE 0 54 0 //archangels hate devils
|
|
+ 13 HATE 0 55 0 //archangels hate arch
|
|
+ 13 SPELLCASTER 0 38 0 //archangels cast resurrection
|
|
+ 16 MAGIC_RESISTANCE 20 0 0 //dwarf's magic resistance 20%
|
|
+ 17 MAGIC_RESISTANCE 40 0 0 //battle dwarf's magic resistance 40%
|
|
+ 20 CHANGES_SPELL_COST_FOR_ENEMY 2 0 0 //pegasus makes spell cost higher for enemy mage
|
|
+ 21 CHANGES_SPELL_COST_FOR_ENEMY 2 0 0 //silver pegasus makes spell cost higher for enemy mage
|
|
+ 22 SPELL_AFTER_ATTACK 0 72 100 //dendroids cast bind
|
|
+ 23 SPELL_AFTER_ATTACK 0 72 100 //dendroid guards cast bind
|
|
+ 24 SPELL_AFTER_ATTACK 0 62 20 //unicorns cast blind with 20% probability
|
|
+ 24 SPELL_RESISTANCE_AURA 0 55 0 //unicorn
|
|
+ 25 SPELL_AFTER_ATTACK 0 62 20 //war unicorns cast blind with 20% probability
|
|
+ 25 SPELL_RESISTANCE_AURA 0 55 0 //war unicorn
|
|
+ 26 LEVEL_SPELL_IMMUNITY 3 0 0 //green dragon's spell immunity
|
|
+ 26 TWO_HEX_ATTACK_BREATH 0 0 0 //green dragon's breath
|
|
+ 26 DRAGON_NATURE 0 0 0 //green dragon is a dragon
|
|
+ 27 LEVEL_SPELL_IMMUNITY 4 0 0 //gold dragon's spell immunity
|
|
+ 27 TWO_HEX_ATTACK_BREATH 0 0 0 //gold dragon's breath
|
|
+ 27 DRAGON_NATURE 0 0 0 //gold dragon is a dragon
|
|
+ 30 NON_LIVING 0 0 0 //stone gargoyles are non-living
|
|
+ 31 NON_LIVING 0 0 0 //obsidian gargoyles are non-living
|
|
+ 32 NON_LIVING 0 0 0 //stone golems are non-living
|
|
+ 32 SPELL_DAMAGE_REDUCTION 50 -1 0 //stone golems reduce dmg from spells
|
|
+ 33 NON_LIVING 0 0 0 //iron golems are non-living
|
|
+ 33 SPELL_DAMAGE_REDUCTION 75 -1 0 //iron golems reduce dmg from spells
|
|
+ 34 CHANGES_SPELL_COST_FOR_ALLY -2 0 0 //mages reduce spell cost
|
|
+ 35 CHANGES_SPELL_COST_FOR_ALLY -2 0 0 //archmages reduce spell cost
|
|
+ 36 HATE 0 52 0 //genies hate efreets
|
|
+ 36 HATE 0 53 0 //genies hate efreet sultans
|
|
+ 37 HATE 0 52 0 //master genies hate efreets
|
|
+ 37 HATE 0 53 0 //master genies hate efreet sultans
|
|
+ 37 RANDOM_GENIE_SPELLCASTER 0 0 0 //master genies cast spells
|
|
+ 38 BLOCKS_RETALIATION 0 0 0 //nagas block retaliation
|
|
+ 39 BLOCKS_RETALIATION 0 0 0 //naga queens block retaliation
|
|
+ 40 SPELL_IMMUNITY 0 50 0 //giants are immune to mind spells (sorrow)
|
|
+ 40 SPELL_IMMUNITY 0 59 0 //giants are immune to mind spells (berserk)
|
|
+ 40 SPELL_IMMUNITY 0 60 0 //giants are immune to mind spells (hypnotize)
|
|
+ 40 SPELL_IMMUNITY 0 61 0 //giants are immune to mind spells (forgetfulness)
|
|
+ 40 SPELL_IMMUNITY 0 62 0 //giants are immune to mind spells (blind)
|
|
+ 41 HATE 0 83 0 //titans hate black dragons
|
|
+ 41 SPELL_IMMUNITY 0 50 0 //titans are immune to mind spells (sorrow)
|
|
+ 41 SPELL_IMMUNITY 0 59 0 //titans are immune to mind spells (berserk)
|
|
+ 41 SPELL_IMMUNITY 0 60 0 //titans are immune to mind spells (hypnotize)
|
|
+ 41 SPELL_IMMUNITY 0 61 0 //titans are immune to mind spells (forgetfulness)
|
|
+ 41 SPELL_IMMUNITY 0 62 0 //titans are immune to mind spells (blind)
|
|
+ 43 MANA_CHANNELING 20 0 0 //familiars
|
|
+ 45 SPELL_LIKE_ATTACK 21 0 0 //magogs fire with fireballs
|
|
+ 47 BLOCKS_RETALIATION 0 0 0 //cerberus
|
|
+ 47 THREE_HEADED_ATTACK 0 0 0 //cerberus
|
|
+ 47 THREE_HEADED_ATTACK 0 0 0 //creberus
|
|
+ 51 DAEMON_SUMMONING 0 52 0 //pit lord
|
|
+ 52 FIRE_IMMUNITY 0 0 0 //efreeti
|
|
+ 52 FLYING 0 0 0 //Efreeti
|
|
+ 52 HATE 0 36 0 //efreeti hate genies
|
|
+ 52 HATE 0 37 0 //efreeti hate master genies
|
|
+ 53 FIRE_IMMUNITY 0 0 0 //efreet sultan
|
|
+ 53 FIRE_SHIELD 0 36 0 //efreet sultans
|
|
+ 53 FLYING 0 0 0 //Efreet Sultan
|
|
+ 53 HATE 0 36 0 //efreet sultans hate genies
|
|
+ 53 HATE 0 37 0 //efreet sultans hate master genies
|
|
+ 54 BLOCKS_RETALIATION 0 0 0 //devils
|
|
+ 54 ENEMY_LUCK_DECREASING 1 0 0 //devils
|
|
+ 54 HATE 0 12 0 //devils hate angels
|
|
+ 54 HATE 0 13 0 //devils hate archangles
|
|
+ 55 BLOCKS_RETALIATION 0 0 0 //archdevils
|
|
+ 55 ENEMY_LUCK_DECREASING 1 0 0 //archdevils
|
|
+ 55 HATE 0 12 0 //archdevils hate angels
|
|
+ 55 HATE 0 13 0 //archdevils hate archangles
|
|
+ 60 FULL_HP_REGENERATION 0 1 0 //wight
|
|
+ 61 MANA_DRAIN 2 0 0 //wraith
|
|
+ 61 FULL_HP_REGENERATION 0 1 0 //wraith
|
|
+ 62 BLOCKS_RETALIATION 0 0 0 //vampires
|
|
+ 63 BLOCKS_RETALIATION 0 0 0 //vampire lords
|
|
+ 63 LIFE_DRAIN 0 0 0 //vampire lords
|
|
+ 64 SPELL_LIKE_ATTACK 76 0 0 //liches
|
|
+ 65 SPELL_LIKE_ATTACK 76 0 0 //power liches
|
|
+ 66 SPELL_AFTER_ATTACK 0 42 20 //black knights
|
|
+ 67 DOUBLE_DAMAGE_CHANCE 20 0 0 //vampire lords
|
|
+ 67 SPELL_AFTER_ATTACK 0 42 20 //dread knights
|
|
+ 68 ENEMY_MORALE_DECREASING -1 0 0 //bone dragon
|
|
+ 68 DRAGON_NATURE 0 0 0 //bone dragon is a dragon
|
|
+ 69 ENEMY_MORALE_DECREASING -1 0 0 //ghost dragon
|
|
+ 69 SPELL_AFTER_ATTACK 0 75 20 //ghost dragon
|
|
+ 69 DRAGON_NATURE 0 0 0 //ghost dragon is a dragon
|
|
+ 70 SPELL_IMMUNITY 0 62 0 //troglodytes are immune to blind
|
|
+ 71 SPELL_IMMUNITY 0 62 0 //infernal troglodytes are immune to blind
|
|
+ 72 RETURN_AFTER_STRIKE 0 0 0 //Harpies return after attack
|
|
+ 73 BLOCKS_RETALIATION 0 0 0 //Harpy Hags
|
|
+ 73 RETURN_AFTER_STRIKE 0 0 0 //Harpy Hags return after attack
|
|
+ 76 SPELL_AFTER_ATTACK 0 70 2020 //medusas
|
|
+ 77 SPELL_AFTER_ATTACK 0 70 2020 //medusa queens
|
|
+ 78 SELF_MORALE 0 0 0 //minotaurs
|
|
+ 79 SELF_MORALE 0 0 0 //minotaur kings
|
|
+ 81 SPELL_AFTER_ATTACK 0 74 20 //scorpicore
|
|
+ 82 LEVEL_SPELL_IMMUNITY 3 0 0 //red dragon's spell immunity
|
|
+ 82 DRAGON_NATURE 0 0 0 //red dragon is a dragon
|
|
+ 83 LEVEL_SPELL_IMMUNITY 5 0 0 //black dragon's spell immunity
|
|
+ 83 DRAGON_NATURE 0 0 0 //black dragon is a dragon
|
|
+ 87 ADDITIONAL_ATTACK 1 0 0 //wolf raider
|
|
+ 91 SPELLCASTER 2 43 6 //ogre magi cast bloodlust
|
|
+ 93 SPELL_AFTER_ATTACK 0 77 20 //thunderbirds
|
|
+ 96 ENEMY_DEFENCE_REDUCTION 40 0 0 //behemots
|
|
+ 97 ENEMY_DEFENCE_REDUCTION 80 0 0 //ancient behemots
|
|
+ 103 SPELL_AFTER_ATTACK 0 79 10 //mighty gorgons
|
|
+ 104 SPELL_AFTER_ATTACK 0 78 100 //serpent fly
|
|
+ 105 SPELL_AFTER_ATTACK 0 45 100 //mighty gorgons
|
|
+ 105 SPELL_AFTER_ATTACK 0 78 100 //dragon fly
|
|
+ 106 SPELL_AFTER_ATTACK 0 70 20 //basilisks
|
|
+ 107 SPELL_AFTER_ATTACK 0 70 20 //greater basilisks
|
|
+ 109 SPELL_AFTER_ATTACK 0 71 20 //Wyvern Monarch
|
|
+ 110 ATTACKS_ALL_ADJACENT 0 0 0 //hydras
|
|
+ 110 BLOCKS_RETALIATION 0 0 0 //hydras
|
|
+ 111 ATTACKS_ALL_ADJACENT 0 0 0 //chaos hydras
|
|
+ 111 BLOCKS_RETALIATION 0 0 0 //chaos hydras
|
|
+ 112 MORE_DAMAGE_FROM_SPELL 100 17 0 //air elementals are vulnerable to lightning bolt
|
|
+ 112 MORE_DAMAGE_FROM_SPELL 100 19 0 //air elementals are vulnerable to chain lightning
|
|
+ 112 NON_LIVING 0 0 0 //air elementals are non-living
|
|
+ 112 SPELL_IMMUNITY 0 23 0 //air elementals are immune to meteor shower
|
|
+ 112 SPELL_IMMUNITY 0 50 0 //air elementals are immune to mind spells (sorrow)
|
|
+ 112 SPELL_IMMUNITY 0 59 0 //air elementals are immune to mind spells (berserk)
|
|
+ 112 SPELL_IMMUNITY 0 60 0 //air elementals are immune to mind spells (hypnotize)
|
|
+ 112 SPELL_IMMUNITY 0 61 0 //air elementals are immune to mind spells (forgetfulness)
|
|
+ 113 MORE_DAMAGE_FROM_SPELL 100 23 0 //earth elementals are vulnerable to meteor shower
|
|
+ 113 NON_LIVING 0 0 0 //earth elementals are non-living
|
|
+ 113 SPELL_IMMUNITY 0 17 0 //earth elementals are immune to lightning bolt
|
|
+ 113 SPELL_IMMUNITY 0 19 0 //earth elementals are immune to chain lightning
|
|
+ 113 SPELL_IMMUNITY 0 50 0 //earth elementals are immune to mind spells (sorrow)
|
|
+ 113 SPELL_IMMUNITY 0 59 0 //earth elementals are immune to mind spells (berserk)
|
|
+ 113 SPELL_IMMUNITY 0 60 0 //earth elementals are immune to mind spells (hypnotize)
|
|
+ 113 SPELL_IMMUNITY 0 61 0 //earth elementals are immune to mind spells (forgetfulness)
|
|
+ 114 FIRE_IMMUNITY 0 0 0 //fire elementals are immune to fire spells
|
|
+ 114 MORE_DAMAGE_FROM_SPELL 100 16 0 //fire elementals are vulnerable to ice bolt
|
|
+ 114 MORE_DAMAGE_FROM_SPELL 100 20 0 //fire elementals are vulnerable to frost ring
|
|
+ 114 NON_LIVING 0 0 0 //fire elementals are non-living
|
|
+ 114 SPELL_IMMUNITY 0 50 0 //fire elementals are immune to mind spells (sorrow)
|
|
+ 114 SPELL_IMMUNITY 0 59 0 //fire elementals are immune to mind spells (berserk)
|
|
+ 114 SPELL_IMMUNITY 0 60 0 //fire elementals are immune to mind spells (hypnotize)
|
|
+ 114 SPELL_IMMUNITY 0 61 0 //fire elementals are immune to mind spells (forgetfulness)
|
|
+ 115 DOUBLE_WIDE 0 0 0 //water elemental should be treated as double-wide
|
|
+ 115 MORE_DAMAGE_FROM_SPELL 100 13 0 //water elementals are vulnerable to fire wall
|
|
+ 115 MORE_DAMAGE_FROM_SPELL 100 21 0 //water elementals are vulnerable to fireball
|
|
+ 115 MORE_DAMAGE_FROM_SPELL 100 22 0 //water elementals are vulnerable to inferno
|
|
+ 115 MORE_DAMAGE_FROM_SPELL 100 29 0 //water elementals are vulnerable to fire shield
|
|
+ 115 NON_LIVING 0 0 0 //water elementals are non-living
|
|
+ 115 SPELL_IMMUNITY 0 16 0 //water elementals are immune to ice bolt
|
|
+ 115 SPELL_IMMUNITY 0 20 0 //water elementals are immune to frost ring
|
|
+ 115 SPELL_IMMUNITY 0 50 0 //water elementals are immune to mind spells (sorrow)
|
|
+ 115 SPELL_IMMUNITY 0 59 0 //water elementals are immune to mind spells (berserk)
|
|
+ 115 SPELL_IMMUNITY 0 60 0 //water elementals are immune to mind spells (hypnotize)
|
|
+ 115 SPELL_IMMUNITY 0 61 0 //water elementals are immune to mind spells (forgetfulness)
|
|
+ 116 NON_LIVING 0 0 0 //gold golems are non-living
|
|
+ 116 SPELL_DAMAGE_REDUCTION 85 -1 0 //gold golems reduce dmg from spells
|
|
+ 117 NON_LIVING 0 0 0 //diamond golems are non-living
|
|
+ 117 SPELL_DAMAGE_REDUCTION 95 -1 0 //diamond golems reduce dmg from spells
|
|
+ 120 NON_LIVING 0 0 0 //psychic elementals shouldn't get morale
|
|
+ 121 LEVEL_SPELL_IMMUNITY 5 0 0 //magic elementals are immune to all spells
|
|
+ 121 NON_LIVING 0 0 0 //magic elementals shouldn't get morale
|
|
+ 123 DOUBLE_WIDE 0 0 0 //ice elemental should be treated as double-wide
|
|
+ 123 NON_LIVING 0 0 0 //ice elementals shouldn't get morale
|
|
+ 125 NON_LIVING 0 0 0 //magma elementals shouldn't get morale
|
|
+ 127 NON_LIVING 0 0 0 //storm elementals shouldn't get morale
|
|
+ 129 NON_LIVING 0 0 0 //energy elementals shouldn't get morale
|
|
+ 132 DRAGON_NATURE 0 0 0 //azure dragon is a dragon
|
|
- 133 FLYING //Crystal Dragons do not fly
|
|
+ 133 DRAGON_NATURE 0 0 0 //crystal dragon is a dragon
|
|
+ 134 DRAGON_NATURE 0 0 0 //faerie dragon is a dragon
|
|
+ 135 DRAGON_NATURE 0 0 0 //rust dragon is a dragon
|
|
+ 140 DOUBLE_WIDE 0 0 0 //boar should be treated as double-wide
|
|
+ 142 DOUBLE_WIDE 0 0 0 //nomads should be treated as double-wide
|
|
+ 144 FULL_HP_REGENERATION 0 0 0 //troll
|
|
+ 147 HEALER 0 0 0 //first aid tent can heal
|
|
+ 148 NOT_ACTIVE 0 0 0 //Ammo Cart
|
|
+ 149 SHOOTER 0 0 0 //arrow turret
|
|
+ 151 DRAGON_NATURE 0 0 0 //diamond dragon is a dragon
|
|
+ 154 DRAGON_NATURE 0 0 0 //blood dragon is a dragon
|
|
+ 155 DRAGON_NATURE 0 0 0 //darkness dragon is a dragon
|
|
- 46 FLYING //hell hound doesn't fly
|
|
- 47 FLYING //cerberus doesn't fly
|
|
- 120 DOUBLE_WIDE //psychic elemental
|
|
- 121 DOUBLE_WIDE //magic elemental
|
|
0
|