* Add code that changes the faction of Tortheldrin
Per WoW Classic, Tortheldrin becomes hostile after Immolthar is killed. This code implements an event that does this.
* Bug fix.
Fixed a bug where the server would crash if the bosses were already dead and the player zoned in.
* Recommited with the correct path.
Signed-off-by: Adam Bajac <adam@asblab.work>
* Removed wrong file.
Signed-off-by: Adam Bajac <adam@asblab.work>
* Made changes requested by jackpoz.
Signed-off-by: Adam Bajac <adam@asblab.work>
* Corrected a syntax error after testing.
- Tested in game and confirmed all is working.
Signed-off-by: Adam Bajac <adam@asblab.work>
* Removed whitespace changes.
Signed-off-by: Adam Bajac <adam@asblab.work>
* Changed the script to use OnUnitDeath rather than an event.
Signed-off-by: Adam Bajac <adam@asblab.work>
* Removed the IMMO_DEAD_CHECK event.
Signed-off-by: Adam Bajac <adam@asblab.work>
* Removed redundant comma.
Signed-off-by: Adam Bajac <adam@asblab.work>
---------
Signed-off-by: Adam Bajac <adam@asblab.work>
Co-authored-by: Adam B <adam@avalonglobal.com>
* Fix wrong npc text,trash movment,archimode last phase
1.Fix wrong npc text for Jania,Thrall,Tyrande.
2.Change Hyjal trash movement from walk to run.
3.Fix archimode drain worldtree event.
4.Fix archimode below 10% hp phase.Case Protection of elune on player.
* fix code style
fix code style
* fix wrong type
* Revert "fix wrong type"
This reverts commit 204c45f7d7.
* fix wrong type
* Update boss_archimonde.cpp
* add missing Creature Text
* fix code style
* Update hyjalAI.cpp
* do some work to prevent respawn mobs in combat
* remove dup yell at alliance base
* fix code style
* fix SPELL_METEOR unvisiable when spawn Giant Infernal
* change to DoCastSelf
* hide archimonde doomfire spirit visual
* fix code style
* fix SQL warning when startup server
* fix code style
* move SetRun out of constructor
* remove target list
* move setRun
* fix code style
* Change npctext ID to high ID.Fill text into Creature Text
Change npctext ID to high ID.
Fill text into Creature Text.
* Remove Magic Numbers
* change npctext high ID
* fix change high npc_text id in code
* remove setCanFly,add flight state to db
* change npc_text id
* change npc yell condition after second boss dead
* update npc_text IDs taken from sniff file.
Updated IDs taken from sniff file provided by Aokromes.
* remove MoveInLineOfSight
* move protection_of_elune immuity effect to spell script
* move worldtree channel target to db
Move worldtree channel target to db
Fix wrong position and movement_type of worldtree channel target
* update wrong npc_text IDs in code
* remove CastProtectionOfElune
* remove SetVisible(false),change flags_txtra of doomfire(18095) and doomfire_spirit(18104)
* update sql
* fix compile error
* revent spawntime,move guards say slay and say death to db
* Move code from Initialize() to Reset()
Move code from Initialize() to Reset()
Move code from Initialize() to Reset()
Update boss_archimonde.cpp
* remove unneeeary ->AI()
* Update hyjal_trash.cpp
* Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_archimonde.cpp
* Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjalAI.cpp
* Rename 9999_99_99_world.sql to 2022_09_11_00_world.sql
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
* This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight
* Despawn Wind Stone after use, allow it to respawn (remove GO_FLAG_NODESPAWN on initialize)
* Re-check twilight set aura on GossipSelect (don't allow to summon without wearing set)
* Fix spell Abyssal Punisment (24803) not casting when interacting with stone without required items
* Fix miniboss not despawning after leaving combat
* Fix possible exploit of spawning many minibosses from a single wind stone spawn
* Improve creature scripts
* Set correct respawn time for wind stones
Closes#27698Closes#26814
* Core/SAI: Warn when an unused parameter is set in the database
* Warn when an unused parameter is set in the database as all unused parameters are supposed to be set to 0.
* Remove unused struct from union.
* Add a new struct simpleTalk for SMART_ACTION_SIMPLE_TALK instead of reusing only some fields of struct talk from SMART_ACTION_TALK
* Add addAura and flag structs to be used instead of generic ones to match the parameters used by actions
* Add randRangeTimedActionList struct to be used instead of generic ones to match the parameters used by actions.
* Remove unused action structs.
NPC was using GOSSIP_OPTION_QUESTGIVER as a UNIT_NPC_FLAGS when it should have been using UNIT_NPC_FLAG_QUESTGIVER.
Behavior shouldn't change though as they both coincidentally were 2.