hold the bot back until the intro is over
the bot's first card was due on tick one, so it was already walking while the opening countdown was still on screen - reaching the bridge and swinging at nothing before the battle had visibly started. it waits six seconds now before opening, and keeps its four to eleven second rhythm after that.
This commit is contained in:
parent
bab24f2295
commit
a355b77514
2 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ impl BattleSession {
|
|||
taunts,
|
||||
next_bot_emote,
|
||||
next_snapshot: SNAPSHOT_INTERVAL_TICKS,
|
||||
next_bot_play: 0,
|
||||
next_bot_play: crate::bot::BOT_OPENING_DELAY_SECONDS * BATTLE_TICKS_PER_SECOND,
|
||||
pushed_snapshots: 0,
|
||||
pending_bot_play: None,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ pub const BOT_NAME: &str = "Bot";
|
|||
pub const TAUNT_MENU_COLUMN: &str = "TauntMenu";
|
||||
pub const BOT_EMOTE_MIN_SECONDS: i32 = 12;
|
||||
pub const BOT_EMOTE_MAX_SECONDS: i32 = 30;
|
||||
pub const BOT_OPENING_DELAY_SECONDS: i32 = 6;
|
||||
pub const BOT_PLAY_MIN_SECONDS: i32 = 4;
|
||||
pub const BOT_PLAY_MAX_SECONDS: i32 = 11;
|
||||
pub const BOT_OWNER_INDEX: i32 = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue