Added unit to test the UI to the test scenario.
This commit is contained in:
parent
d788be99b6
commit
88986a2480
1 changed files with 163 additions and 0 deletions
|
@ -45,6 +45,8 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
|
|||
{DUSK}
|
||||
{FIRST_WATCH}
|
||||
{SECOND_WATCH}
|
||||
current_tod=3
|
||||
|
||||
victory_music="loyalists.ogg,underground.ogg,revelation.ogg"
|
||||
defeat_music="sad.ogg"
|
||||
|
||||
|
@ -83,6 +85,160 @@ Xu , Xu , Qxu , Qxu , Ql , Ql
|
|||
[village]
|
||||
x,y=7,7
|
||||
[/village]
|
||||
[unit]
|
||||
alignment=lawful
|
||||
x,y=8,11
|
||||
type=Elvish Outrider
|
||||
max_hitpoints=12000
|
||||
hitpoints=12000
|
||||
max_experience=9999
|
||||
experience=9000
|
||||
#moves=120
|
||||
max_moves=120
|
||||
vision=120
|
||||
name= "UI testing Outrider called Isor"
|
||||
[status]
|
||||
#dehydrated=yes
|
||||
#entangled=yes
|
||||
poisoned=yes
|
||||
#entangled=yes
|
||||
slowed=yes
|
||||
[/status]
|
||||
[+modifications]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_INTELLIGENT}
|
||||
{TRAIT_DEXTROUS}
|
||||
[object]
|
||||
silent=yes
|
||||
[effect]
|
||||
apply_to=remove_attacks
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=sword
|
||||
#textdomain wesnoth-units
|
||||
description=_"sword"
|
||||
#textdomain wesnoth
|
||||
icon=attacks/greatsword-elven.png
|
||||
type=blade
|
||||
[specials]
|
||||
[drains]
|
||||
id=life_vortex
|
||||
name="Life Vortex"
|
||||
description="Each successful strike in a battle involving this attack causes the attacker to gain the health that his attack removed from the target. This has no effect against nonliving targets."
|
||||
value=0
|
||||
add=100
|
||||
apply_to=both
|
||||
[/drains]
|
||||
[heal_on_hit]
|
||||
id=entropy
|
||||
name="Entropy"
|
||||
description="Each successful strike in a battle involving this attack causes the attacker to lose 4 HP. This has no effect against nonliving targets."
|
||||
[filter_opponent]
|
||||
[not]
|
||||
[filter_wml]
|
||||
[status]
|
||||
not_living="yes"
|
||||
[/status]
|
||||
[/filter_wml]
|
||||
[/not]
|
||||
[/filter_opponent]
|
||||
sub=4
|
||||
apply_to=both
|
||||
[/heal_on_hit]
|
||||
[/specials]
|
||||
range=melee
|
||||
damage=9
|
||||
number=5
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=bow
|
||||
#textdomain wesnoth-units
|
||||
description=_"bow"
|
||||
#textdomain wesnoth
|
||||
icon=attacks/bow-elven.png
|
||||
type=pierce
|
||||
[specials]
|
||||
[drains]
|
||||
id=empathic_weapon
|
||||
name="Empathic Weapon"
|
||||
description="All damage dealt by this attack to a living target is dealt to the user as well"
|
||||
multiply=-2
|
||||
[/drains]
|
||||
[heal_on_hit]
|
||||
id=rejuvenating_weapon
|
||||
name="Rejuvenating Weapon (10)"
|
||||
description="Each successful strike with this weapon heals the user for 10 HP"
|
||||
value=10
|
||||
[/heal_on_hit]
|
||||
[/specials]
|
||||
range=ranged
|
||||
damage=9
|
||||
number=3
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=longbow
|
||||
#textdomain wesnoth-units
|
||||
description=_"longbow"
|
||||
#textdomain wesnoth
|
||||
icon=attacks/bow-elven-magic.png
|
||||
type=pierce
|
||||
[specials]
|
||||
{WEAPON_SPECIAL_MARKSMAN}
|
||||
[drains]
|
||||
id=drains
|
||||
name="drains 20%"
|
||||
description="This unit drains health from living units, healing itself for 20% of the amount of damage it deals (rounded down)."
|
||||
value=20
|
||||
[/drains]
|
||||
[heal_on_hit]
|
||||
id=drains
|
||||
name="sacrifice 5"
|
||||
description="Each successful attack costs this unit 5 HP."
|
||||
sub=5
|
||||
[/heal_on_hit]
|
||||
[/specials]
|
||||
range=ranged
|
||||
damage=10
|
||||
number=5
|
||||
[/effect]
|
||||
[effect]
|
||||
apply_to=new_attack
|
||||
name=life bomb
|
||||
description="life bomb"
|
||||
type=impact
|
||||
[specials]
|
||||
[heal_on_hit]
|
||||
id=drains
|
||||
name="life copy 20"
|
||||
description="When this attack hits a living unit, the user is healed for 20 HP."
|
||||
[filter_opponent]
|
||||
[not]
|
||||
[filter_wml]
|
||||
[status]
|
||||
not_living="yes"
|
||||
[/status]
|
||||
[/filter_wml]
|
||||
[/not]
|
||||
[/filter_opponent]
|
||||
value=20
|
||||
[/heal_on_hit]
|
||||
[/specials]
|
||||
damage=3
|
||||
number=2
|
||||
range=ranged
|
||||
[/effect]
|
||||
[/object]
|
||||
|
||||
[/modifications]
|
||||
[abilities]
|
||||
{ABILITY_SKIRMISHER}
|
||||
{ABILITY_ILLUMINATES}
|
||||
[/abilities]
|
||||
[/unit]
|
||||
|
||||
[unit]
|
||||
x,y=9,7
|
||||
type="Silver Mage"
|
||||
|
@ -1311,6 +1467,13 @@ My best advancement costs $next_cost gold and I’m $experience|% there."
|
|||
x= 0-14
|
||||
y=13-20
|
||||
[/time_area]
|
||||
[time_area]
|
||||
x,y=8,11
|
||||
id=jaja
|
||||
{DEFAULT_SCHEDULE_24H}
|
||||
current_tod=12
|
||||
current_time=13
|
||||
[/time_area]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
|
|
Loading…
Add table
Reference in a new issue