#textdomain wesnoth-units [unit_type] id=rpgfiremage name= _ "Fire Mage" race=human image="units/human-magi/red-mage.png" {MAGENTA_IS_THE_TEAM_COLOR} hitpoints=34 movement_type=smallfoot movement=5 experience=20 level=1 alignment=lawful [advancement] id=hp description= 4 hitpoints always_display=true image=attacks/fireball.png max_times=10 [effect] apply_to=hitpoints increase_total=4 increase=4 [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=hp2 description= 2 hitpoints always_display=true image=attacks/fireball.png max_times=100 require_amla=hp,hp,hp,hp,hp,hp,hp,hp,hp,hp [effect] apply_to=hitpoints increase_total=2 increase=2 [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=rdmg description= 2 ranged damage always_display=true image=attacks/fireball.png max_times=10 [effect] apply_to=attack name=fireball increase_damage=2 [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=rdmg1 description= 1 ranged damage always_display=true image=attacks/fireball.png max_times=100 require_amla=rdmg,rdmg,rdmg,rdmg,rdmg,rdmg,rdmg,rdmg,rdmg,rdmg, [effect] apply_to=attack name=fireball increase_damage=1 [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=mdmg description= 1 melee damage always_display=true image=attacks/staff-ruby.png max_times=100 [effect] apply_to=attack name=staff increase_damage=1 [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=mov description= 1 movement point always_display=true image=icons/sandals.png max_times=5 [effect] apply_to=movement increase=1 [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=fireshield description= Fire shield always_display=true image=attacks/fireball.png require_amla=hp,hp,hp max_times=1 [effect] apply_to=resistance replace=yes [resistance] fire=70 [/resistance] [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=magmashield description= Magma shield always_display=true image=attacks/fireball.png require_amla=hp,hp,hp,hp,hp,fireshield max_times=1 [effect] apply_to=resistance replace=yes [resistance] fire=60 blade=80 pierce=80 impact=80 [/resistance] [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=spelaeologist description= Spelaeologist always_display=true image=attacks/fireball.png require_amla=mov,mov, max_times=1 [effect] apply_to=defense replace=yes [defense] cave=50 [/defense] [effect] apply_to=movement_costs replace=yes [movement_costs] cave=1 [/movement_costs] [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=volcanologist description= Volcanologist always_display=true image=attacks/fireball.png require_amla=mov,mov,mov,mov,fireshield,spelaeologist, max_times=1 [effect] apply_to=defense replace=yes [defense] cave=40 [/defense] [effect] apply_to=movement_costs replace=yes [movement_costs] cave=1 hills=1 mountains=2 [/movement_costs] [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=2staff, description= Second melee attack always_display=true image=attacks/fireball.png require_amla=mdmg,mdmg,mdmg,mdmg, max_times=1 [effect] apply_to=attack name=staff increase_attacks=1 [/effect] [effect] apply_to=attack name=firesword increase_attacks=1 [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] [advancement] id=3staff description= Third melee attack always_display=true image=attacks/fireball.png require_amla=mdmg,mdmg,mdmg,mdmg,mdmg,mdmg,2staff, max_times=1 [effect] apply_to=attack name=staff increase_attacks=1 [/effect] [effect] apply_to=attack name=firesword increase_attacks=1 [/effect] [effect] apply_to=max_experience increase=20% [/effect] [/advancement] cost=15 usage=mixed fighter description= _ "Fire mages are good at fire magic."+{SPECIAL_NOTES}+{SPECIAL_NOTES_MAGICAL} die_sound={SOUND_LIST:HUMAN_DIE} {DEFENSE_ANIM "units/human-magi/red-mage-defend.png" "units/human-magi/red-mage.png" {SOUND_LIST:HUMAN_OLD_HIT} } [attack] name=staff description=_"staff" icon=attacks/staff-ruby.png type=impact range=melee damage=5 number=1 [/attack] [attack] name=fireball description=_"fireball" type=fire range=ranged [specials] {WEAPON_SPECIAL_MAGICAL} [/specials] damage=5 number=3 [/attack] [attack_anim] [filter_attack] name=fireball [/filter_attack] {MISSILE_FRAME_FIREBALL} start_time=-575 [frame] duration=50 image="units/human-magi/red-mage.png" [/frame] [frame] duration=100 image="units/human-magi/red-mage-attack-magic-1.png" sound=fire.wav [/frame] [frame] duration=150 image="units/human-magi/red-mage-attack-magic-2.png" [/frame] [frame] duration=75 image="units/human-magi/red-mage-attack-magic-1.png" [/frame] [frame] duration=75 image="units/human-magi/red-mage.png" [/frame] [/attack_anim] [attack_anim] [filter_attack] name=staff [/filter_attack] [frame] begin=-250 end=-200 image="units/human-magi/red-mage.png" [/frame] [frame] begin=-200 end=-100 image="units/human-magi/red-mage-attack-staff-1.png" [/frame] [if] hits=yes [frame] begin=-100 end=100 image="units/human-magi/red-mage-attack-staff-2.png" sound=staff.wav [/frame] [/if] [else] hits=no [frame] begin=-100 end=100 image="units/human-magi/red-mage-attack-staff-2.png" sound={SOUND_LIST:MISS} [/frame] [/else] [frame] begin=100 end=175 image="units/human-magi/red-mage-attack-magic-1.png" [/frame] [frame] begin=175 end=250 image="units/human-magi/red-mage.png" [/frame] [/attack_anim] [/unit_type]