mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix mindflayer tactic to make it shoot purple fireballs again.
This commit is contained in:
parent
95f3a12d41
commit
624f8796bd
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user