Kaleh advancement balancing.

This commit is contained in:
Jan Rietema 2007-11-02 15:30:15 +00:00
parent 5887e66406
commit ca03fe621f
2 changed files with 238 additions and 104 deletions

View file

@ -201,6 +201,9 @@
{VILLAGE_EVENT "Desert Fighter" _"Piyru"}
{VILLAGE_EVENT "Desert Hunter" _"Anioh"}
{VILLAGE_EVENT "Desert Scout" _"Taliu"}
# kaleh abilities
{VARIABLE kaleh_level_leadership 0}
[/event]
# Dialogue at start of scenario

View file

@ -7,20 +7,23 @@
apply_to=attack
increase_damage={DAMAGE}
[/effect]
[effect]
apply_to=hitpoints
increase_total={HP_RAISE}
increase={HP_RAISE}
[/effect]
[effect]
apply_to=variation
name={TYPE}
[/effect]
[effect]
apply_to=hitpoints
increase_total={HP_RAISE}
increase={HP_RAISE}
heal_full=yes
[/effect]
[effect]
apply_to=max_experience
increase={XP}
[/effect]
[effect]
apply_to=hitpoints
heal_full=yes
[/effect]
[/advancement]
#enddef
@ -30,23 +33,26 @@
[/effect]
[effect]
apply_to=attack
range=melee
increase_damage={DAMAGE}
[/effect]
[effect]
apply_to=variation
name={TYPE}
[/effect]
[effect]
apply_to=hitpoints
increase_total={HP_RAISE}
increase={HP_RAISE}
heal_full=yes
[/effect]
[effect]
apply_to=variation
name={TYPE}
[/effect]
[effect]
apply_to=max_experience
increase={XP}
[/effect]
[effect]
apply_to=hitpoints
heal_full=yes
[/effect]
[/advancement]
#enddef
@ -62,23 +68,25 @@
[/effect]
[effect]
apply_to=attack
range=melee
increase_damage=1
[/effect]
[effect]
apply_to=hitpoints
increase_total={HP_RAISE}
increase={HP_RAISE}
[/effect]
[effect]
apply_to=variation
name=Fighter
[/effect]
[effect]
apply_to=hitpoints
increase_total={HP_RAISE}
increase={HP_RAISE}
heal_full=yes
[/effect]
[effect]
apply_to=max_experience
increase={XP}
[/effect]
[effect]
apply_to=hitpoints
heal_full=yes
[/effect]
[/advancement]
#enddef
@ -99,7 +107,7 @@
range=ranged
[/attack_filter]
[/attack_anim]
hitpoints=26
hitpoints=28
movement_type=woodland
#desert elves move fast across the sands, but are not used to forests
#they are also a bit faster in caves
@ -114,7 +122,7 @@
forest=50
[/defense]
movement=5
experience=24
experience=22
level=1
profile=portraits/kaleh.png
alignment=lawful
@ -129,192 +137,261 @@
name= _ "Desert Youth"
[/variation]
# Kaleh 1: the low-damage 1st-level
[variation]
variation_name=Fighter
inherit=yes
name= _ "Desert Fighter"
# leadership
{ENABLE_AMLA "" Captain 4 1 12}
# swordskill
{CHANGE_AMLA Hero 6 1 8}
{ENABLE_AMLA "" Captain 5 1 4}
# swordskill 1
{CHANGE_AMLA Hero 7 1 0}
# swordskill 2
{CHANGE_AMLA Hero 7 1 0}
# bowskill 1
{CHANGE_AMLA Hero 4 1 4}
{CHANGE_AMLA Hero 5 1 0}
# bowskill 2
{CHANGE_AMLA Hero 4 1 4}
{CHANGE_AMLA Hero 5 1 2}
# bowskill 3
{CHANGE_AMLA Hero 4 1 5}
{CHANGE_AMLA Hero 4 1 4}
# bola
{CHANGE_AMLA Hero 4 1 6}
{CHANGE_AMLA Hero 7 1 0}
# camouflage
{CHANGE_AMLA Hero 4 1 5}
{CHANGE_AMLA Hero 8 1 2}
# sustenance
{CHANGE_AMLA Hero 4 1 8}
{CHANGE_AMLA Hero 8 1 5}
# armor-clad
{CHANGE_AMLA Hero 4 1 5}
{CHANGE_AMLA Hero 8 1 6}
# charisma
{CHANGE_AMLA Hero 4 1 10}
{CHANGE_AMLA Hero 3 1 8}
# stun
{CHANGE_AMLA Hero 4 1 5}
{CHANGE_AMLA Hero 5 1 5}
[/variation]
[variation]
variation_name=Captain
inherit=yes
level=2
experience=40
name= _ "Desert Captain"
# leadership - moot
{CHANGE_AMLA Captain2 4 0 6}
# swordskill
{CHANGE_AMLA Captain2 4 0 6}
{CHANGE_AMLA Captain2 5 0 0}
# swordskill 1
{CHANGE_AMLA Captain2 6 0 5}
# swordskill 2
{CHANGE_AMLA Captain2 6 0 8}
# bowskill 1
{CHANGE_AMLA Captain2 4 0 4}
{CHANGE_AMLA Captain2 6 0 2}
# bowskill 2
{CHANGE_AMLA Captain2 4 0 4}
{CHANGE_AMLA Captain2 6 0 4}
# bowskill 3
{CHANGE_AMLA Captain2 4 0 5}
{CHANGE_AMLA Captain2 5 0 8}
# bola
{CHANGE_AMLA Captain2 4 0 6}
{CHANGE_AMLA Captain2 6 0 0}
# camouflage
{CHANGE_AMLA Captain2 4 0 6}
{CHANGE_AMLA Captain2 8 0 4}
# sustenance
{CHANGE_AMLA Captain2 4 0 6}
{ENABLE_AMLA "bow,bola" Captain2 8 0 8}
# armor-clad
{ENABLE_AMLA "sword" Captain2 4 0 8}
{ENABLE_AMLA "sword" Captain2 8 0 10}
# charisma
{CHANGE_AMLA Captain2 4 0 10}
{CHANGE_AMLA Captain2 3 0 12}
# stun
{ENABLE_AMLA "sword" Captain2 4 0 12}
{ENABLE_AMLA "sword,sword" Captain2 5 0 8}
[/variation]
[variation]
variation_name=Captain2
inherit=yes
level=2
experience=40
name= _ "Desert Captain"
# leadership - moot
{CHANGE_AMLA Marshal 4 1 6}
# swordskill
{CHANGE_AMLA Marshal 4 1 6}
{CHANGE_AMLA Marshal 5 1 0}
# swordskill 1
{CHANGE_AMLA Marshal 7 1 0}
# swordskill 2
{ENABLE_AMLA "sword" Marshal 6 1 8}
# bowskill 1
{CHANGE_AMLA Marshal 4 1 4}
{CHANGE_AMLA Marshal 6 1 0}
# bowskill 2
{CHANGE_AMLA Marshal 4 1 4}
{CHANGE_AMLA Marshal 6 1 3}
# bowskill 3
{CHANGE_AMLA Marshal 4 1 5}
{CHANGE_AMLA Marshal 5 1 8}
# bola
{CHANGE_AMLA Marshal 4 1 6}
{CHANGE_AMLA Marshal 6 1 0}
# camouflage
{CHANGE_AMLA Marshal 4 1 6}
{CHANGE_AMLA Marshal 8 1 2}
# sustenance
{CHANGE_AMLA Marshal 4 1 6}
{ENABLE_AMLA "bola" Marshal 8 1 12}
# armor-clad
{ENABLE_AMLA "" Marshal 4 1 8}
{ENABLE_AMLA "" Marshal 8 1 12}
# charisma
{ENABLE_AMLA "" Marshal 4 1 10}
{ENABLE_AMLA "" Marshal 3 1 16}
# stun - already enabled
{ENABLE_AMLA "" Marshal 4 1 12}
{ENABLE_AMLA "sword" Marshal 5 1 8}
[/variation]
[variation]
variation_name=Hero
inherit=yes
level=2
experience=40
name= _ "Desert Hero"
# leadership
{ENABLE_AMLA "" Captain2 4 0 8}
# swordskill
{CHANGE_AMLA Hero2 4 0 6}
{ENABLE_AMLA "" Captain2 5 0 5}
# swordskill 1
{CHANGE_AMLA Hero2 8 0 5}
# swordskill 2
{ENABLE_AMLA "sword" Hero2 8 0 8}
# bowskill 1
{CHANGE_AMLA Hero2 4 0 4}
{CHANGE_AMLA Hero2 7 0 0}
# bowskill 2
{CHANGE_AMLA Hero2 4 0 4}
{CHANGE_AMLA Hero2 6 0 4}
# bowskill 3
{CHANGE_AMLA Hero2 4 0 5}
{CHANGE_AMLA Hero2 5 0 8}
# bola
{CHANGE_AMLA Hero2 4 0 6}
{CHANGE_AMLA Hero2 8 0 0}
# camouflage
{CHANGE_AMLA Hero2 4 0 6}
{CHANGE_AMLA Hero2 9 0 4}
# sustenance
{CHANGE_AMLA Hero2 4 0 6}
{ENABLE_AMLA "bola" Hero2 9 0 8}
# armor-clad
{ENABLE_AMLA "sword" Hero2 4 0 8}
{ENABLE_AMLA "sword,sword" Hero2 9 0 10}
# charisma
{CHANGE_AMLA Hero2 4 0 10}
{CHANGE_AMLA Hero2 5 0 14}
# stun
{ENABLE_AMLA "sword" Hero2 4 0 12}
{ENABLE_AMLA "sword" Hero2 6 0 8}
[/variation]
[variation]
variation_name=Hero2
inherit=yes
level=2
experience=40
name= _ "Desert Hero"
# leadership - already enabled
{ENABLE_AMLA "" Marshal 4 2 8}
# swordskill
{CHANGE_AMLA Champion 4 1 6}
{ENABLE_AMLA "" Marshal 5 2 4}
# swordskill 1
{CHANGE_AMLA Champion 8 1 0}
# swordskill 2
{ENABLE_AMLA "sword" Champion 8 1 8}
# bowskill 1
{CHANGE_AMLA Champion 4 1 4}
{CHANGE_AMLA Champion 7 1 0}
# bowskill 2
{CHANGE_AMLA Champion 4 1 4}
{CHANGE_AMLA Champion 6 1 2}
# bowskill 3
{CHANGE_AMLA Champion 4 1 5}
{CHANGE_AMLA Champion 5 1 8}
# bola
{CHANGE_AMLA Champion 4 1 6}
{CHANGE_AMLA Champion 8 1 0}
# camouflage
{CHANGE_AMLA Champion 4 1 6}
{CHANGE_AMLA Champion 9 1 2}
# sustenance
{CHANGE_AMLA Champion 4 1 6}
{ENABLE_AMLA "" Champion 9 1 12}
# armor-clad
{ENABLE_AMLA "" Champion 4 1 8}
{ENABLE_AMLA "" Champion 9 1 12}
# charisma
{CHANGE_AMLA Champion 4 1 10}
{CHANGE_AMLA Champion 5 1 16}
# stun - already enabled
{ENABLE_AMLA "" Champion 4 1 12}
{ENABLE_AMLA "sword" Champion 6 1 8}
[/variation]
[variation]
variation_name=Champion
inherit=yes
level=3
experience=100
name= _ "Desert Champion"
# leadership - disable
{ENABLE_AMLA "non-existant" Marshal 2 0 50}
# swordskill 1
{CHANGE_AMLA Champion 4 0 50}
# swordskill 2
{ENABLE_AMLA "sword" Champion 4 0 50}
# bowskill 1
{CHANGE_AMLA Champion 2 0 50}
# bowskill 2
{CHANGE_AMLA Champion 2 0 50}
# bowskill 3
{CHANGE_AMLA Champion 2 0 50}
# bola
{CHANGE_AMLA Champion 4 0 50}
# camouflage
{CHANGE_AMLA Champion 4 0 50}
# sustenance
{ENABLE_AMLA "" Champion 4 0 50}
# armor-clad
{ENABLE_AMLA "sword" Champion 4 0 50}
# charisma
{CHANGE_AMLA Champion 2 0 50}
# stun - already enabled
{ENABLE_AMLA "sword" Champion 2 0 50}
[/variation]
[variation]
variation_name=Marshal
inherit=yes
level=3
experience=100
name= _ "Desert Marshal"
# leadership - disable
{ENABLE_AMLA "non-existant" Marshal 3 0 24}
# swordskill 1
{CHANGE_AMLA Marshal 4 0 20}
# swordskill 2
{ENABLE_AMLA "sword" Marshal 4 0 20}
# bowskill 1
{CHANGE_AMLA Marshal 2 0 20}
# bowskill 2
{CHANGE_AMLA Marshal 2 0 24}
# bowskill 3
{CHANGE_AMLA Marshal 1 0 28}
# bola
{CHANGE_AMLA Marshal 4 0 20}
# camouflage
{CHANGE_AMLA Marshal 4 0 24}
# sustenance
{ENABLE_AMLA "" Marshal 3 0 30}
# armor-clad
{ENABLE_AMLA "" Marshal 3 0 34}
# charisma
{CHANGE_AMLA Marshal 3 0 36}
# stun - already enabled
{ENABLE_AMLA "sword" Marshal 2 0 30}
[/variation]
# ADVANCEMENTS:
# I - LEADERSHIP
{KALEH_ADVANCEMENT 1 leadership (_ "a leader in battle") units/elves-desert/kaleh-leading.png not-allowed 4 20 (apply_to=new_ability
{KALEH_ADVANCEMENT 1 leadership (_ "a leader in battle") units/elves-desert/kaleh-leading.png not-allowed 3 4 (apply_to=new_ability
[abilities]
{ABILITY_LEADERSHIP_LEVEL_2}
[/abilities]
)}
# II - SWORDSKILL
{KALEH_ADVANCEMENT 2 sword (_ "a better swordsman") attacks/sword-elven.png "" 6 5 (apply_to=attack
# II - SWORDSKILL 1
{KALEH_ADVANCEMENT 1 sword (_ "a better swordsman") attacks/sword-elven.png "" 6 6 (apply_to=attack
range=melee
increase_damage=2
)}
# III - BOWSKILL 1
{KALEH_ADVANCEMENT 1 bow (_ "a better archer") attacks/bow-elven.png "" 5 5 (apply_to=attack
# III - SWORDSKILL 2
{KALEH_ADVANCEMENT 1 sword2 (_ "a better swordsman") attacks/sword-elven.png "not_allowed" 6 5 (apply_to=attack
range=melee
increase_damage=2
)}
# IV - BOWSKILL 1
{KALEH_ADVANCEMENT 1 bow (_ "a better archer") attacks/bow-elven.png "" 4 2 (apply_to=attack
name=bow
increase_damage=1
increase_attacks=1
)}
# IV - BOWSKILL 2
{KALEH_ADVANCEMENT 1 bow2 (_ "a better archer") attacks/bow-elven.png bow 5 5 (apply_to=attack
# V - BOWSKILL 2
{KALEH_ADVANCEMENT 1 bow2 (_ "a better archer") attacks/bow-elven.png bow 4 4 (apply_to=attack
name=bow
increase_damage=2
)}
# V - BOWSKILL 3
{KALEH_ADVANCEMENT 1 bow3 (_ "a marksman with the bow") attacks/bow-elven.png bow2 5 5 (apply_to=attack
# VI - BOWSKILL 3
{KALEH_ADVANCEMENT 1 bow3 (_ "a marksman with the bow") attacks/bow-elven.png bow2 4 6 (apply_to=attack
name=bow
increase_damage=1
[set_specials]
@ -322,8 +399,8 @@ increase_damage=1
[/set_specials]
)}
# VI - BOLA
{KALEH_ADVANCEMENT 1 bola (_ "trained by Nym in using the bola") attacks/bolas.png "" 3 5 (apply_to=new_attack
# VII - BOLA
{KALEH_ADVANCEMENT 1 bola (_ "trained by Nym in using the bola") attacks/bolas.png "" 6 4 (apply_to=new_attack
name=bola
description= _"bola"
type=impact
@ -336,33 +413,33 @@ increase_damage=1
icon=attacks/bolas.png
)}
# VII - CAMOUFLAGE
{KALEH_ADVANCEMENT 1 camouflage (_ "skilled in surviving the desert") units/elves-desert/kaleh-defend.png "" 3 5 (apply_to=new_ability
# VIII - CAMOUFLAGE
{KALEH_ADVANCEMENT 1 camouflage (_ "skilled in surviving the desert") units/elves-desert/kaleh-defend.png "" 7 5 (apply_to=new_ability
[abilities]
[hides]
id=camouflage
name= _ "camouflage"
name_inactive= _ "camouflage"
description= _ "Camouflage:
This unit can hide in desert dunes and desert mountains, and remain undetected by its enemies.
This unit can hide in desert dunes and desert mountains and craters, and remain undetected by its enemies.
Enemy units cannot see this unit while it is in desert dunes and desert mountains, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
Enemy units cannot see this unit while it is in desert dunes, desert mountains and craters, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
description_inactive= _ "Camouflage:
This unit can hide in desert dunes and desert mountains, and remain undetected by its enemies.
This unit can hide in desert dunes and desert mountains and craters, and remain undetected by its enemies.
Enemy units cannot see this unit while it is in desert dunes and desert mountains, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
Enemy units cannot see this unit while it is in desert dunes and desert mountains and craters, except if they have units next to it. Any enemy unit that first discovers this unit immediately loses all its remaining movement."
affect_self=yes
[filter_self]
[filter_location]
terrain=Dh,Dm
terrain=Hd,Md,Dd^Dc
[/filter_location]
[/filter_self]
[/hides]
[/abilities]
)}
# VIII - SUSTENANCE
{KALEH_ADVANCEMENT 1 sustenance (_ "gain +20% resistance under the sun") attacks/sand-storm.png "camouflage" 3 5 (apply_to=new_ability
# IX - SUSTENANCE
{KALEH_ADVANCEMENT 1 sustenance (_ "gain +20% resistance under the sun") attacks/sand-storm.png "bow,bola" 3 5 (apply_to=new_ability
[abilities]
[resistance]
id=sustenance
@ -385,7 +462,7 @@ This unit's resistances are increased by 20% in daylight, on defense and attack.
[/abilities]
)}
# IX - ARMOR-CLAD
# X - ARMOR-CLAD
{KALEH_ADVANCEMENT 1 armor (_ "gain +10% resistance to blade, pierce and impact") attacks/heater-shield.png "non_existant" 3 5 (apply_to=new_ability
[abilities]
[resistance]
@ -406,7 +483,7 @@ This unit's blade, pierce and impact resistances are increased by 10%."
[/abilities]
)}
# X - CHARISMA
# XI - CHARISMA
{KALEH_ADVANCEMENT 1 charisma (_ "a charismatic leader - all adjacent units pay no upkeep") attacks/whip.png "non_existant" 3 5 (apply_to=new_ability
[abilities]
[resistance]
@ -424,7 +501,7 @@ Adjacent units will be treated loyal and not pay upkeep."
[/abilities]
)}
# XI - STUN
# XII - STUN
{KALEH_ADVANCEMENT 1 stun (_ "gain a stunning attack that disrupts enemy ZOC") attacks/scimitar.png "non_existant" 3 5 (apply_to=new_attack
name=sword_rush
description= _ "sword"
@ -690,5 +767,59 @@ This attack puts enormous pressure on the enemy, disrupting his ZOC if a hit is
[/object]
{NEXT i}
[/event]
# upgrade leadership event
[event]
name=new turn
first_time_only=no
[if]
[variable]
name=kaleh_level_leadership
less_than=3
[/variable]
[then]
[if]
[have_unit]
side=1
canrecruit=1
[wml_filter]
variation=Marshal
[/wml_filter]
[/have_unit]
[then]
[store_unit]
variable=kaleh
kill=no
[filter]
side=1
canrecruit=1
[wml_filter]
variation=Marshal
[/wml_filter]
[/filter]
[/store_unit]
{VARIABLE kaleh_level_leadership 3}
[object]
silent=yes
x=$kaleh.x
y=$kaleh.y
[effect]
apply_to=remove_ability
[abilities]
id=leadership
[/abilities]
[/effect]
[effect]
apply_to=new_ability
[abilities]
{ABILITY_LEADERSHIP_LEVEL_3}
[/abilities]
[/effect]
[/object]
{CLEAR_VARIABLE kaleh}
[/then]
[/if]
[/then]
[/if]
[/event]
#enddef