Quest 27693 The Warden's Game

This is a 4XX quest. I put it here in the hope someone can script it in the future.

This is info I have gathered hopefully someone can script this quest. I have given a suggestion but there may be a better way of scripting quest.

Quest 27693 The Warden’s Game

http://www.wowhead.com/quest=27693

on quest accept questgiver 46339 “Warden’s Game Controller” make Player cast Spell ID: 86342 8 times (SAI should be able to do this)

Player cast Spell ID: 86342 Destination Position: X: -6966.45 Y: -3445.15 Z: 200.8954

Player cast Spell ID: 86342 Destination Position: X: -6966.5 Y: -3447.149 Z: 200.8954

Player cast Spell ID: 86342 Destination Position: X: -6964.5 Y: -3447.199 Z: 200.8954

Player cast Spell ID: 86342 Destination Position: X: -6962.501 Y: -3447.25 Z: 200.8954

Player cast Spell ID: 86342 Destination Position: X: -6962.451 Y: -3445.25 Z: 200.8954

Player cast Spell ID: 86342 Destination Position: X: -6962.4 Y: -3443.251 Z: 200.8954

Player cast Spell ID: 86342 Destination Position: X: -6964.4 Y: -3443.201 Z: 200.8954

Player cast Spell ID: 86342 Destination Position: X: -6966.399 Y: -3443.15 Z: 200.8954

Creature 46344 “Warden’s Pawn” cpp script On spawn

case X: -6966.45 Y: -3445.15 Z: 200.8954 set facing 3.116445

case X: -6966.5 Y: -3447.149 Z: 200.8954 set facing -2.381342

case X: -6964.5 Y: -3447.199 Z: 200.8954 set facing -1.595947

case X: -6962.501 Y: -3447.25 Z: 200.8954 set facing -0.810486

case X: -6962.451 Y: -3445.25 Z: 200.8954 set facing -0.02514732

case X: -6962.4 Y: -3443.251 Z: 200.8954 set facing 0.7602509

case X: -6964.4 Y: -3443.201 Z: 200.8954 set facing 1.545646

case X: -6966.399 Y: -3443.15 Z: 200.8954 set facing 2.331107

SPELLCLICK 46344 “Warden’s Pawn” on click cast 86368 “Warden’s Game: Teleport Effect” on self

SPELL 86342 Scripting

Set variable Free(X: -6964.45 Y: -3445.2 Z: 200.8954)

SPELL 86368 Scripting

variable Pos = clicked 46344 (x,y,z)

cast spell with Destination Position: = Free(x,y,z)

Free(x,y,z) = Pos(x,y,z)

count byte = 0

ileterate through all spawned 46344

case 46344(x,y,z,o) = X: -6966.45 Y: -3445.15 Z: 200.8954 O: 3.116445

count = count + 1

case 46344(x,y,z,o) = X: -6966.5 Y: -3447.149 Z: 200.8954 O: -2.381342

count = count + 1

case 46344(x,y,z,o) = X: -6966.5 Y: -3447.149 Z: 200.8954 O: -2.381342

count = count + 1

case 46344(x,y,z,o) = X: -6962.501 Y: -3447.25 Z: 200.8954 O: -0.810486

count = count + 1

case 46344(x,y,z,o) = X: -6962.451 Y: -3445.25 Z: 200.8954 O: -0.02514732

count = count + 1

case 46344(x,y,z,o) = X: -6962.4 Y: -3443.251 Z: 200.8954 O: 0.7602509

count = count + 1

case 46344(x,y,z,o) = X: -6964.4 Y: -3443.201 Z: 200.8954 O: 1.545646

count = count + 1

case 46344(x,y,z,o) = X: -6966.399 Y: -3443.15 Z: 200.8954 O: 2.331107

count = count + 1

if count = 8 then

player cast 95926 on self

player cast 86394 on self hits all 46344 “Warden’s Pawn”

46344 “Warden’s Pawn” & 46339 “Warden’s Game Controller” get aura update 86394

UpdateType: Values

GUID: Full: 0xF530B50800000000 Type: Unit Entry: 46344 Low: 8126413

UNIT_FIELD_FLAGS_2: 2049/2.871261E-42

UNIT_FIELD_DISPLAYID: 35050/4.911551E-41

UNIT_DYNAMIC_FLAGS: 32/4.484155E-44

UNIT_NPC_FLAGS: 0/0

UpdateType: Values

GUID: Full: 0xF530B50800000000 Type: Unit Entry: 46344 Low: 8126420

UNIT_FIELD_DISPLAYID: 35050/4.911551E-41

UNIT_DYNAMIC_FLAGS: 32/4.484155E-44

UNIT_NPC_FLAGS: 0/0

after 3 sec destroy all 46344 & 46339

So the whole point of the quest is to make all creatures appear in a different spot then where they spawned, right? Seems like a fun one to do. /emoticons/default_smile.png

Yes, I figure it shouldn’t be too hard for someone with cpp skills.

Yep, looks funny to do.

first they look away from the player but when all are right they all face the player

Hi, this is what I managed to do thanks to the data you provided Malcrom.

Commit it or do not commit it, I don’t really care, I just feel bad using the data and not providing anything in return.

http://pastebin.com/NE7iP75p

If you think it is sufficiently blizzlike, a PR on the issue tracker is a better idea.