Fixed bug with killed ghosts not being reset at dawn...
...and mobilize all ogres on first attack.
This commit is contained in:
parent
78c88cd1f4
commit
0d33e5f32d
1 changed files with 15 additions and 2 deletions
|
@ -125,7 +125,7 @@
|
|||
|
||||
[target]
|
||||
side=1
|
||||
value=16
|
||||
value=40
|
||||
[/target]
|
||||
|
||||
[target]
|
||||
|
@ -692,6 +692,17 @@
|
|||
#endif
|
||||
{SETUP_ENEMY_THIRST 3 $ogre_thirst}
|
||||
|
||||
[event]
|
||||
name=attack
|
||||
[filter]
|
||||
role="Hunting Ogre"
|
||||
[/filter]
|
||||
[filter_second]
|
||||
side=1
|
||||
[/filter_second]
|
||||
{MOBILIZE_SIDE 3}
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=die
|
||||
first_time_only=no
|
||||
|
@ -2216,8 +2227,9 @@
|
|||
[/variable]
|
||||
[/or]
|
||||
[then]
|
||||
# reset the ghosts spawned counter
|
||||
# reset the ghosts' counters
|
||||
{VARIABLE ghosts_already_spawned 0}
|
||||
{VARIABLE ghosts_killed 0}
|
||||
[kill]
|
||||
role=LostSoul
|
||||
animate=no
|
||||
|
@ -2448,6 +2460,7 @@
|
|||
|
||||
# don't respawn ghosts this night
|
||||
{VARIABLE ghosts_already_spawned $max_ghosts}
|
||||
{VARIABLE ghosts_killed 0}
|
||||
|
||||
[if]
|
||||
[variable]
|
||||
|
|
Loading…
Add table
Reference in a new issue