killradio
killradio
You ill write SAI for each creature with inhabittype & 4 and waypoints? =] `WAYPOINT_MOVE_TYPE_TAKEOFF` already implemented in WaypointMovementGenerator and in case it calls `init.SetAnimation(Movement::ToFly)`, but if commented right, it...
Another one problem: NPCs with InhabitType = 4 during combat, after some events can land the ground and walk around. Sometimes, after evade/reset they lost flying animation and walk in...
@pete318 Already changed and range looks ok, tested multiple spells with .dist command. https://gist.github.com/killradio/43e71952bf2ab0e388d3
@tkrokli check this pr https://github.com/TrinityCore/TrinityCore/pull/16290
@tkrokli updated gist : https://gist.github.com/killradio/43e71952bf2ab0e388d3 But still, this issue should be discussed a bit more, since I see questions about z range.
@Aokromes my changes almost the same as https://github.com/TrinityCore/TrinityCore/pull/16290 but cover all SPELL_EFFECT_APPLY_AREA_AURA_\* [FRIEND/ENEMY/PARTY/RAID] and @chaodhib only changed for SPELL_EFFECT_APPLY_AREA_AURA_ENEMY with 2D (I dunno why he decided to skip z in...
@Trisjdc ``` cpp void Creature::Respawn(bool force) { DestroyForNearbyPlayers(); ... RemoveCorpse(false); if (getDeathState() == DEAD) { ... SelectLevel(); setDeathState(JUST_RESPAWNED); ... } UpdateObjectVisibility(); } ``` SelectLevel() -- function where UNIT_FIELD_LEVEL is set...
The problem is that unit update packet sent after visibility is updated. If I read code right.
@jackpoz tested with normal account, without gmlevel.
@NorthStrider seems like you are right, but date of last answer is making me sad... But still, if it spawns new creature at official server, or, I suppose, another creature...