Commit Graph

5235 Commits

Author SHA1 Message Date
Jelle Meeus
cc03798123 fix(Core/Spells): Jump Speed Calculations (#20479)
Core/Spell: Jump Speed Calculations

0197a2f990

Co-authored-by: DanVS <33371360+DanVS@users.noreply.github.com>
2024-11-12 12:16:41 -03:00
Jelle Meeus
3565e4a9eb feat(Core/WorldState): improved WorldState scripting (#20141)
* implement world state script

based on
0b87ca9d9e

Co-authored-by: killerwife <killerwife@gmail.com>

* refactor to use onleave and onenter instead of spell_area

allows players to right click remove adal's buff

* add MapMgr.h

* refactor: use condition enum instead of uint32, prefix WORLD_STATE where needed

* remove lock from WorldState::Update

sWorldState->Update() is only called from World::Update

* remove unsafe SmartAI action of setWorldState

---------

Co-authored-by: killerwife <killerwife@gmail.com>
2024-11-12 12:15:27 -03:00
Andrew
e80b0ce8b8 fix(Scripts/ZulAman): Set Akilzon encounter in progress when engaged (#20531) 2024-11-12 11:50:09 -03:00
Grimdhex
156f634637 fix(Build/Deps): Increase minimal Boost versions and remove old compatibilities (#20287)
* fix(Core/Common): remove conditions for unsupported boost versions

* fix Cmake version requiert acording to wiki
2024-11-11 16:54:32 -03:00
Jelle Meeus
5f7d1d302f fix(Scripts/BoreanTundra): make Escape from the Winterfin Caverns group completable (#20359)
Group instead of Area
2024-11-11 16:53:07 -03:00
Andrew
519daf9cc7 refactor(Scripts/SunwellPlateau): Modernize Eredar Twins script (#20516) 2024-11-11 06:09:08 -03:00
Andrew
fec7c88b51 fix(Scripts/ZulAman): Amani Hatchers should hatch eggs at increasing … (#20497) 2024-11-11 05:58:44 -03:00
Andrew
0ce15f0f5a refactor(Scripts/SunwellPlateau): Refactor areatriggers to OnlyOnceAr… (#20515)
refactor(Scripts/SunwellPlateau): Refactor areatriggers to OnlyOnceAreatrigger
2024-11-11 02:56:27 -03:00
Andrew
e741a9a87f feat(Core/Scripting): Implement SetInvincibility() to prevent creatur… (#20508) 2024-11-11 00:22:03 -03:00
Andrew
7f558f4e38 refactor(Scripts/MagisterTerrace): Move Kalecgos script to SAI (#20495)
* refactor(Scripts/MagisterTerrace): Move Kalecgos script to SAI

* Update instance_magisters_terrace.cpp
2024-11-11 00:58:51 +01:00
Andrew
4470891310 fix(Scripts/MagisterTerrace): Add all spells to SpellDifficulty dbc (#20502) 2024-11-10 15:51:28 -03:00
Andrew
b16a610789 fix(Scripts/SSC): Improve Tainted Elemental combat behaviour (#20505)
* fix(Scripts/SSC): Improve Tainted Elemental combat behaviour

* Update boss_lady_vashj.cpp
2024-11-10 15:45:17 -03:00
Andrew
bf925eda3c refactor(Scripts/SWP): Update creature scripts to new register method (#20503) 2024-11-10 15:44:35 -03:00
Andrew
3866c35f2f fix(Scripts/Commands): Remove Spirit of Redemption when using Revive … (#20492)
fix(Scripts/Commands): Remove Spirit of Redemption when using Revive command
2024-11-10 15:02:02 -03:00
Andrew
8e05cd7e80 refactor(Scripts/ZulAman): Move Spirit of the Lynx to SAI (#20498) 2024-11-10 14:55:04 -03:00
Andrew
91b8cc29cf fix(Scripts/Spells): Limit Cyclone (39594) to 4 targets (#20506) 2024-11-10 14:54:33 -03:00
Andrew
e8366f6935 fix(Scripts/SSC): Fix Leotheras running in melee range in demon phase (#20507)
* fix(Scripts/SSC): Fix Leotheras running in melee range in demon phase

* Update boss_leotheras_the_blind.cpp
2024-11-10 14:54:05 -03:00
Andrew
4da49dd63a fix(Scripts/ZulAman): Fix crash in Nalorakk script (#20499) 2024-11-10 15:33:01 +01:00
Andrew
734bcb5d10 chore(Core/Creature): Fix typo (#20510) 2024-11-10 15:21:58 +01:00
Andrew
e2be8fb296 fix(Scripts/ZulAman): Fix Akilzon not spawning eagles and update script (#20493)
* fix(Scripts/ZulAman): Fix Akilzon not spawning eagles and update script

* Update boss_akilzon.cpp
2024-11-10 08:41:46 -03:00
Andrew
8904a13304 fix(Scripts/ZulAman): Fix Sacrifice timers not updating after latest … (#20490) 2024-11-10 08:41:26 -03:00
Andrew
d73ebe2e38 fix(Core/SAI): Don't try to reposition Rooted inhabit type creatures (#20504) 2024-11-10 04:54:01 -03:00
Andrew
7b8fadaa0c refactor(Scripts/ZulAman): Move Jan'alai Fire Bomb to SAI (#20496) 2024-11-09 20:11:56 -03:00
Andrew
82d43ee52a fix(Scripts/ZulAman): Move Harrison Jones spawn to DB (#20491)
Co-authored-by: Benjamin Jackson <38561765+heyitsbench@users.noreply.github.com>
2024-11-09 19:18:14 -03:00
Andrew
138a2ca974 refactor(Scripts/ZA): Update Zul'jin (#20456) 2024-11-08 21:05:30 -03:00
Francesco Borzì
d6840664c7 refactor(src/tools): remove unused imports (#20487) 2024-11-08 22:20:50 +01:00
IntelligentQuantum
21cb6fbf4f fix(Scripts/MagisterTerrace): Kael'thas' Arcane Spheres & Phoenix should despawn (#20481)
* Fix(Core/Scripts): Kael'thas' Arcane Spheres & Phoenix

* it's better xD
2024-11-08 11:30:55 -03:00
Anton Popovichenko
12a41df8bc fix(Core/Unit): Fix crash during Judgement of Light/Wisdom proc (#20467) 2024-11-06 12:13:19 -03:00
avarishd
6c69bd5b53 fix(Scripts/AQ20): Set General Rajaxx's Thundercrash to min 100 dmg (#20461) 2024-11-06 12:00:57 -03:00
avarishd
cce96d05fc fix(Scripts/ZG): Poisonous Blood not being removed after Blood Siphon (#20463)
* fix(Scripts/ZG): Poisonous blood not being removed at the end of siphon

* don't use doforall

* wrong spell -.-

* AURA_STATE_IMMUNITY

* was modified in SpellInfoCorrections

* drop toplayer
2024-11-06 11:09:55 -03:00
avarishd
705b8ab50e fix(Scripts/Item): Obsidian Armor & Frostfire Regalia Set (#20453) 2024-11-06 01:28:53 -03:00
avarishd
fa4dc2cd47 fix(Core/Spells): 'Black Qiraji Battle Tank' being removed on map change/teleport (#20455)
fix(Core/Spells): Black Qiraji Battle Tank being removed on map change/teleport
2024-11-06 01:26:40 -03:00
Dan
ce70cf1c13 refactor(Scripts/ZulAman): refactor set data to instance boss states and refactor Hex Lord Malacrass (#20206)
* load boss data and initialize hexlord

* boundaries and stuff

* Update boss_janalai.cpp

* Update instance_zulaman.cpp

* F

* Update boss_hexlord.cpp

* remove old creature spells

* restore alyson script

* remove instance data sets

* revert
2024-11-05 06:45:53 -03:00
avarishd
1c22cdcab2 fix(Core/Spells): Luffa removing bleeds over level 60 (#20411)
* fix(Core/Spells): Luffa

* Update spell_item.cpp

* Update spell_item.cpp

* Update spell_item.cpp
2024-11-04 21:09:10 +01:00
avarishd
7ad00f9633 fix(Scripts/Kalimdor): Prophecy of Akida not giving group credit (#20437)
* fix(Scripts/Kalimdor): Prophecy of Akida not giving group credit

* {}

* {} attempt 2

* RewardPlayerAndGroupAtEvent
2024-11-04 14:03:26 -03:00
Benjamin Jackson
1bff305ad4 fix(Core/Spells): Adjust logic for removing/applying auras related to areas. (#20299)
* Init.

* Use apply instead of variable.
2024-11-03 21:39:56 -03:00
Benjamin Jackson
3c6273a9dd fix(Core/Unit): Only allow Judgement of Light/Wisdom to proc for targets friendly to caster. (#20374)
Init.
2024-11-03 21:39:26 -03:00
Grimdhex
08bfecdbea fix(Core/Movement): remove unecessary reset() (#20419)
Co-authored-by: Ovahlord <18347559+ovahlord@users.noreply.github.com>
2024-11-03 17:36:48 -03:00
Jelle Meeus
fb551c703c fix(Spells/SpellScript): fix CI, rename the log for Validate (#20418) 2024-11-02 21:09:56 +01:00
Jelle Meeus
3de510fa68 fixup(Scripts/CrusaderColiseum)spellscripts (#20417) 2024-11-02 20:01:47 +01:00
Jelle Meeus
94ba32e709 fix(Scripts/Kalimdor): Cavern of Time custodian escort quest group completion (#20355)
* cast quest credit on group members

* refactor group event

* Revert "refactor group event"

This reverts commit 36dff97740ac1e63c8f323a4dbea5bd92a73031d.
2024-11-02 07:13:30 -03:00
Jelle Meeus
3a705edd5b fix(Scripts/Events): Hallow's End Headless Horsemen fly intro (#20366)
manually set move flags
2024-11-02 06:37:40 -03:00
Jelle Meeus
0a182b7274 fix(Scripts/Netherstorm): make "Mark V is Alive!" group completable (#20360)
groupevent instead of completequest
2024-11-02 06:36:32 -03:00
Anton Popovichenko
b45c41cf6e fix(Scripts/Outland): Fix crash in dragonmaw_race_npc by refreshing players pointer in lambda function. (#20333)
* fix(Scripts/Outland): Fix crash in dragonmaw_race_npc by refreshing players pointer in lambda function.

* Fix typo

* Refactor dragonmaw_race_npc to replace players pointer to GUID.

* Update src/server/scripts/Outland/zone_shadowmoon_valley.cpp

---------
2024-11-01 19:14:08 -03:00
Jelle Meeus
7410175a08 refactor(Scripts/EasternKingdoms): spell scripts use registry macros (#20399) 2024-11-01 16:54:41 -03:00
Jelle Meeus
bbbcaac77c refactor(scripts/CrusadersColiseum): spell scripts use registry macros (#20400) 2024-11-01 16:54:14 -03:00
Jelle Meeus
7eb1b64a6f refactor(Scripts/Northrend): spell scripts use registry macros (#20401) 2024-11-01 16:11:14 -03:00
Andrew
7a2b86425f fix(Core/Spells): Fix Gurtogg Bloodboil applying Acid Wound to himself (#20394) 2024-11-01 14:09:13 -03:00
Andrew
81ba01d2c1 fix(Scripts/BlackTemple): Parasitic Shadowfiends only target players (#20395) 2024-11-01 14:08:55 -03:00
Grimdhex
0b031de2ea fix(Core/Movement): fix a small memory leak in RandomMovementGenerator (#20258)
* fix(Core/Movement): memory leak and possible crash

Co-Authored-By: Ovahlord <18347559+ovahlord@users.noreply.github.com>

* .

* fix review

---------

Co-authored-by: Ovahlord <18347559+ovahlord@users.noreply.github.com>
2024-11-01 09:39:37 -03:00