Commit Graph

2379 Commits

Author SHA1 Message Date
avarishd 9144cab27d fix(Scripts/Ignis): Move hardcoded text/gossips to DB (#11655)
* ignis

* cs

* revert victim
2022-05-08 23:15:41 +02:00
avarishd 7b01b27bb2 fix(Scripts/XT002): Move hardcoded text/gossips to DB (#11652)
* xt

* xt

* codestyle

im bad

* cs

* update
2022-05-08 23:14:57 +02:00
Kitzunu 969cb68c35 fix(Core/Auras): INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE… (#11588)
* ore/Auras: INVISIBILITY_UNK10 also applies the flag PLAYER_FIELD_BYTE2_INVISIBILITY_GLOW

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/230f40f359c80b102f344ed55adc12f246a97051)

Co-Authored-By: Meji <2695278+meji46@users.noreply.github.com>

* Update Object.h

* Update Object.h

Co-authored-by: Meji <2695278+meji46@users.noreply.github.com>
2022-05-08 23:10:10 +02:00
avarishd 8f485cb5d4 fix(Scripts/Freya): misc improvements (#11665) 2022-05-08 23:02:15 +02:00
avarishd 4df92b553c fix(Scripts/RazorScale): Move hardcoded text/gossips to DB and minor fixes (#11694)
* Update boss_razorscale.cpp

* cs

* questionable fix, but it works
2022-05-08 22:54:38 +02:00
Nefertumm 6ca5938d75 fix(Scripts/AQ): Rewrite bug trio fight (#11565)
* fix(Core/AQ): Rewrite bug trio fight

* update sql to newest

* with a comment

* fix build

* finish?

* build

* add evade boundary
2022-05-08 10:49:23 +02:00
Kitzunu 33f6486180 fix(Core/ItemHandler): fix selling items over gold limit (#11673)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/d0b8fb87f29c6fe5a100c4f1f85cad2b349d9619)

Co-Authored-By: okfok <44704482+okfok@users.noreply.github.com>

Co-authored-by: okfok <44704482+okfok@users.noreply.github.com>
2022-05-08 10:42:35 +02:00
Kitzunu ca0de49df2 fix(Core/Spells): Paladin's Judgements can be applied on different targets at the same time (#11672)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/4bff22385195428425251ff351d9207fafbde85b)

Co-Authored-By: Gildor <521036+Jildor@users.noreply.github.com>

Co-authored-by: Gildor <521036+Jildor@users.noreply.github.com>
2022-05-08 10:42:10 +02:00
Christopher Galbraith f32aa0992c fix(Scripts/Ahune): Removed hardcoded emotes (#11674)
* Added missing entries for Ahune in creature_text. Removed hardcoded emote text and pointed towards DB.

* fixed missing semi-colons

* add new line at end

* fixed SQL

* added broadcast_text values

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2022-05-08 10:20:43 +02:00
UltraNix 56982f9eba fix(DB/Quest): Krolmir, Hammer of Storms. (#11661)
* fix(DB/Quest): Krolmir, Hammer of Storms.

Fixes #11637

* Buildfix.

* Update src/server/game/Spells/SpellInfoCorrections.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-05-08 10:19:26 +02:00
Christopher Galbraith ac8a6b4328 fix(Script/Skadi): Emotes (#11625)
* Added Grauf deep breath emote

* Renamed flame visual to properly reflect spell name Freezing Cloud

* Removed defined text, now uses creature_text for emotes

Co-authored-by: ChrisCGalbraith <chriscgalbraith@gmai.com>
2022-05-07 23:20:34 +02:00
UltraNix aeb260c3cc fix(Core/Guardian): Crashfix. (#11659) 2022-05-07 10:35:19 +02:00
avarishd 56955f792b refactor(Core/Creature): Move hardcoded text/gossips to DB - boss_general_vezax (#11649) 2022-05-06 10:21:14 -03:00
Kitzunu 2e13ad75e2 refactor(Core/Spells): make DoCast functions use SpellCastResult (#11546)
* refactor(Core/Spells): make DoCast use SpellCastResult

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update UnitAI.cpp

* Update UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.cpp

* Update src/server/game/AI/CoreAI/UnitAI.h
2022-05-06 00:43:27 -03:00
Tralenor 6cf82e3bd6 feat(Core/DB): Add Hooks On creature/game object save to db (#11246)
* implement OnCreatureSaveToDB and OnGameObjectSaveToDB Hooks

* fix Whitespaces in ScriptMgr.h

Co-authored-by: Timothée Moos <t1997.m@gmx.net>
2022-05-06 00:42:49 -03:00
SilentCLD 7975bc63ca fix(Core/Commands): Fix removing item from player account (#11041)
The additem command would silently return when trying to remove an item
from a player security level account
2022-05-06 00:33:18 -03:00
Charlton Lau 6a58d1ee69 fix(Script/Quest): A Pawn on the Eternal Board freezing world (#11616) 2022-05-05 05:04:53 +02:00
Skjalf e7531fa2a9 fix(Scripts/TempleOfAhnQiraj): Battleground Sartura should not be ski… (#11596)
* fix(Scripts/TempleOfAhnQiraj): Battleground Sartura should not be skippable

* Update instance_temple_of_ahnqiraj.cpp
2022-05-03 07:26:42 -03:00
Skjalf 12a0c6f1bc fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing playe… (#11595)
* fix(Scripts/BlackwingLair): Prevent Chromaggus from hostilizing players in the floor underneath

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

* Update src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_chromaggus.cpp

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-05-03 07:18:45 -03:00
Skjalf 3c851c059a fix(Scripts/BlackwingLair): Prevent Chromaggus cage from looking (#11603) 2022-05-03 07:10:09 -03:00
UltraNix 3c1e76e55d fix(Core/Duel): Player during duel countdown is not a valid attack target. (#11509) 2022-05-03 02:36:03 -03:00
Maelthyr 0363b95919 fix(Script/ZulGurub): High Priestess Jeklik improvements (#11458) 2022-05-02 21:02:40 -03:00
UltraNix 4e977d9ada fix(Scripts/BWL): Razorgore's Orb of Domination should not be usable during 2nd phase of the encounter. (#11580) 2022-05-02 21:01:00 -03:00
Skjalf 0ffa270c94 fix(Scripts/TempleOfAhnQiraj): Correct Battleguard Sartura spell ids (#11597) 2022-05-02 07:55:55 -03:00
acidmanifesto cc6528ad7b Fix (core) water level and ground level correction (#11552)
We do not need to excessively have ground level be -2 below the player when underwater. ground level is ground level. no need for a lower adjustment. Most likely left over from from when the shallow water calculations was wrong entirely that lead to false hits with water walking detection due to core side calculations.
2022-05-01 08:44:03 -04:00
UltraNix 8900cab657 fix(Core/Minions): Crashfix. (#11592) 2022-05-01 10:28:20 +02:00
UltraNix 43db8a6d13 fix(Core/Movement): Improved pet's follow movement. (#11585)
Fixes #9254
2022-05-01 07:01:10 +02:00
Patrick Lewis 94123e60f6 chore(CI): add macos-12 (#11242)
* chore(CI): add macos-12

* Update SECURITY.md

* test changing googletest git_tag to main

* update utf8cpp

* Update DBCStorageIterator.h

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-05-01 07:00:40 +02:00
UltraNix bbd760cc1a fix(Scripts/IcecrownCitadel): Increases radius of Sindragosa's boundary. (#11579)
Fixes #11439
2022-04-30 21:41:25 +02:00
Skjalf 26c66e0d79 chore(Scripts/Spells): Remove a few aura types being passed as spells in the validator (#11576) 2022-04-29 20:17:03 -03:00
Kitzunu 2bef6b497d fix(Scripts/Spells): Validate some spells in spell_generic (#11549)
* fix(Scripts/Spells): Validate some spells in spell_generic

* Update src/server/scripts/Spells/spell_generic.cpp
2022-04-28 15:49:56 -03:00
Kitzunu 026941c39e refactor(DB): Handle SQL files in a new way (#11494)
* refactor(DB): Handle SQL files in a new way

* remove proof that it works files

* Update rev_1650721405699287200.sql

* Update rev_1650721339143444200.sql

* Update rev_1650721386624384400.sql

* fix build

* fix
2022-04-28 14:37:37 -03:00
IntelligentQuantum 59e45c251e fix(Core/Spell): Improvements to path generation for Charge mechanic (#11534)
It has its flaws but it can be improved and it's actually a lot better than what we currently have.
2022-04-27 20:18:44 -03:00
UltraNix b7be09e96c fix(Core/Players): Updates visibility of nearby entities around player's viewpoint in case of immediate changing farsight object. (#11520)
Fixes #11322
2022-04-27 15:12:45 +02:00
UltraNix 35596b0b01 fix(Core/Battlegrounds): Remove all DoTs when exiting battleground. (#11517)
Fixes #11332
2022-04-27 15:12:33 +02:00
SilentCLD ffa2f071bc fix(Core/Wintergrasp): Reimplement Wintergrasp quests and fix vendors (#11533) 2022-04-25 18:20:10 -03:00
Revision a1707b2d14 feat(Core/Player): Allow stay in group when logged out (#10887)
* Config option

* Extra check

* Fixes

Updated some comments
Removed the config option from the first if since it's not necessary (afaik)

* REVERT

Reverting the if to what I had it at originally until I can get some input on it...

* Updated if

Got some input and this is working as intended

* Update World.cpp

* Update src/server/worldserver/worldserver.conf.dist

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2022-04-25 09:29:44 -03:00
UltraNix 898eabe6dd fix(Core): Restored code about shared visions removed in d504a62. (#11493)
Fixes #11368
2022-04-25 09:26:32 -03:00
UltraNix 3a525b8345 fix(Core): Crashfix. (#11495) 2022-04-25 09:26:03 -03:00
UltraNix 54ebdfcfc1 fix(Core/Formations): Implemented GROUP_AI_FLAG_RESPAWN_ON_EVADE flag. (#11512)
Fixes #11364
2022-04-25 09:24:46 -03:00
UltraNix 7dc494bd55 fix(Core/Spells): Rapture should ignore line of sight. (#11519)
Rapture should not generate threat.
Fixes #11396
2022-04-25 09:24:14 -03:00
Skjalf d8d0d5a5e4 feat(Core/Creature): Implement ModifyThreatPercentTemp() function (#11521)
* feat(Core/Creature): Implement ModifyThreatTemporary function

* feat(Core/Creature): Implement ModifyThreatPercentTemp() function

* fix build
2022-04-24 22:48:37 -03:00
UltraNix f5948b5fe4 fix(Core/Battlegrounds): Fixed battleground queue announcer. (#11348) 2022-04-24 16:55:00 -03:00
IntelligentQuantum b544eb420e feat(Core/Mmaps): Handle different slopes in mmaps and Add some more input parameters to improve (#10974) 2022-04-24 16:44:50 -03:00
IntelligentQuantum 090cc5e2c6 fix(Tools/Mapextractor): Fix water height redundancy algorithm ignoring "no water" (#10947) 2022-04-24 15:14:20 -03:00
UltraNix ef6c97e96e fix(Scripts/BlackiwingLair): Rogues should be teleported in front of Nefarian during Class Call event. (#11513) 2022-04-24 14:58:39 -03:00
acidmanifesto ad520391d0 fix (core): Water Calculation Corrections (#11516) 2022-04-24 09:58:22 -04:00
Skjalf 88555b6564 refactor(Scripts/BlackwingLair): Refactor Chromaggus (#11501)
* refactor(Scripts/BlackwingLair): Refactor Chromaggus

* Update boss_chromaggus.cpp

* eof

* Update boss_chromaggus.cpp
2022-04-24 09:25:57 -03:00
UltraNix a57aecbf8c fix(Scripts/Spells): Improvements to Brood Power: Bronze: (#11499)
Brood Power bronze affects only one target.
Death Talon Wyrmguard gain the Brood Power aura only once per lifetime.
Fixes #11448
2022-04-24 03:25:07 -03:00
Skjalf c695d9b4bd fix(Scripts/BlackwingLair): Three drake bosses should be optional (#11506) 2022-04-24 02:48:35 -03:00