Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions playerbots/src/acceptance_fixture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2223,6 +2223,8 @@ fn stage_level_gap_sources(
movement_type: 0,
respawn_secs: 60,
life_seq: 1,
instance_id: 0,
source_guid: 0,
};
let mut entity = crate::package::fixture::build_creature_entity(&spawn, &template, 0, 0);
if offset < LEVEL_GAP_LONG_SOURCE_COUNT {
Expand Down
6 changes: 6 additions & 0 deletions playerbots/src/fixture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,8 @@ fn companion_creature(
movement_type: 0,
respawn_secs: 60,
life_seq: 1,
instance_id: 0,
source_guid: 0,
};
ctx.db.game_creature_spawn().guid().delete(guid);
let spawn = ctx.db.game_creature_spawn().insert(spawn);
Expand Down Expand Up @@ -1897,6 +1899,8 @@ pub fn playerbots_fixture_blocked_quest(ctx: &ReducerContext, guid: u64) -> Resu
movement_type: 0,
respawn_secs: 60,
life_seq: 1,
instance_id: 0,
source_guid: 0,
};
ctx.db.game_creature_spawn().guid().delete(target_guid);
let spawn = ctx.db.game_creature_spawn().insert(spawn);
Expand Down Expand Up @@ -2095,6 +2099,8 @@ pub fn playerbots_fixture_runner_second_attacker(
movement_type: 0,
respawn_secs: 60,
life_seq: 1,
instance_id: 0,
source_guid: 0,
};
ctx.db.game_creature_spawn().guid().delete(second_guid);
let spawn = ctx.db.game_creature_spawn().insert(spawn);
Expand Down
10 changes: 10 additions & 0 deletions playerbots/src/quest_catalog_fixture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,8 @@ fn insert_creature(ctx: &ReducerContext, entry: u32, x: f32, y: f32, z: f32) ->
movement_type: 0,
respawn_secs: 60,
life_seq: 1,
instance_id: 0,
source_guid: 0,
});
crate::package::fixture::insert_creature_entity(
ctx,
Expand Down Expand Up @@ -1709,6 +1711,8 @@ pub(super) fn stage_named_with_rotation(
movement_type: 0,
respawn_secs: 60,
life_seq: 1,
instance_id: 0,
source_guid: 0,
};
let entity = crate::package::fixture::build_creature_entity(&spawn, &template, 0, 0);
spawns.guid().delete(guid);
Expand Down Expand Up @@ -1780,6 +1784,8 @@ pub fn playerbots_quest_loop_fixture_stage_search_limit(
movement_type: 0,
respawn_secs: 0,
life_seq: 1,
instance_id: 0,
source_guid: 0,
};
let entity = crate::package::fixture::build_creature_entity(&spawn, &template, 0, 0);
spawns.guid().delete(guid);
Expand Down Expand Up @@ -1920,6 +1926,8 @@ pub fn playerbots_quest_loop_fixture_stage_corpse_limit(
movement_type: 0,
respawn_secs: 60,
life_seq: 1,
instance_id: 0,
source_guid: 0,
};
let mut entity = crate::package::fixture::build_creature_entity(&spawn, &template, 0, 0);
entity.health = 0;
Expand Down Expand Up @@ -1995,6 +2003,8 @@ pub fn playerbots_quest_loop_fixture_stage_corpse_limit_with_live_alternative(
movement_type: source_spawn.movement_type,
respawn_secs: source_spawn.respawn_secs,
life_seq: source_spawn.life_seq,
instance_id: 0,
source_guid: 0,
});
crate::package::fixture::insert_creature_entity(
ctx,
Expand Down
2 changes: 2 additions & 0 deletions playerbots/src/transfer_destination_fixture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ fn stage_creature(
movement_type: 0,
respawn_secs: 60,
life_seq: 1,
instance_id,
source_guid: 0,
};
let mut entity =
crate::package::fixture::build_creature_entity(&spawn, &template, 0, instance_id);
Expand Down
Loading