Automatically select entire party if the active PC can no longer act
(Adapted from Windows code)
This commit is contained in:
@@ -1631,6 +1631,11 @@ bool combat_next_step()
|
|||||||
while (pick_next_pc() == true) {
|
while (pick_next_pc() == true) {
|
||||||
combat_run_monst();
|
combat_run_monst();
|
||||||
set_pc_moves();
|
set_pc_moves();
|
||||||
|
if((combat_active_pc < 6) && (univ.party[combat_active_pc].ap == 0)){
|
||||||
|
combat_active_pc = 6;
|
||||||
|
ASB("The active character is unable to act!");
|
||||||
|
ASB("The whole party is now active.");
|
||||||
|
}
|
||||||
to_return = true;
|
to_return = true;
|
||||||
// Safety valve
|
// Safety valve
|
||||||
if (party_toast() == true)
|
if (party_toast() == true)
|
||||||
|
Reference in New Issue
Block a user