SotBE S18: have gryphons open a gap for Kapou'e

… so that the first turn is not as luck dependent as it was before.
This commit is contained in:
mattsc 2014-02-18 11:48:53 -08:00
parent 27be7b8ae0
commit 5a7de1e4ac

View file

@ -259,6 +259,64 @@
{GENERIC_UNIT 6 (Royal Guard) 47 21}
[/event]
#define ATTACK_ANIM ID_ATTACKER ID_DEFENDER HITS DAMAGE TEXT
[animate_unit]
flag=attack
with_bars=yes
hits={HITS}
[filter]
id={ID_ATTACKER}
[/filter]
[primary_attack]
range=melee
[/primary_attack]
[facing]
[filter]
id={ID_DEFENDER}
[/filter]
[/facing]
[animate]
flag=defend
with_bars=yes
hits={HITS}
text={TEXT}
red,blue,green=255,0,0
[filter]
id={ID_DEFENDER}
[/filter]
[facing]
[filter]
id={ID_ATTACKER}
[/filter]
[/facing]
[/animate]
[/animate_unit]
[store_unit]
[filter]
id={ID_DEFENDER}
[/filter]
variable=defender
[/store_unit]
[modify_unit]
[filter]
id={ID_DEFENDER}
[/filter]
hitpoints=$($defender.hitpoints-{DAMAGE})
[/modify_unit]
{CLEAR_VARIABLE defender}
#enddef
[event]
name=start
@ -287,11 +345,15 @@
[unit]
type=Orcish Warrior
id=warrior1
side=5
x=44
y=18
generate_name=yes
random_traits=yes
[modifications]
{TRAIT_QUICK}
{TRAIT_INTELLIGENT}
[/modifications]
[/unit]
[move_unit_fake]
@ -495,17 +557,20 @@
[move_unit_fake]
type=Gryphon Master
side=6
x=51,43
y=22,20
x=51,44
y=22,19
[/move_unit_fake]
[unit]
type=Gryphon Master
x=43
y=20
id=gryphon1
x=44
y=19
side=6
generate_name=yes
random_traits=yes
[modifications]
{TRAIT_STRONG}
[/modifications]
[/unit]
[move_unit_fake]
@ -533,11 +598,14 @@
[unit]
type=Gryphon Master
id=gryphon2
x=45
y=18
side=6
generate_name=yes
random_traits=yes
[modifications]
{TRAIT_STRONG}
[/modifications]
facing=sw
[/unit]
@ -570,6 +638,21 @@
variable=stored_Hogwarth
[/unstore_unit]
{ATTACK_ANIM gryphon1 warrior1 yes 16 16}
{ATTACK_ANIM warrior1 gryphon1 no 0 ()}
{ATTACK_ANIM gryphon1 warrior1 yes 16 16}
{ATTACK_ANIM warrior1 gryphon1 yes 10 10}
{ATTACK_ANIM warrior1 gryphon1 no 0 ()}
{ATTACK_ANIM gryphon2 warrior1 yes 16 16}
{ATTACK_ANIM warrior1 gryphon2 no 0 ()}
{ATTACK_ANIM gryphon2 warrior1 yes 7 7}
[kill]
id=warrior1
animate=yes
[/kill]
[message]
speaker=Shan Taum
message= _ "Blast! The human has escaped. Orcs, bring me Kapoues head. I must get to my camp and assault the city."