Commit Graph

6042 Commits

Author SHA1 Message Date
Adam B
63790adbfe Add code that changes the faction of Tortheldrin in Dire Maul (#28581)
* 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>
2023-04-11 23:11:48 +02:00
lee
60b75e3b6e Scripts/Misc:fix npc_professions locale text (#27894)
* fix npc_professions locale text

fix npc_professions locale text load from db

* fix dup sql

fix dup sql

* add condition and gossip option

add condition and gossip option for money cost depends on player level

* add missing update statements

* Rename 9999_99_99_world.sql to 2023_03_24_00_world.sql

---------

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2023-03-24 10:52:44 +01:00
M'Dic
48f9a807f3 Update (core\log): Log correction (#28802)
Loading AreaTrigger definitions to Loading Area Trigger Teleports definitions
and also Re-Loading AreaTrigger teleport definitions to Re-Loading Area Trigger Teleport definitions
2023-03-10 10:26:25 +01:00
Shauren
70e985c7f7 Scripts/Events: Fixed infinite loop with auras 71507 and 71508 casting each other when unit is removed from map 2023-02-09 10:26:42 +01:00
Shauren
9d8fc90371 Scripts/Icecrown Citadel: Added missing empty check before SelectRandomContainerElement 2023-01-06 01:46:57 +01:00
Mikhail Redko
dc221604d9 Core/Scripts: Implemented Zort's Protective Elixir (#28372)
* Core/Scripts: Implemented Zort's Protective Elixir

* Rename XXXX_XX_XX_XX_world.sql to 2022_12_23_00_world.sql

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2022-12-23 15:08:58 +01:00
Badgersson
d91c4526e1 Core/Spells: resurrection after raise ally (#28582)
(fix #26296)player->IsResurrectRequested() now is called with spell_dk_raise_ally_Aura removing
2022-12-23 14:26:28 +01:00
Ovah
f2fcd6746c Scripts/Halls of Lightning: reworked General Bjarngrim Encounter (#28457)
* handle missing visuals
* reworked all AI scripts
* handle missing mechanic of Arc Weld
* reworked the whole waypoint and tempoary electrical charge handling
* moved Stormforged Lieutenants to their own spawn group to handle their spawning/despawning via boss
* moved the Tempoary Electrical Charge mechanic from spell_linked_spell to spell script instead
* replaced hacky virtual items for Bjarngrim's stances with sniffed ones
2022-11-04 13:08:34 +01:00
Malcrom
8c64457edc Scripts/Quest: Refactor Last Rites (#28328) 2022-10-14 19:54:35 +02:00
Malcrom
f7ebdd3631 Scripts/Quest: Improved script for Abduction (#28306) 2022-10-14 14:33:35 +02:00
Malcrom
f98e2bcab4 Scripts/Quests: Help Those That Cannot Help Themselves (#28304) 2022-10-14 14:09:48 +02:00
Shauren
900a2f6d88 Scripts/Gossips: Set gossip menu id for scripts that load menu items from database 2022-10-12 00:41:49 +02:00
Malcrom
0174e6ba80 Scripts/Eversong Woords: Add cosmetic script for a party (#28308) 2022-10-04 10:24:54 +02:00
Malcrom
5ffe5bd43a DB/Scripts: Move Quest "Aces High!" gossip menu to database (#28300) 2022-10-02 13:45:23 +02:00
Malcrom
c0758ae6f3 Scripts/BoreanTundra: Modernized Unfit for Death (11865) implementation (#28297) 2022-10-02 04:47:02 +02:00
Shauren
753a901928 Scripts/Hyjal: Change boss state management from SetData to SetBossState 2022-09-29 00:39:44 +02:00
Shauren
08d2b6743a Scripts/Karazhan: Mark optional boss as completed when it dies 2022-09-28 00:40:06 +02:00
Shauren
6260a95763 DB/Ahn'Qiraj Temple: Added spawn groups for bosses 2022-09-28 00:15:00 +02:00
Shauren
349ba4e74a DB/Ruins of Ahn'Qiraj: Added spawn groups for bosses 2022-09-27 23:40:04 +02:00
Shauren
ace57b11c2 DB/Zul'gurub: Added spawn groups for bosses and prevent multiple Gahz'ranka summons 2022-09-27 20:14:11 +02:00
Shauren
7114bc6881 Scripts/Halls of Reflection: Prevent repeating Falric kills after wiping on Marwyn or add waves > 5 2022-09-27 16:17:43 +02:00
Shauren
2d027e56ad Scripts/The Escape From Durnholde: Minor improvements
* Converted to BossAI
* Prevent repeating boss kills on Thrall event wipe
2022-09-27 00:08:16 +02:00
Shauren
7eb482ed84 Nopch build fix 2022-09-26 00:25:02 +02:00
Shauren
e3ac84b929 Scripts/The Underbog: Added spawn groups for bosses and implemented boss state tracking 2022-09-25 23:10:09 +02:00
Ovah
9ef9b79e84 Scripts/Halls of Lightning: reworked Volkhan encounter (#28282)
* modernized the whole code
* moved several mechanics to spell script where they belong
* handle missing visuals for Volkhan's Anvil
2022-09-25 20:21:44 +02:00
Shauren
9082eca660 DB/Icecrown Citadel: Migrate linked_respawn to spawn groups 2022-09-25 00:15:12 +02:00
Ovah
f82f97305d Scripts/Halls of Stone: Modernized Halls of Stone instance script (#28280) 2022-09-24 15:06:08 +02:00
Shauren
7893c52fb7 Nopch build fix 2022-09-23 19:30:38 +02:00
Ovahlord
8b87b6a058 Scripts/HoL: follow naming standards for boss enums and dropped unused overriden methods from instance script 2022-09-23 19:06:12 +02:00
Ovahlord
9dcb602138 Scripts/HoO: removed a redudant summons.DespawnAll() call from Ionar's script 2022-09-23 19:06:12 +02:00
Ovahlord
dfcc9c69e7 Scripts/HoL: converted Ionar's AI to BossAI 2022-09-23 19:06:12 +02:00
Ovahlord
0efe2a0fa5 Scripts/HoL: converted General Bjarngrim's to BossAI 2022-09-23 19:06:12 +02:00
Ovahlord
7a73b8412a Scripts/HoL: modernized instance script 2022-09-23 19:06:12 +02:00
Shauren
63275e7316 Dynamic build fix 2022-09-23 19:04:35 +02:00
Shauren
46560070ae DB/The Sunwell: Migrate linked_respawn to spawn groups
* Also fixed Felmyst not spawning after server reset if Brutallus was killed

Closes #27904
2022-09-23 17:56:50 +02:00
Shauren
8962d80224 Scripts/The Sunwell: Move Brutallus and Felmyst to BossAI 2022-09-23 16:43:41 +02:00
Shauren
01f0f83139 Scripts: Fixed missing boss count initialization in The Slave Pens and The Botanica as well as incorrect map id assignment to Auchenai Crypts spawn groups
Closes #28278
2022-09-23 09:59:58 +02:00
Shauren
9fcc820016 Nopch build fix 2022-09-21 21:51:20 +02:00
Shauren
4af8548206 DB/Mana-Tombs: Migrate linked_respawn to spawn groups 2022-09-21 01:02:50 +02:00
Shauren
400d7e20d0 Scripts/Serpentshrine Cavern: Move to BossAI 2022-09-20 19:53:50 +02:00
Shauren
c0c8c3bf5d DB/The Slave Pens: Migrate linked_respawn to spawn groups 2022-09-20 19:01:12 +02:00
Shauren
f982e566a7 DB/Shattered Halls: Migrate linked_respawn to spawn groups 2022-09-20 16:24:31 +02:00
Shauren
9cac8d88cf DB/Naxxramas: Migrate linked_respawn to spawn groups 2022-09-20 16:00:21 +02:00
Shauren
cc6e0bfeb4 DB/Karazhan: Migrate linked_respawn to spawn groups 2022-09-19 22:56:20 +02:00
Shauren
ec085ffc85 DB/Deadmines: Migrate Deadmines linked_respawn to spawn groups 2022-09-19 21:54:28 +02:00
lee
fea9de5b17 Scripts/Battle for Mount Hyjal:Fix wrong npc text,trash movment,archimode last phase (#27910)
* 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>
2022-09-11 17:33:25 +02:00
M'Dic
5ec5e1e1d0 Scripts/Events: Ironforge hourly bell event correction (#28234)
Changes go_bells script to play the BellTollDwarfGnome once at every hour.

References:
https://www.reddit.com/r/classicwow/comments/ou0rw5/question_what_is_that_super_loud_bellowing/
cherry-pick commit (Hourly bell: Dwarf horn sound should only play once vmangos/core#1569)

Co-authored-by: schell244 <9536270+schell244@users.noreply.github.com>
2022-09-08 18:19:15 +02:00
ihm-tswow
44ac5cbbea Core/Misc: Store skillline abilities grouped by skill id (#28199) 2022-09-02 15:11:51 +02:00
Dan Johnson
6b2fac687d Scripts/Naxxramas: Fixed number of affected targets for Cripple and Curse spells in 25 man version of Noth the Plaguebringer encounter (#28161) 2022-07-30 15:38:02 +02:00
offl
53cc21b1b4 Scripts/Spells: Random fixes (#28143) 2022-07-21 00:29:46 +03:00