Changed the flaming sword's code

This commit is contained in:
Bär Halberkamp 2013-11-29 15:35:14 +01:00
parent cbac0279f6
commit b6692d2471
3 changed files with 9 additions and 43 deletions

View file

@ -5,6 +5,7 @@ Version 1.11.7+dev:
* Heir To The Throne:
* Implemented the portrait variations for Delfador and Asheviere.
* Changed Kaylan's portrait and gave him teal team coloring.
* Changed the flaming sword so it's now a 25% increase to damage, instead of changing the damage to 15-4
* Liberty:
* New world map.
* Graphics:

View file

@ -106,52 +106,16 @@
{VARIABLE sword_taken 1}
[/then]
[effect]
apply_to=new_attack
# the name is intentionally "sword" so that the existing sword animation of the unit will be used
apply_to=attack
name=sword
description= _ "flaming sword"
icon=attacks/sword-flaming.png
type=fire
range=melee
[specials]
set_description= _ "flaming sword"
set_icon=attacks/sword-flaming.png
set_type=fire
[set_specials]
{WEAPON_SPECIAL_MAGICAL}
[/specials]
damage=15
number=4
[/set_specials]
increase_damage=25%
[/effect]
# this makes sure that any existing sword attack gets removed
[effect]
apply_to=remove_attacks
range=melee
type=blade
[/effect]
# [effect]
# apply_to=new_animation
# [attack_anim]
# [filter_attack]
# name=flaming sword
# [/filter_attack]
#
# start_time=-200
#
# [if]
# hits=yes
# [frame]
# duration=350
# sound=fire.wav
# [/frame]
# [/if]
# [else]
# hits=no
# [frame]
# duration=350
# sound={SOUND_LIST:MISS}
# [/frame]
# [/else]
# [/attack_anim]
# [/effect]
[/object]
[/command]
[/option]

View file

@ -9,6 +9,7 @@ Version 1.11.7+dev:
* Heir To The Throne:
* Implemented the portrait variations for Delfador and Asheviere.
* Changed Kaylan's portrait and gave him teal team coloring.
* Changed the flaming sword so it's now a 25% increase to damage, instead of changing the damage to 15-4
* Liberty:
* New world map.