Skip to content

Commit

Permalink
DiD: add new abilities and fix cannibalize
Browse files Browse the repository at this point in the history
  • Loading branch information
nemaara committed Nov 1, 2019
1 parent 9e20a9b commit c66e888
Show file tree
Hide file tree
Showing 5 changed files with 549 additions and 62 deletions.
Expand Up @@ -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
Expand Down
26 changes: 26 additions & 0 deletions data/campaigns/Descent_Into_Darkness/units/Dark_Mage.cfg
Expand Up @@ -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
Expand Down
131 changes: 99 additions & 32 deletions data/campaigns/Descent_Into_Darkness/units/Malin_Keshar.cfg
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

This comment has been minimized.

Copy link
@Wedge009

Wedge009 May 4, 2020

Member

@nemaara Is impetuity supposed to be related to impetuous? I don't recognise impetuity as a real word...

This comment has been minimized.

Copy link
@nemaara

nemaara May 19, 2020

Author Contributor

A shorter version of impetuosity.

This comment has been minimized.

Copy link
@Wedge009

Wedge009 May 19, 2020

Member

Shorter for stylistic reasons or for localisation? I may have to change this for en_GB...

This comment has been minimized.

Copy link
@nemaara

nemaara May 19, 2020

Author Contributor

Style. I don't know what localisation means.

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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -563,7 +622,9 @@
number=2
icon=attacks/dark-missile.png
[/attack]

{DID_CONSUMPTION}
{DID_CORPSE_LAUNCH}
#enddef

[unit_type]
Expand Down Expand Up @@ -606,29 +667,29 @@
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}
hide_help=yes
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}
Expand All @@ -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}
Expand All @@ -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}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c66e888

Please sign in to comment.