darwolia
Members-
Posts
3 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
darwolia's Achievements
Newbie (1/3)
0
Reputation
-
TargetA[1-3] and TargetB[1-3] are all zero in dbc-file - looked them up via error_log("TargetA[1]=%i, 2=%i, 3=%i", m_spellInfo->EffectImplicitTargetA[1], m_spellInfo->EffectImplicitTargetA[2], m_spellInfo->EffectImplicitTargetA[3]); error_log("TargetB[1]=%i, 2=%i, 3=%i", m_spellInfo->EffectImplicitTargetB[1], m_spellInfo->EffectImplicitTargetB[2], m_spellInfo->EffectImplicitTargetB[3]); What do u mean? Set TargetA or TargetB? i don't have that much insight into server-code, so i don't know how to handle those. A little explanation would be useful
-
is there a chance for this to be added to SVN? it is needed to make kurinnaxx work properly...
-
What does this patch fix: GameObjects summoned by spell 25648 (Sand Trap) should be summoned at target-location, not at location of caster For Rev: r6324 link in Bug-Section: no written by: Darwolia Probably there could be a better solution - but some gameobjects summoned by SPELL_EFFECT_SUMMON_OBJECT_WILD should be summoned at location of target and not at location of caster. Example: sand trap (25648) Code is tested and works: Index: SpellEffects.cpp =================================================================== --- SpellEffects.cpp (revision 6324) +++ SpellEffects.cpp (working copy) @@ -4320,6 +4320,16 @@ else m_caster->GetClosePoint(x,y,z,DEFAULT_WORLD_OBJECT_SIZE); + // Sand Trap should be summoned at target, not at caster + if (m_spellInfo->Id == 25648) + { + if(!unitTarget) + return; + if(!unitTarget->isAlive()) + return; + unitTarget->GetClosePoint(x, y, z, DEFAULT_WORLD_OBJECT_SIZE); + } + Map *map = target->GetMap(); if(!pGameObj->Create(objmgr.GenerateLowGuid(HIGHGUID_GAMEOBJECT), gameobject_id, map,
Contact Us
To contact us
click here
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
You can also email us at [email protected]
Privacy Policy | Terms & Conditions
Copyright © getMaNGOS. All rights Reserved.
This website is in no way associated with or endorsed by Blizzard Entertainment®
This website is in no way associated with or endorsed by Blizzard Entertainment®