mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 17:17:02 +00:00
DiD: add new abilities and fix cannibalize
This commit is contained in:
parent
9e20a9ba0e
commit
c66e888917
@ -99,6 +99,32 @@
|
||||
image="units/apprentice-necromancer.png:50"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=corpse launch
|
||||
[/filter_attack]
|
||||
|
||||
{MISSILE_FRAME_SHADOW_WAVE}
|
||||
|
||||
start_time=-675
|
||||
[frame]
|
||||
image="units/apprentice-necromancer-magic-[1~2].png:75"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/apprentice-necromancer-magic-3.png"
|
||||
halo=halo/undead/black-magic-[1~5].png:[75*4,50]
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/apprentice-necromancer-magic-3.png:200"
|
||||
[/frame]
|
||||
{SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -120}
|
||||
[frame]
|
||||
image="units/apprentice-necromancer-magic-[2~1].png:50"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/apprentice-necromancer.png:50"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=short sword
|
||||
|
@ -100,6 +100,32 @@
|
||||
image="units/dark-mage.png:50"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=corpse launch
|
||||
[/filter_attack]
|
||||
|
||||
{MISSILE_FRAME_SHADOW_WAVE}
|
||||
|
||||
start_time=-675
|
||||
[frame]
|
||||
image="units/dark-mage-magic-[1~2].png:75"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/dark-mage-magic-3.png"
|
||||
halo=halo/undead/black-magic-[1~5].png:[75*4,50]
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/dark-mage-magic-3.png:250"
|
||||
[/frame]
|
||||
{SOUND:HIT_AND_MISS magic-dark.ogg magic-dark-miss.ogg -50}
|
||||
[frame]
|
||||
image="units/dark-mage-magic-[2~1].png:50"
|
||||
[/frame]
|
||||
[frame]
|
||||
image="units/dark-mage.png:50"
|
||||
[/frame]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=short sword
|
||||
|
@ -135,7 +135,7 @@
|
||||
#enddef
|
||||
|
||||
#define MALIN_MELEE_MAGICAL VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 0 19 22 25 (
|
||||
{MALIN_ADVANCEMENT 0 16 19 22 (
|
||||
id=malin_melee_magical
|
||||
description= _ "Malin’s sword gains the magical special"
|
||||
exclude_amla=malin_melee_magical
|
||||
@ -196,7 +196,7 @@
|
||||
############## LEVEL 2 ADVANCEMENTS ##############
|
||||
|
||||
#define MALIN_MELEE_PLAGUE VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 4 35 40 45 (
|
||||
{MALIN_ADVANCEMENT 4 32 35 38 (
|
||||
id=malin_melee_plague
|
||||
description= _ "Malin’s sword gains the plague special"
|
||||
exclude_amla=malin_melee_plague
|
||||
@ -231,23 +231,64 @@
|
||||
) {VARIANT_NAME}}
|
||||
#enddef
|
||||
|
||||
#define MALIN_MELEE_CANALIZE VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 2 40 45 50 (
|
||||
id=malin_melee_canalize
|
||||
#define MALIN_MELEE_VITALIZE VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 2 39 43 47 (
|
||||
id=malin_melee_vitalize
|
||||
description= _ "Malin’s melee attack heals him every hit"
|
||||
exclude_amla=malin_melee_canalize
|
||||
exclude_amla=malin_melee_vitalize
|
||||
image=attacks/baneblade.png
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
[set_specials]
|
||||
{WEAPON_SPECIAL_CANALIZE}
|
||||
{WEAPON_SPECIAL_VITALIZE1}
|
||||
mode=append
|
||||
[/set_specials]
|
||||
[/effect]
|
||||
) {VARIANT_NAME}}
|
||||
#enddef
|
||||
|
||||
#define MALIN_RANGED_IMPETUITY VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 2 36 40 44 (
|
||||
id=malin_ranged_impetuity
|
||||
description= _ "Chill tempest gains the impetuity special"
|
||||
exclude_amla=malin_ranged_impetuity
|
||||
image=attacks/lightning.png
|
||||
[effect]
|
||||
apply_to=attack
|
||||
name=chill wave
|
||||
[set_specials]
|
||||
{WEAPON_SPECIAL_IMPETUITY}
|
||||
mode=append
|
||||
[/set_specials]
|
||||
[/effect]
|
||||
) {VARIANT_NAME}}
|
||||
#enddef
|
||||
|
||||
#define MALIN_CORPSE_LAUNCHER VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 0 36 40 44 (
|
||||
id=malin_corpse_launcher
|
||||
description= _ "Malin gains a special corpse launching attack"
|
||||
require_amla=malin_melee_plague
|
||||
exclude_amla=malin_corpse_launcher
|
||||
image=attacks/dragonstaff.png
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=corpse launch
|
||||
description= _"corpse launch"
|
||||
type=impact
|
||||
range=ranged
|
||||
damage=0
|
||||
number=1
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_CORPSE_LAUNCHER}
|
||||
{WEAPON_SPECIAL_MAGICAL}
|
||||
[/specials]
|
||||
icon=attacks/dragonstaff.png
|
||||
[/effect]
|
||||
) {VARIANT_NAME}}
|
||||
#enddef
|
||||
|
||||
#define MALIN_MELEE_ADVANCE
|
||||
{MALIN_ADVANCE 3 28 32 36 (
|
||||
id=malin_melee_advance
|
||||
@ -270,7 +311,7 @@
|
||||
#enddef
|
||||
|
||||
#define MALIN_RANGED_ADVANCE
|
||||
{MALIN_ADVANCE -2 38 42 46 (
|
||||
{MALIN_ADVANCE -2 30 33 36 (
|
||||
id=malin_ranged_advance
|
||||
description= _ "+2 ranged damage, but -10% arcane resistance"
|
||||
image=attacks/iceball.png
|
||||
@ -297,7 +338,7 @@
|
||||
#enddef
|
||||
|
||||
#define MALIN_RESIST_ADVANCE
|
||||
{MALIN_ADVANCE 7 51 55 59 (
|
||||
{MALIN_ADVANCE 5 40 44 48 (
|
||||
id=malin_resist_advance
|
||||
description= _ "Malin gains +10% resistance to blade and pierce, but loses -10% resistance to arcane"
|
||||
image=icons/rusty_targ.png
|
||||
@ -323,7 +364,7 @@
|
||||
############## LEVEL 3 ADVANCEMENTS ##############
|
||||
|
||||
#define MALIN_RESIST VARIANT_NAME
|
||||
{MALIN_ADVANCE 5 51 55 59 (
|
||||
{MALIN_ADVANCE 3 40 44 48 (
|
||||
id=malin_resist
|
||||
description= _ "Malin gains +10% resistance to blade and pierce, but loses -10% resistance to arcane"
|
||||
image=icons/rusty_targ.png
|
||||
@ -338,33 +379,49 @@
|
||||
) {VARIANT_NAME}}
|
||||
#enddef
|
||||
|
||||
#define MALIN_MELEE_CANALIZE2 VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 2 54 60 66 (
|
||||
id=malin_melee_canalize2
|
||||
description= _ "Improves the canalize special"
|
||||
exclude_amla=malin_melee_canalize2
|
||||
require_amla=malin_melee_canalize
|
||||
#define MALIN_MELEE_VITALIZE2 VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 2 46 50 54 (
|
||||
id=malin_melee_vitalize2
|
||||
description= _ "Improves the vitalize special"
|
||||
exclude_amla=malin_melee_vitalize2
|
||||
require_amla=malin_melee_vitalize
|
||||
image=attacks/baneblade.png
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
remove_specials=did_canalize
|
||||
remove_specials=did_vitalize1
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
[set_specials]
|
||||
{WEAPON_SPECIAL_CANALIZE2}
|
||||
{WEAPON_SPECIAL_VITALIZE2}
|
||||
mode=append
|
||||
[/set_specials]
|
||||
[/effect]
|
||||
) {VARIANT_NAME}}
|
||||
#enddef
|
||||
|
||||
#define MALIN_CORPSE_MASTER VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT 4 38 42 46 (
|
||||
id=malin_corpse_master
|
||||
description= _ "Gains the corpse master ability"
|
||||
image=attacks/touch-zombie.png
|
||||
require_amla=malin_melee_plague
|
||||
exclude_amla=malin_corpse_master
|
||||
[effect]
|
||||
apply_to=new_ability
|
||||
[abilities]
|
||||
{ABILITY_CORPSE_MASTER}
|
||||
[/abilities]
|
||||
[/effect]
|
||||
) {VARIANT_NAME}}
|
||||
#enddef
|
||||
|
||||
#define MALIN_RANGED_STRIKES VARIANT_NAME
|
||||
{MALIN_ADVANCEMENT -8 0 0 0 (
|
||||
{MALIN_ADVANCEMENT -12 0 0 0 (
|
||||
id=malin_ranged_strikes
|
||||
description= _ "+1 ranged strikes, but -20% arcane resistance and -8 hp"
|
||||
description= _ "+1 ranged strikes, but -20% arcane resistance and -12 hp"
|
||||
image=attacks/wail.png
|
||||
[effect]
|
||||
apply_to=attack
|
||||
@ -523,10 +580,12 @@
|
||||
number=2
|
||||
icon=attacks/dark-missile.png
|
||||
[/attack]
|
||||
|
||||
{DID_CORPSE_LAUNCH}
|
||||
#enddef
|
||||
|
||||
#define DARK_MAGE_BASE
|
||||
hitpoints=49
|
||||
hitpoints=45
|
||||
advances_to=null
|
||||
[attack]
|
||||
name=short sword
|
||||
@ -563,7 +622,9 @@
|
||||
number=2
|
||||
icon=attacks/dark-missile.png
|
||||
[/attack]
|
||||
|
||||
{DID_CONSUMPTION}
|
||||
{DID_CORPSE_LAUNCH}
|
||||
#enddef
|
||||
|
||||
[unit_type]
|
||||
@ -606,7 +667,7 @@
|
||||
id=Apprentice Necromancer
|
||||
[/base_unit]
|
||||
experience=0
|
||||
{AUTO_ADVANCE 2 35 39 43 AN1}
|
||||
{AUTO_ADVANCE 2 26 29 32 AN1}
|
||||
|
||||
[variation]
|
||||
{APPRENTICE_NECROMANCER_BASE}
|
||||
@ -614,21 +675,21 @@
|
||||
variation_id=AN1
|
||||
inherit=yes
|
||||
{AM_MELEE AN2}
|
||||
{AM_RANGED AN2}
|
||||
{MALIN_RANGED AN2}
|
||||
{MALIN_RANGED_IMPETUITY AN2}
|
||||
{MALIN_MELEE_MAGICAL AN2}
|
||||
{MALIN_MELEE_PLAGUE AN2}
|
||||
{MALIN_MELEE_CANALIZE AN2}
|
||||
[/variation]
|
||||
[variation]
|
||||
{APPRENTICE_NECROMANCER_BASE}
|
||||
hide_help=yes
|
||||
variation_id=AN2
|
||||
inherit=yes
|
||||
{AM_MELEE AN3}
|
||||
{MALIN_RANGED AN3}
|
||||
{MALIN_RANGED_IMPETUITY AN3}
|
||||
{MALIN_CORPSE_LAUNCHER AN3}
|
||||
{MALIN_MELEE_MAGICAL AN3}
|
||||
{MALIN_MELEE_PLAGUE AN3}
|
||||
{MALIN_MELEE_CANALIZE AN3}
|
||||
{MALIN_MELEE_VITALIZE AN3}
|
||||
[/variation]
|
||||
[variation]
|
||||
{APPRENTICE_NECROMANCER_BASE}
|
||||
@ -648,7 +709,7 @@
|
||||
id=Dark Mage
|
||||
[/base_unit]
|
||||
experience=0
|
||||
{AUTO_ADVANCE 3 64 69 74 DM1}
|
||||
{AUTO_ADVANCE 3 41 45 49 DM1}
|
||||
|
||||
[variation]
|
||||
{DARK_MAGE_BASE}
|
||||
@ -657,8 +718,11 @@
|
||||
inherit=yes
|
||||
{MALIN_RANGED DM2}
|
||||
{MALIN_RESIST DM2}
|
||||
{MALIN_MELEE_CANALIZE DM2}
|
||||
{MALIN_MELEE_CANALIZE2 DM2}
|
||||
{MALIN_RANGED_IMPETUITY DM2}
|
||||
{MALIN_CORPSE_LAUNCHER DM2}
|
||||
{MALIN_CORPSE_MASTER DM2}
|
||||
{MALIN_MELEE_VITALIZE DM2}
|
||||
{MALIN_MELEE_VITALIZE2 DM2}
|
||||
[/variation]
|
||||
[variation]
|
||||
{DARK_MAGE_BASE}
|
||||
@ -687,14 +751,17 @@
|
||||
#undef AM_MELEE_ADVANCE
|
||||
#undef AM_RANGED_ADVANCE
|
||||
#undef MALIN_RANGED
|
||||
#undef MALIN_MELEE_CANALIZE
|
||||
#undef MALIN_MELEE_VITALIZE
|
||||
#undef MALIN_MELEE_PLAGUE
|
||||
#undef MALIN_RANGED_FERVOR
|
||||
#undef MALIN_RANGED_IMPETUITY
|
||||
#undef MALIN_MELEE_ADVANCE
|
||||
#undef MALIN_RANGED_ADVANCE
|
||||
#undef MALIN_RESIST_ADVANCE
|
||||
#undef MALIN_RESIST
|
||||
#undef MALIN_MELEE_CANALIZE2
|
||||
#undef MALIN_MELEE_VITALIZE2
|
||||
#undef MALIN_CORPSE_MASTER
|
||||
#undef MALIN_CORPSE_LAUNCHER
|
||||
#undef MALIN_RANGED_STRIKES
|
||||
#undef MALIN_CONSUMPTION
|
||||
#undef APPRENTICE_MAGE_BASE
|
||||
|
@ -169,9 +169,6 @@
|
||||
[/filter_location]
|
||||
[/have_unit]
|
||||
[then]
|
||||
[sound]
|
||||
name="wail-sml.wav"
|
||||
[/sound]
|
||||
[object]
|
||||
take_only_once=no
|
||||
silent=yes
|
||||
@ -458,20 +455,20 @@
|
||||
|
||||
############## MALIN KESHAR ABILITIES ##############
|
||||
|
||||
#define WEAPON_SPECIAL_CANALIZE
|
||||
#define WEAPON_SPECIAL_VITALIZE1
|
||||
[heal_on_hit]
|
||||
id=did_canalize
|
||||
id=did_vitalize1
|
||||
value=2
|
||||
name= _ "canalize"
|
||||
name= _ "vitalize"
|
||||
description= _ "This unit heals 2 HP every time this attack hits."
|
||||
[/heal_on_hit]
|
||||
#enddef
|
||||
|
||||
#define WEAPON_SPECIAL_CANALIZE2
|
||||
#define WEAPON_SPECIAL_VITALIZE2
|
||||
[heal_on_hit]
|
||||
id=did_canalize2
|
||||
id=did_vitalize2
|
||||
value=4
|
||||
name= _ "canalize"
|
||||
name= _ "vitalize"
|
||||
description= _ "This unit heals 4 HP every time this attack hits."
|
||||
[/heal_on_hit]
|
||||
#enddef
|
||||
@ -493,6 +490,147 @@
|
||||
[/heal_on_hit]
|
||||
#enddef
|
||||
|
||||
#define WEAPON_SPECIAL_IMPETUITY
|
||||
[attacks]
|
||||
id=did_impetuity
|
||||
name= _ "impetuity"
|
||||
name_inactive= _ "impetuity"
|
||||
description= _ "This attack loses one strike on offense, but gains 250% damage."
|
||||
description_inactive= _ "This attack loses one strike on offense, but gains 250% damage."
|
||||
sub=1
|
||||
active_on=offense
|
||||
[/attacks]
|
||||
[damage]
|
||||
id=did_impetuity_damage
|
||||
multiply=3
|
||||
active_on=offense
|
||||
[/damage]
|
||||
#enddef
|
||||
|
||||
#define WEAPON_SPECIAL_CORPSE_LAUNCHER
|
||||
[attacks]
|
||||
id=did_corpse_launcher
|
||||
name= _ "corpse launcher"
|
||||
description= _ "On offense, enemies cannot retaliate against this attack. This attack consumes 3 HP from each nearby allied corpse to deal 11 impact damage (per corpse) to the target on top of this attack’s base damage."
|
||||
value=0
|
||||
cumulative=no
|
||||
apply_to=opponent
|
||||
active_on=offense
|
||||
[/attacks]
|
||||
[damage]
|
||||
id=did_corpse_damage
|
||||
add=11
|
||||
active_on=offense
|
||||
[filter_self]
|
||||
[filter_adjacent]
|
||||
count=1
|
||||
type=Walking Corpse,Soulless
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter_self]
|
||||
[/damage]
|
||||
[damage]
|
||||
id=did_corpse_damage
|
||||
add=22
|
||||
active_on=offense
|
||||
[filter_self]
|
||||
[filter_adjacent]
|
||||
count=2
|
||||
type=Walking Corpse,Soulless
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter_self]
|
||||
[/damage]
|
||||
[damage]
|
||||
id=did_corpse_damage
|
||||
add=33
|
||||
active_on=offense
|
||||
[filter_self]
|
||||
[filter_adjacent]
|
||||
count=3
|
||||
type=Walking Corpse,Soulless
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter_self]
|
||||
[/damage]
|
||||
[damage]
|
||||
id=did_corpse_damage
|
||||
add=44
|
||||
active_on=offense
|
||||
[filter_self]
|
||||
[filter_adjacent]
|
||||
count=4
|
||||
type=Walking Corpse,Soulless
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter_self]
|
||||
[/damage]
|
||||
[damage]
|
||||
id=did_corpse_damage
|
||||
add=55
|
||||
active_on=offense
|
||||
[filter_self]
|
||||
[filter_adjacent]
|
||||
count=5
|
||||
type=Walking Corpse,Soulless
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter_self]
|
||||
[/damage]
|
||||
[damage]
|
||||
id=did_corpse_damage
|
||||
add=66
|
||||
active_on=offense
|
||||
[filter_self]
|
||||
[filter_adjacent]
|
||||
count=6
|
||||
type=Walking Corpse,Soulless
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter_self]
|
||||
[/damage]
|
||||
#enddef
|
||||
|
||||
#define DID_CORPSE_LAUNCH
|
||||
[event]
|
||||
id=did_corpse_launch_handler
|
||||
name=attacker_hits
|
||||
first_time_only=no
|
||||
[filter_attack]
|
||||
special_id=did_corpse_launcher
|
||||
[/filter_attack]
|
||||
[store_unit]
|
||||
[filter]
|
||||
type=Walking Corpse,Soulless
|
||||
[filter_adjacent]
|
||||
x,y=$x1,$y1
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[not]
|
||||
x,y=$x1,$y1
|
||||
[/not]
|
||||
[/filter]
|
||||
variable=zombie
|
||||
[/store_unit]
|
||||
[foreach]
|
||||
array=zombie
|
||||
[do]
|
||||
[harm_unit]
|
||||
[filter]
|
||||
x,y=$zombie[$i].x,$zombie[$i].y
|
||||
[/filter]
|
||||
fire_event=yes
|
||||
animate=no
|
||||
kill=no
|
||||
amount=3
|
||||
delay=25
|
||||
[/harm_unit]
|
||||
[/do]
|
||||
[/foreach]
|
||||
{CLEAR_VARIABLE zombie}
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
#define ABILITY_CONSUMPTION
|
||||
[leadership]
|
||||
id=did_consumption
|
||||
@ -555,22 +693,21 @@
|
||||
#enddef
|
||||
|
||||
#define ABILITY_CORPSE_MASTER
|
||||
[leadership]
|
||||
[heals]
|
||||
id=did_corpse_master
|
||||
value=30
|
||||
cumulative=no
|
||||
affect_self=no
|
||||
value=6
|
||||
affect_allies=yes
|
||||
affect_self=no
|
||||
affect_enemies=no
|
||||
name= _ "corpse master"
|
||||
description= _ "Adjacent allied corpses gain 30% damage and 20% resistance to blade, impact, and pierce."
|
||||
description= _ "Adjacent allied corpses heal 6 HP per turn and gain 20% resistance to blade, impact, and pierce."
|
||||
[affect_adjacent]
|
||||
adjacent=n,ne,se,s,sw,nw
|
||||
[filter]
|
||||
type=Walking Corpse,Soulless
|
||||
[/filter]
|
||||
[/affect_adjacent]
|
||||
[/leadership]
|
||||
[/heals]
|
||||
[resistance]
|
||||
id=did_corpse_master_resist
|
||||
add=20
|
||||
@ -589,38 +726,208 @@
|
||||
[/resistance]
|
||||
#enddef
|
||||
|
||||
#define ABILITY_ZOMBIE_FRENZY
|
||||
[leadership]
|
||||
id=did_zombie_frenzy
|
||||
value=30
|
||||
cumulative=no
|
||||
affect_self=no
|
||||
affect_allies=yes
|
||||
affect_enemies=no
|
||||
name= _ "zombie frenzy"
|
||||
description= _ "Adjacent allied corpses gain 30% damage and are berserk."
|
||||
[affect_adjacent]
|
||||
adjacent=n,ne,se,s,sw,nw
|
||||
[filter]
|
||||
type=Walking Corpse,Soulless
|
||||
[/filter]
|
||||
[/affect_adjacent]
|
||||
[/leadership]
|
||||
[berserk]
|
||||
id=did_zombie_frenzy_berserk
|
||||
value=30
|
||||
affect_self=no
|
||||
affect_allies=yes
|
||||
affect_enemies=no
|
||||
[affect_adjacent]
|
||||
adjacent=n,ne,se,s,sw,nw
|
||||
[filter]
|
||||
type=Walking Corpse,Soulless
|
||||
[/filter]
|
||||
[/affect_adjacent]
|
||||
[/berserk]
|
||||
#enddef
|
||||
|
||||
############## DROGAN GHOUL ABILITIES ##############
|
||||
|
||||
#define ABILITY_CANNIBALIZE1
|
||||
[regenerate]
|
||||
id=did_cannibalize1
|
||||
value=5
|
||||
value=2
|
||||
affect_self=yes
|
||||
name= _ "cannibalize"
|
||||
description= _ "This unit regenerates 5 HP per turn if it is near another ghoul-type unit."
|
||||
description= _ "On each turn, this unit regenerates 2 HP per adjacent allied ghoul-type unit, but consumes 1 HP from each ally in the process."
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=1
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize1
|
||||
value=4
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=2
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize1
|
||||
value=6
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=3
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize1
|
||||
value=8
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=4
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize1
|
||||
value=10
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=5
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize1
|
||||
value=12
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=6
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[heals]
|
||||
value=-1
|
||||
id=did_cannibalize_antiheal
|
||||
affect_allies=yes
|
||||
affect_self=no
|
||||
[affect_adjacent]
|
||||
[/affect_adjacent]
|
||||
[/heals]
|
||||
#enddef
|
||||
|
||||
#define ABILITY_CANNIBALIZE2
|
||||
[regenerate]
|
||||
id=did_cannibalize2
|
||||
value=10
|
||||
value=4
|
||||
affect_self=yes
|
||||
name= _ "cannibalize"
|
||||
description= _ "This unit regenerates 10 HP per turn if it is near another ghoul-type unit."
|
||||
description= _ "On each turn, this unit regenerates 4 HP per adjacent allied ghoul-type unit, but consumes 2 HP from each ally in the process."
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=1
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize2
|
||||
value=8
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=2
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize2
|
||||
value=12
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=3
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize2
|
||||
value=16
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=4
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize2
|
||||
value=20
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=5
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[regenerate]
|
||||
id=did_cannibalize2
|
||||
value=24
|
||||
affect_self=yes
|
||||
[filter]
|
||||
[filter_adjacent]
|
||||
count=6
|
||||
type=Ghoul,Necrophage,Ghast
|
||||
is_enemy=no
|
||||
[/filter_adjacent]
|
||||
[/filter]
|
||||
[/regenerate]
|
||||
[heals]
|
||||
value=-2
|
||||
id=did_cannibalize_antiheal
|
||||
affect_allies=yes
|
||||
affect_self=no
|
||||
[affect_adjacent]
|
||||
[/affect_adjacent]
|
||||
[/heals]
|
||||
#enddef
|
||||
|
||||
#define ABILITY_DEATH_CLOUD
|
||||
|
@ -648,8 +648,10 @@
|
||||
#define AMLA_MALIN_KESHAR
|
||||
{AMLA_OPTION_MELEE_SWORD}
|
||||
{AMLA_OPTION_MALIN_RANGED}
|
||||
{AMLA_OPTION_CANALIZE}
|
||||
{AMLA_OPTION_VITALIZE}
|
||||
{AMLA_OPTION_CORPSE_LAUNCHER}
|
||||
{AMLA_OPTION_CORPSE_MASTER}
|
||||
{AMLA_OPTION_ZOMBIE_FRENZY}
|
||||
{AMLA_DEFAULT}
|
||||
#enddef
|
||||
|
||||
@ -696,7 +698,6 @@
|
||||
description=_"+1 ranged damage"
|
||||
image=attacks/iceball.png
|
||||
id=malin_keshar_amla_ranged
|
||||
exclude_amla=malin_ranged_advance
|
||||
strict_amla=yes
|
||||
[effect]
|
||||
apply_to=attack
|
||||
@ -728,31 +729,31 @@
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
||||
#define AMLA_OPTION_CANALIZE
|
||||
#define AMLA_OPTION_VITALIZE
|
||||
[advancement]
|
||||
max_times=1
|
||||
id=malin_melee_canalize_amla
|
||||
description= _ "Improves the canalize special"
|
||||
id=malin_melee_vitalize_amla
|
||||
description= _ "Improves the vitalize special"
|
||||
strict_amla=yes
|
||||
exclude_amla=malin_melee_canalize2
|
||||
require_amla=malin_melee_canalize,malin_keshar_amla_melee
|
||||
exclude_amla=malin_melee_vitalize2
|
||||
require_amla=malin_melee_vitalize,malin_keshar_amla_melee
|
||||
image=attacks/baneblade.png
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
remove_specials=did_canalize
|
||||
remove_specials=did_vitalize1
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=attack
|
||||
range=melee
|
||||
[set_specials]
|
||||
{WEAPON_SPECIAL_CANALIZE2}
|
||||
{WEAPON_SPECIAL_VITALIZE2}
|
||||
mode=append
|
||||
[/set_specials]
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=25%
|
||||
increase=50
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
@ -761,6 +762,40 @@
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
||||
#define AMLA_OPTION_CORPSE_LAUNCHER
|
||||
[advancement]
|
||||
max_times=1
|
||||
description=_"Gains the corpse launch attack"
|
||||
image="attacks/dragonstaff.png"
|
||||
id=malin_corpse_launch_amla
|
||||
strict_amla=yes
|
||||
require_amla=malin_melee_plague
|
||||
exclude_amla=malin_corpse_launcher
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=corpse launch
|
||||
description= _"corpse launch"
|
||||
type=impact
|
||||
range=ranged
|
||||
damage=0
|
||||
number=1
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_CORPSE_LAUNCHER}
|
||||
{WEAPON_SPECIAL_MAGICAL}
|
||||
[/specials]
|
||||
icon=attacks/dragonstaff.png
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=40
|
||||
[/effect]
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
||||
#define AMLA_OPTION_CORPSE_MASTER
|
||||
[advancement]
|
||||
max_times=1
|
||||
@ -769,6 +804,7 @@
|
||||
id=malin_corpse_master_amla
|
||||
strict_amla=yes
|
||||
require_amla=malin_melee_plague
|
||||
exclude_amla=malin_corpse_master
|
||||
[effect]
|
||||
apply_to=new_ability
|
||||
[abilities]
|
||||
@ -781,7 +817,32 @@
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=30%
|
||||
increase=40
|
||||
[/effect]
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
||||
#define AMLA_OPTION_ZOMBIE_FRENZY
|
||||
[advancement]
|
||||
max_times=1
|
||||
description=_"Gains the zombie frenzy ability"
|
||||
image="attacks/frenzy.png"
|
||||
id=malin_zombie_frenzy_amla
|
||||
strict_amla=yes
|
||||
require_amla=malin_melee_plague,malin_keshar_amla_melee
|
||||
[effect]
|
||||
apply_to=new_ability
|
||||
[abilities]
|
||||
{ABILITY_ZOMBIE_FRENZY}
|
||||
[/abilities]
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=hitpoints
|
||||
heal_full=yes
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=max_experience
|
||||
increase=60
|
||||
[/effect]
|
||||
[/advancement]
|
||||
#enddef
|
||||
|
Loading…
x
Reference in New Issue
Block a user