238{
240 return false;
241
244 return false;
245
247 switch (targetInfo.GetSelectionCategory())
248 {
252 return true;
257 switch (targetInfo.GetObjectType())
258 {
260 return false;
263 default:
264 switch (targetInfo.GetReferenceType())
265 {
269 return true;
270 default:
271 break;
272 }
273 break;
274 }
275 break;
276 default:
277 break;
278 }
279
280 return false;
281}
@ TARGET_SELECT_CATEGORY_CONE
Definition: SpellInfo.h:81
@ TARGET_SELECT_CATEGORY_AREA
Definition: SpellInfo.h:82
@ TARGET_SELECT_CATEGORY_DEFAULT
Definition: SpellInfo.h:78
@ TARGET_SELECT_CATEGORY_NEARBY
Definition: SpellInfo.h:80
@ TARGET_SELECT_CATEGORY_CHANNEL
Definition: SpellInfo.h:79
@ TARGET_OBJECT_TYPE_DEST
Definition: SpellInfo.h:100
@ TARGET_OBJECT_TYPE_SRC
Definition: SpellInfo.h:99
@ TARGET_REFERENCE_TYPE_TARGET
Definition: SpellInfo.h:90
@ TARGET_REFERENCE_TYPE_CASTER
Definition: SpellInfo.h:89
Definition: SpellInfo.h:217
uint8 effIndex
Definition: SpellScript.h:82