mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[10842] Allow fill DB table spell_script_target for TARGET_AREAEFFECT_INSTANT(7)
Without any database entries for spell, spell will work like before. Valid targets filled to database can only be creature type (corpse or alive). Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
08b32d7d32
commit
1b4209699f
3 changed files with 42 additions and 2 deletions
|
|
@ -2960,6 +2960,8 @@ void SpellMgr::LoadSpellScriptTarget()
|
|||
spellProto->EffectImplicitTargetB[i] == TARGET_SCRIPT_COORDINATES ||
|
||||
spellProto->EffectImplicitTargetA[i] == TARGET_FOCUS_OR_SCRIPTED_GAMEOBJECT ||
|
||||
spellProto->EffectImplicitTargetB[i] == TARGET_FOCUS_OR_SCRIPTED_GAMEOBJECT ||
|
||||
spellProto->EffectImplicitTargetA[i] == TARGET_AREAEFFECT_INSTANT ||
|
||||
spellProto->EffectImplicitTargetB[i] == TARGET_AREAEFFECT_INSTANT ||
|
||||
spellProto->EffectImplicitTargetA[i] == TARGET_AREAEFFECT_CUSTOM ||
|
||||
spellProto->EffectImplicitTargetB[i] == TARGET_AREAEFFECT_CUSTOM)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue