Fix mindflayer tactic to make it shoot purple fireballs again.

This commit is contained in:
Avi Weinstock 2021-05-22 20:35:21 -04:00
parent 95f3a12d41
commit 624f8796bd

View File

@ -2843,7 +2843,7 @@ impl<'a> AgentData<'a> {
if matches!(self.char_state, CharacterState::Blink(_)) {
*num_fireballs = rand::random::<u8>() % 4;
}
} else {
} else if matches!(self.char_state, CharacterState::Wielding) {
*num_fireballs -= 1;
controller.actions.push(ControlAction::StartInput {
input: InputKind::Ability(1),