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

Teppic1 picture Teppic1  路  3Comments

cbcs picture cbcs  路  3Comments

Rushor picture Rushor  路  3Comments

Rochet2 picture Rochet2  路  3Comments

Jonne733 picture Jonne733  路  3Comments