chore: reset dev position in Bruno ability-cast preset
parent
29a6c6d1a7
commit
b9343aeeda
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 10–11 resource-node gather). Runs before hotbar/target/cast (seq 20–22).
|
||||
}
|
||||
|
||||
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);
|
||||
});
|
||||
}
|
||||
Loading…
Reference in New Issue