mirror of
https://github.com/mangosfour/server.git
synced 2025-12-29 16:37:04 +00:00
[8676] implemented dead-visible creature flags_extra
with this flag you can specify a creature to be only visible for dead players - this removes all hacks from spiritguides/spirithealers from code and allows some other special creatures i decided to not implement an extra deathstate cause actualy those creatures are almost equal to living ones
This commit is contained in:
parent
aa87b7007c
commit
a2ff999fd3
13 changed files with 24 additions and 31 deletions
5
sql/updates/8676_01_mangos_creature_template.sql
Normal file
5
sql/updates/8676_01_mangos_creature_template.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8618_01_mangos_spell_proc_event required_8676_01_mangos_creature_template bit;
|
||||
|
||||
-- set all spirithealer and spiritguides to be visible only for dead people
|
||||
UPDATE creature_template SET flags_extra = flags_extra | 0x200
|
||||
WHERE npcflag & (16384 | 32768);
|
||||
Loading…
Add table
Add a link
Reference in a new issue