Trinitycore: Stinglasher

Created on 13 Feb 2021  路  5Comments  路  Source: TrinityCore/TrinityCore

Stinglasher in Feralas doesn't give in to aggression. If you start to attack him, he will go further
https://www.wowhead.com/npc=14661/stinglasher
Entry 14661

3.3.5
rev. 0dee695

Branch-3.3.5a Comp-Database Feedback-PatchFix

Most helpful comment

Ohhhh I love this

Ok, here's what happened
I removed flight state

CreatureId  Ground    Swim  Flight  Rooted   Chase  Random  
----------  ------  ------  ------  ------  ------  --------
     14661       0       1       1       0       0         0

Here

CreatureId  Ground    Swim  Flight  Rooted   Chase  Random  InteractionPauseTimer  
----------  ------  ------  ------  ------  ------  ------  -----------------------
     14661       0       1       0       0       0       0                   (NULL)

And now creature is treated as aquatic by core. This. This is exactly why I said those should be flags. Because it's way much easier to work with one flag rather than with 5 bools which are linked together and the data of the whole table is incomplete, based on nothing and should be cleaned before retail data can be used. They are flags even in retail and they don't have old shitty data.

All 5 comments

Ohhhh I love this

Ok, here's what happened
I removed flight state

CreatureId  Ground    Swim  Flight  Rooted   Chase  Random  
----------  ------  ------  ------  ------  ------  --------
     14661       0       1       1       0       0         0

Here

CreatureId  Ground    Swim  Flight  Rooted   Chase  Random  InteractionPauseTimer  
----------  ------  ------  ------  ------  ------  ------  -----------------------
     14661       0       1       0       0       0       0                   (NULL)

And now creature is treated as aquatic by core. This. This is exactly why I said those should be flags. Because it's way much easier to work with one flag rather than with 5 bools which are linked together and the data of the whole table is incomplete, based on nothing and should be cleaned before retail data can be used. They are flags even in retail and they don't have old shitty data.

--
UPDATE `creature_template_movement` SET `Ground` = 1 WHERE `CreatureId` = 14661;

looks wonderful! Ohh I cant update the table without rebooting the server to check this

BTW, is it correct for a constantly flying creature, especially one of the insect-like ones, to be able to swim?

0e7f0b1b85cfb293415de23da932a37ccba60883

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Vincent-Michael picture Vincent-Michael  路  98Comments

ZenoX92 picture ZenoX92  路  53Comments

Albis picture Albis  路  67Comments

MrSmite picture MrSmite  路  60Comments

n4ndo picture n4ndo  路  51Comments