mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9317] Call linkedtrap summon in more cases.
* GAMEOBJECT_TYPE_BUTTON can have linked traps * Spell::EffectSummonObject also can summon objects with linked traps Thanks to patman128 for research second case. Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
02c23b247e
commit
87a35b0489
5 changed files with 52 additions and 43 deletions
|
|
@ -5959,6 +5959,8 @@ void ObjectMgr::LoadGameobjectInfo()
|
|||
{
|
||||
if (goInfo->button.lockId)
|
||||
CheckGOLockId(goInfo,goInfo->button.lockId,1);
|
||||
if (goInfo->button.linkedTrapId) // linked trap
|
||||
CheckGOLinkedTrapId(goInfo,goInfo->button.linkedTrapId,3);
|
||||
CheckGONoDamageImmuneId(goInfo,goInfo->button.noDamageImmune,4);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue