Take care about the player being unable to do anything if he
- attacks in round 2 - attacks in round 3 before recruiting - attacks in round 4 with himself instead of the fighters and kills the quintain [ci skip]
This commit is contained in:
parent
ae85e4ca02
commit
616f3b5d66
2 changed files with 24 additions and 0 deletions
|
@ -425,6 +425,8 @@
|
|||
|
||||
[disallow_end_turn][/disallow_end_turn]
|
||||
|
||||
{ALLOW_END_TURN_AFTER_ATTACK}
|
||||
|
||||
{CLEAR_PRINT}
|
||||
|
||||
[message]
|
||||
|
@ -472,6 +474,8 @@
|
|||
|
||||
[disallow_end_turn][/disallow_end_turn]
|
||||
|
||||
{ALLOW_END_TURN_AFTER_ATTACK}
|
||||
|
||||
{CLEAR_PRINT}
|
||||
|
||||
[message]
|
||||
|
@ -572,6 +576,8 @@
|
|||
|
||||
[disallow_end_turn][/disallow_end_turn]
|
||||
|
||||
{ALLOW_END_TURN_AFTER_ATTACK}
|
||||
|
||||
{CLEAR_PRINT}
|
||||
|
||||
[message]
|
||||
|
|
|
@ -30,6 +30,24 @@
|
|||
[/if]
|
||||
#enddef
|
||||
|
||||
#define ALLOW_END_TURN_AFTER_ATTACK
|
||||
# for the case the player disobeys delfador's order and attacks
|
||||
[event]
|
||||
name=attack_end
|
||||
id=prevent deadlock
|
||||
[filter]
|
||||
id=student
|
||||
[/filter]
|
||||
[allow_end_turn][/allow_end_turn]
|
||||
[/event]
|
||||
[event]
|
||||
name=turn end
|
||||
[remove_event]
|
||||
id=prevent deadlock
|
||||
[/remove_event]
|
||||
[/event]
|
||||
#enddef
|
||||
|
||||
#define UNDO_REMINDER
|
||||
[message]
|
||||
speaker=narrator
|
||||
|
|
Loading…
Add table
Reference in a new issue