spelltargetconstraints

This table defines which spells contraints which target.

Structure

Field Type Default Comment
SpellID int(10) 0  
TargetType int(10) 0  
TargetID int(10) 0  

SpellID

The spell ID.

TargetType

0 = Creature
1 = Gameobject

TargetID

If TargetType = 0 it is the entry ID from creature_properties table, otherwhise it is the entry ID from gameobject_properties