The `spell_area` table
...
33555378 (2 + 16 + 32 + 128 + 256 + 512 + 33554432) = Horde Only
18875469 (1 + 4 + 8 + 64 + 1024 + 2097152 + 16777216) = Alliance Only
...
flags
Flag | Name | Comment | |
---|---|---|---|
1 | 0x01 | SPELL_AREA_FLAG_AUTOCAST | If the spell should be automatically applied when the character enters the area. Also prevents the user from removing it. |
2 | 0x02 | SPELL_AREA_FLAG_AUTOREMOVE | If the spell should be automatically removed when the character is inside the area (only works with quest updates) |
Note: Spell is allways removed on leaving area, SPELL_AREA_FLAG_AUTOREMOVE does not effect this.
Example:
flags = 0 : Spell not added on enter (must be added manually), not automatically removed on quest update, but removed on leave.
flags = 1 : Spell is automatically applied on enter, not automatically removed on quest update, but removed on leave.
flags = 2 : Spell must be applied manually ( not added on enter (must be added manually), automatically removed on quest update and removed on leave.
flags = 3 : (Default) Spell is automatically applied on enter, automatically removed on quest update and removed on leave.
...