Skip to content

Commit 0e0cf8a

Browse files
committed
nice
1 parent 8a96299 commit 0e0cf8a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

sql/updates/world/3.3.5/2025_10_16_00_world.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--
2-
UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 140, `EffectImplicitTargetA1` = 1, `RangeIndex`= 1,`EffectTriggerSpell1` = 47681 WHERE `Id` = 47680;
2+
UPDATE `spell_dbc` SET `ProcChance` = 101, `Effect1` = 140, `EffectImplicitTargetA1` = 25, `RangeIndex`= 13,`EffectTriggerSpell1` = 47681 WHERE `Id` = 47680;
33

44
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` = 47681;
55
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES

src/server/game/Entities/GameObject/GameObject.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2528,6 +2528,8 @@ void GameObject::SetLootState(LootState state, Unit* unit)
25282528
if (GetGoType() == GAMEOBJECT_TYPE_CHEST && state == GO_ACTIVATED)
25292529
{
25302530
GameObjectTemplate const* goInfo = GetGOInfo();
2531+
if (uint32 trapEntry = goInfo->chest.linkedTrapId)
2532+
TriggeringLinkedGameObject(trapEntry, unit);
25312533
if (goInfo->chest.chestRestockTime > 0 && m_restockTime == 0)
25322534
m_restockTime = GameTime::GetGameTime() + goInfo->chest.chestRestockTime;
25332535

0 commit comments

Comments
 (0)