Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Improve handle of SPELL_EFFECT_OPEN_LOCK for GAMEOBJECT_TYPE_TRAP
Improve the way traps are handled when targetted by SPELL_EFFECT_OPEN_LOCK (like disarm trap spell). Instead of being desactivated and despawning, they change state and use an alternate visual for the duration of the open lock (which is equal to the GO respawn time). They are then rearmed (back to GO_STATE_READY) This should fix: - the disarming of Suppression Device traps in BWL that were despawning instead of being disarmed - quests 4734 and 4735 in UBRS where egg traps were still triggering instead of temporary changing state as expected
- Loading branch information
Showing
4 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters