Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[12815] Allow GAMEOBJECT_TYPE_TRAP respawn using SCRIPT_COMMAND_RESPA…
…WN_GAMEOBJECT
- Loading branch information
Showing
2 changed files
with
3 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#ifndef __REVISION_NR_H__ | ||
#define __REVISION_NR_H__ | ||
#define REVISION_NR "12814" | ||
#define REVISION_NR "12815" | ||
#endif // __REVISION_NR_H__ |
b5e29d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah nice, thank you. I know exactly where to use this! :)
b5e29d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I faced recently a similar quest script involving the spawning of a button GO. May I ask why the core is not allowed to spawn objects GAMEOBJECT_TYPE_BUTTON?
b5e29d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please give the full context. Quest id, Go id, etc...
b5e29d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course. You will find all the relevant data here:
classicdb/database@b5d4eeb
Unfortunately, I was unable to find a reliable video of the event. So if you have any question regarding the right behaviour, feel free to ask. 😄
b5e29d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technical note:
At the moment SCRIPT_COMMAND_RESPWAN_GO will use
as respawn delay.
This might result in despawn-spawned mobs to be spawned only for a short time. Maybe we should change this to preserve 0 if given in the database.
The limitations on excluding Buttons, .... is in my opinion stupid, and i think it is save to only limit doors with this command.
b5e29d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In other words, I can safely push a commit similar to this one to remove the limitation on Buttons?
b5e29d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes ;)