Trinitycore: Respawn of flying NPCs

Created on 26 Nov 2017  路  3Comments  路  Source: TrinityCore/TrinityCore

Description:
When you respawn a NPC that has INHABIT_AIR with DespawnOrUnsummon foceRespawnTime, it is not spawned on its home position, but on the position where it was despawned (it is not visual desync). It also looses the ability to fly and fall to the ground. This bug does not apply to ground creatures.
Tested on Rimefang and Zhao-Ren.

Current behaviour:
NPC flies to some position, it is despawned and then spawned on the same position. After spawn, it falls to the ground and is not able to fly anymore.

Expected behaviour:
NPC flies to some position, it is despawned and then respawned on its home position. It should also has his ability to fly.

Steps to reproduce the problem:

  1. create or edit some NPC script where you add some movement and then respawn using DespawnOrUnsummon function

Branch(es): master

TC rev. hash/commit: b12b37058c863bcfecfefc965da45f31b604ee3b

TDB version: 720.00

Operating system: Win 7 x64

Most helpful comment

All 3 comments

Fixed by dynamic spawns, you must just wait for the cherry picks.

No need to keep open issues that just requires cherry picks from other branches.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tje3d picture tje3d  路  3Comments

Jildor picture Jildor  路  3Comments

funjoker picture funjoker  路  3Comments

Blasphemous picture Blasphemous  路  3Comments

besplash picture besplash  路  3Comments