chore: reset dev position in Bruno ability-cast preset

pull/75/head
VinPropane 2026-05-10 19:17:09 -04:00
parent 29a6c6d1a7
commit b9343aeeda
2 changed files with 40 additions and 0 deletions

View File

@ -4,6 +4,10 @@ meta {
seq: 20
}
docs {
Full-collection order: run `Post move reset dev spawn before cast` (seq 15) first if the dev player was moved by earlier requests (e.g. gather near resource node).
}
post {
url: {{baseUrl}}/game/players/dev-local-1/hotbar-loadout
body: json

View File

@ -0,0 +1,36 @@
meta {
name: POST move - reset dev spawn (ability-cast preset)
type: http
seq: 15
}
docs {
Resets authoritative position to `Game:DefaultPosition` (~-5, 0.9, -5) so `prototype_target_alpha` lock and cast range checks pass when the collection ran earlier requests that moved the player (e.g. seq 1011 resource-node gather). Runs before hotbar/target/cast (seq 2022).
}
post {
url: {{baseUrl}}/game/players/{{playerId}}/move
body: json
auth: none
}
headers {
content-type: application/json
}
body:json {
{
"schemaVersion": 1,
"target": {
"x": -5,
"y": 0.9,
"z": -5
}
}
}
tests {
test("status 200", function () {
expect(res.getStatus()).to.equal(200);
});
}