THoT S6: Let the AI avoid the mage's hut
Until he is found. This also means one less villages for side 2, increased their income thatfor, [ci skip]
This commit is contained in:
parent
13b7d3f2a3
commit
746300aba5
1 changed files with 22 additions and 4 deletions
|
@ -45,6 +45,7 @@
|
|||
side=2
|
||||
recruit=Gryphon
|
||||
{GOLD 60 80 100}
|
||||
{INCOME 1 1 1}
|
||||
team_name=wildthings
|
||||
user_team_name= _ "Monsters"
|
||||
|
||||
|
@ -58,6 +59,9 @@
|
|||
[ai]
|
||||
{ATTACK_DEPTH 1 3 5}
|
||||
passive_leader=yes
|
||||
[avoid]
|
||||
x,y=$magehut.x,$magehut.y
|
||||
[/avoid]
|
||||
[/ai]
|
||||
[/side]
|
||||
|
||||
|
@ -68,6 +72,12 @@
|
|||
hidden=yes
|
||||
team_name=wildthings
|
||||
user_team_name= _ "Monsters"
|
||||
|
||||
[ai]
|
||||
[avoid]
|
||||
x,y=$magehut.x,$magehut.y
|
||||
[/avoid]
|
||||
[/ai]
|
||||
[/side]
|
||||
|
||||
#define WILDTHING X Y
|
||||
|
@ -99,6 +109,9 @@
|
|||
[event]
|
||||
name=prestart
|
||||
|
||||
{VARIABLE magehut.x 19}
|
||||
{VARIABLE magehut.y 10}
|
||||
|
||||
[objectives]
|
||||
side=1
|
||||
[objective]
|
||||
|
@ -275,7 +288,7 @@
|
|||
[filter]
|
||||
side=1
|
||||
[filter_location]
|
||||
# The player was given a hint to check this particular hut out
|
||||
# The player was given a hint to check this particular hut out.
|
||||
x,y=19,10
|
||||
{QUANTITY radius 4 3 2}
|
||||
[/filter_location]
|
||||
|
@ -304,9 +317,10 @@
|
|||
|
||||
# wmllint: recognize Ratheln
|
||||
{CHARACTER_STATS_RATHELN}
|
||||
facing=sw
|
||||
[/unit]
|
||||
|
||||
# In case the area was not yet visible
|
||||
# In case the area was not yet visible.
|
||||
[remove_shroud]
|
||||
[filter_side]
|
||||
side=1
|
||||
|
@ -349,6 +363,9 @@
|
|||
speaker=Aiglondur
|
||||
message= _ "Aye. And I’d not leave anyone who had done my kin no harm stranded to starve."
|
||||
[/message]
|
||||
# Unsetting the variables already here would result in the AI avoiding everything.
|
||||
{VARIABLE magehut.x 999}
|
||||
{VARIABLE magehut.y 999}
|
||||
[/event]
|
||||
|
||||
# In this scenario only, losing Ratheln is fatal.
|
||||
|
@ -425,13 +442,14 @@
|
|||
[event]
|
||||
name=victory
|
||||
|
||||
# It is only in debug mode possible that this event did not occur
|
||||
# In case the player didn't pick up Ratheln.
|
||||
[fire_event]
|
||||
name=meeting a mage
|
||||
[/fire_event]
|
||||
{CLEAR_VARIABLE magehut}
|
||||
[/event]
|
||||
|
||||
# No need for Ratheln's death event here since he has a custom one this scenario
|
||||
# No need for Ratheln's death event here since he has a custom one this scenario.
|
||||
{HERODEATH_AIGLONDUR}
|
||||
{HERODEATH_ANGARTHING}
|
||||
[/scenario]
|
||||
|
|
Loading…
Add table
Reference in a new issue