Moving Delf away is the right thing, but he only needs to move across 1.

Also scroll away from Delf before we kill him: it still looks weird to
see him stop, regain his bars then we scroll away.

Ideally we'd have a scroll=no option to move_unit_fake...
This commit is contained in:
Rusty Russell 2007-06-08 06:52:37 +00:00
parent 10002159ba
commit 8a27f60ebe

View file

@ -21,7 +21,7 @@
12,5
#enddef
#define DELFADOR_LOC
14,7
13,6
#enddef
#define QUINTAIN_LOC
13,5
@ -453,7 +453,7 @@ You moved to the wrong place! After this message, you can press 'u' to Undo, the
message=_ "Note: the tiny silver crown near Delfador shows that you will lose the game if he is killed. You will also lose the game if your leader (Li'sar) is killed."
[/message])}
{MOVE Delfador 14 7 15 9}
{MOVE Delfador 13 6 14 8}
{VARIABLE future_hp $student_hp}
{VARIABLE_OP future_hp add -15}
@ -731,35 +731,16 @@ End your turn, then attack again."
[/if]
[/then]
[else]
[if]
[variable]
name=quintain_dead
numerical_equals=1
[/variable]
[then]
[message]
description=Delfador
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the quintain defended with its melee attack (3-5).
You should tell the other Elf to use the bow."
[/message]
{PRINT (_"Attack with the other Elf")}
[event]
name=attack
{CLEAR_PRINT}
[/event]
[/then]
[else]
[message]
description=Delfador
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the quintain defended with its melee attack (3-5)."
[/message]
{PRINT (_"Attack with the other Elf")}
[event]
name=attack
{CLEAR_PRINT}
[/event]
[/else]
[/if]
[message]
description=Delfador
message=_ "Your elf used a sword (5-4, or 5 damage, 4 attacks), which is a melee attack, so the quintain defended with its melee attack (3-5).
You should tell the other Elf to use the bow."
[/message]
{PRINT (_"Attack with the other Elf")}
[event]
name=attack
{CLEAR_PRINT}
[/event]
[/else]
[/if]
[/event]
@ -956,15 +937,15 @@ Once you select a unit, you see percentages for different places: higher means m
side=2
[/unit]
{MOVE Delfador 14 9 2 1}
[kill]
description=Delfador
[/kill]
{MOVE Delfador 14 8 2 1}
[scroll_to_unit]
type=Quintain
[/scroll_to_unit]
[kill]
description=Delfador
[/kill]
[event]
name=new turn
first_time_only=no