spell_script_target Table
Defines script targets for spells - restricts spell to specific creatures or game objects.
Schema Summary
Field Breakdown
entry - Spell ID. (see spell_template.entry)
type - Target kind (enum SpellTargetType, SpellMgr.h):
| Value |
Meaning |
targetEntry is |
| 0 |
GAMEOBJECT |
gameobject template entry |
| 1 |
CREATURE |
creature template entry |
| 2 |
DEAD creature |
creature entry, must be dead |
| 3 |
PLAYER |
- (targetEntry unused) |
- targetEntry - Template entry of the required target (see table). (see creature_template.entry or gameobject_template.entry) |
|
|
- conditionId - Condition. (see conditions.condition_entry) |
|
|
- inverseEffectMask - Bitmask over effect indexes (1 = effect 1, 2 = effect 2, |
|
|
4 = effect 3): effects with their bit set do not hit the scripted target defined here. |
|
|
- build_min / build_max - Client build range. |
|
|