Finding True Sight / Sound Mobs
You can see all mobs in the db with true sight / sound with this query:
Code: Select all
select count(*) from mob_pools where behavior & 8 = 8 or behavior & 16 = 16;
You can also go into the sql/mob_pools.sql file and search for mobs yourself.
Fixing it
Once you found a mob that has the wrong behavior. You can remove a behavior by subtracting the behavior number. The true sight number is 8, so minus 8 from the behavior value.
You can find all the behavior numbers in src/map/entities/mobentity.h. Remember these numbers are in hexidecimal so you have to convert it to decimal.
Behaviors can be added by adding the behavior number.