Commit Graph

4735 Commits

Author SHA1 Message Date
Alyst3r
2e55cad450 refactor(DB/reputation_spillover_template): Reputation spillover table expansion (#14763)
* Update ObjectMgr.cpp

Rework to `ObjectMgr::LoadReputationSpilloverTemplate()` allowing more factons to be added.

* Create reputation_spillover_template-update.sql

Alteration to `reputation_spillover_template` table, update allowing to add two more factions.

* Update SharedDefines.h

`MAX_SPILLOVER_FACTIONS` is now equal 6 instead of 4.

* Update reputation_spillover_template-update.sql

Now it alters table instead recreating it.
2023-10-22 04:45:50 +02:00
Andrew
4e41a02be2 fix(Scripts/Karazhan): Implement the side entrance door area trigger … (#17556)
fix(Scripts/Karazhan): Implement the side entrance door area trigger handling
2023-10-21 22:52:07 -03:00
podmepodme
945d7c6afe fix(Script/Misc): Replace hardcoded gossip and texts with DB ones. (#17502)
* fix(CORE/Creature): replace shadowmoon valley hardcoded gossips

* fix(CORE/GameObject): replace terokkar forrest hardcoded gossips

* fix(Core/Creature): replace shattrath city hardcoded gossips

* style(Core): code style edit

* style(CORE) codestyle edit

* style(CORE) codestyle edit

* style(CORE): codestyle edit

* ready for merge

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-10-22 03:16:51 +02:00
Andrew
c5ac4789d8 fix(Scripts/Karazhan): Opera left door should stay open in case of wipe (#17553) 2023-10-21 21:59:18 -03:00
Andrew
a3d728f791 fix(Scripts/Karazhan): Script Aran's Flame Wreath ability (#17551) 2023-10-21 21:08:12 -03:00
daobashun
d9d500923a fix(DB/SAI): Move the Ashbringer event AI of the Bloody Monastery mob to Smartai (#17078)
* Move scarlet_guard's Ashbringer event to smartAI

* Remove the code from the script

* Delete the commented out code

* Modify the distance of the "Scarlet Wizard" Cast Arcane Explosion

* Fix errors

* Update rev_1692891765582381000.sql

* Update rev_1692891765582381000.sql

* Remove duplicate statements

* Remove duplicate statements
2023-10-22 02:03:50 +02:00
Andrew
25328b54f9 fix(Scripts/Mechanar): Remove polarity shift stacks on polarity change (#17548) 2023-10-21 15:48:39 -03:00
avarishd
8c8d459c6f fix(Core/Spells): Marked for Death affecting wrong spells. (#17406) 2023-10-21 10:28:57 -03:00
avarishd
228f6635c0 fix(Core/Scripts): ScriptEffect Frog Kiss (#17482) 2023-10-21 09:15:20 -03:00
IntelligentQuantum
a0985f59b6 refactor(Scripts/Commands): convert cs_ticket to new system (#17547)
Update cs_ticket.cpp
2023-10-21 08:22:53 -03:00
Angelo Venturini
fb8e343677 fix(Core/Arena): Fix logging scores in db (#17504) 2023-10-21 08:12:22 -03:00
Hasn
5bf64a164a fix(Core/Player) Stop small durability loss from still occuring when DurabilityLoss options in worldserver.conf are set to 0 (#17407)
Fix durability loss even when "DurabilityLoss"-settings in
worldserver.conf are zeroed
2023-10-21 08:10:34 -03:00
avarishd
39bad395c2 fix(Core/Spells): Script Yeh'kinya's Bramble (#17516)
* fix(Core/Spells): Script Yeh'kinya's Bramble

* rogue screechers
2023-10-21 08:10:00 -03:00
avarishd
894732f11e fix(Scripts/EscortAI): Do not remove auras on evade (#17542) 2023-10-20 20:49:17 -03:00
avarishd
2c28cc0eb7 fix(DB/Items): Unhatched Jubling Egg obtaining + RP (#17478) 2023-10-20 20:39:04 -03:00
avarishd
359985dd4c feat(Core/Conditions): Add GoState condition for near gameobject. (#17524)
* feat(Core/Conditions): Add GoState check for near gameobject.

* log_error

* Update ConditionMgr.h
2023-10-20 19:41:26 -03:00
IntelligentQuantum
332ff49c13 refactor(Scripts/Commands): convert cs_reset to new system (#17546)
Update cs_reset.cpp
2023-10-20 19:41:02 -03:00
Kitzunu
ec724cda89 chore(Core/Conf): Remove unused config (#17544) 2023-10-20 15:26:07 +02:00
Grimgravy
e3592f7de7 fix(Scripts/Quest): improve Path of Conquest (#16353)
* fix(DB/Quest): improve Path of Conquest

* update

* Update rev_1684800494817311100.sql

* .

* .
2023-10-19 21:46:00 -03:00
Ludwig
de6ece2462 fix(Core/Spells): interrupt midsummer ribbonpole dance on mount or sp… (#17442)
fix(Core/Spells): interrupt midsummer ribbonpole dance on mount or spell cast
2023-10-19 21:40:08 -03:00
Dan
c7324f3066 fix(Scripts/Paladin): ensure Judgements of the Just procs Seal of Vengeance/Corruption (#17470)
* initial

* no spaces

* add enum
2023-10-19 12:19:59 -03:00
avarishd
a39175bc3b fix(Core/Spells): Demonic Knowledge missing 1% per rank (#17495) 2023-10-18 19:21:46 -03:00
avarishd
1ef50c31b3 fix(Scripts/Spells): Script Leggings of Beast Mastery. (#17428) 2023-10-18 19:15:49 -03:00
IntelligentQuantum
39db3de5af refactor(Scripts/Commands): convert cs_guild to new system (#17515) 2023-10-18 10:57:28 -03:00
Ludwig
630b90a633 fix(Scripts/Midsummer): Implement Ribbon Pole dance effects (#17417)
* fix(Scripts/Midsummer): Implement Ribbon Pole dance effects

* midsummer.cpp: remove whitespaces at end of lines

* midsummer.cpp: fix unused parameter error

* add spacing after 0.0f

* replace Milliseconds(...) by ...ms and Seconds(...) by ...s

* cleanup comments

* remove manual cleanups / despawns from DoCleanupChecks()

- rely on NPC despawn timers
- manual cleanup / removal actually is a bit excessive

* set INTERVAL_DANCING_FLAMES to 15s

* set despawn time to 1min for big dancing flames according to spell 46827

* set spawnDist to 12 for big dancing flames according so spell 46827

* use library function Acore::Containers::RandomShuffle() to shuffle _danclerList

* sql: do not set SmartAI for NPC 17066

already using ScriptName and can't have both

* combine 3 sql files into 1

* remove INTERVAL_... enum values

* remove unnecessary checks of if(_bunny)

* sql: fix smartscript comment

* rename spell define to correct spell name
2023-10-18 14:22:26 +02:00
avarishd
ad66728973 fix(DB/Creature): Drunken Brewfest Reveler model (#17494)
* fix(DB/Creature): Drunken Brewfest Reveler model

* clarify enum

+ farm lines
2023-10-17 15:37:53 -03:00
Dan
bf5878f8dc fix(Scripts/SSC): fix issues with Fathomlord and add interactions (#17525) 2023-10-17 15:37:32 -03:00
KJack
99bf49e0dd Fix (core/SpellEffects): Don't randomize summoned guardian position if target is in the DB (#17506)
* Doesn't randomize placement of guardian summons if the target position was specified in the DB

* Add `HasRadius()` check

* Add check for zero-radius effects, update IF condition style

* Accept IF condition statement suggestion

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

---------

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2023-10-17 00:07:47 +02:00
avarishd
e30718db36 fix(Core/Spells): Script Scourge Banner (#17523)
* fix(Core/Spells): Script Scourge Banner

* correct statecheck
2023-10-16 23:13:54 +02:00
avarishd
62ef0db09f fix(Scripts/Karazhan): Side Enterance Door check (#17493) 2023-10-12 11:19:21 -03:00
avarishd
e4eb789e52 fix(Script/Spells): Script Priest Heal T4 4P Bonus (#17490)
* fix(Core/Spells): Script Priest Heal T4 4P Bonus

* RemoveAurasDueToSpell

* comment out unused stuff
2023-10-12 10:16:59 -03:00
avarishd
1753a8d0b9 fix(Core/Spells): Call of the Wild targeting other players (#17485)
* fix(Core/Spells): Call of the Wild targets

* comment
2023-10-11 17:09:53 -03:00
avarishd
214948bafb fix(DB/Quest): Port Cleansing Witch Hill from Trinity. (#17420)
* fix(DB/Quest): Port Cleansing Witch Hill from Trinity.

https: //github.com/TrinityCore/TrinityCore/issues/22262
Co-Authored-By: Carlos Morales <carlos.morales@insmet.cu>

* ""

Co-Authored-By: Carlos Morales <carlos.morales@insmet.cu>

---------

Co-authored-by: Carlos Morales <carlos.morales@insmet.cu>
2023-10-10 20:26:43 -03:00
avarishd
5aca484574 fix(Core/Scripts): Venomhide Hatchling improvements (#17454) 2023-10-10 20:25:26 -03:00
avarishd
2cd4af9446 fix(Core/Spells): Allow casting ground mounts in water (#17481)
https: //github.com/TrinityCore/TrinityCore/pull/17488

Co-authored-by: SnapperRy <19622383+SnapperRy@users.noreply.github.com>
2023-10-10 20:23:45 -03:00
avarishd
e8b81430af fix(Core/Spells): Script Void Star Talisman resistances. (#17427)
* fix(Core/Spells): Script Void Star Talisman resistances.

* add check for armor

* change comment loc

* .

* fix(Core/Spells): Script Lord Valthalak's Amulet

* Revert "fix(Core/Spells): Script Lord Valthalak's Amulet"

This reverts commit 5a6a0a8e1fd596e0ffae906cfdac2f68fb1bc78d.

* Use spellInfo instead of hardcode
2023-10-10 13:12:11 -03:00
avarishd
96d0675624 fix(DB/SAI): Cuergo's Gold improvements (#17462)
* fix(DB/SAI):  Cuergo's Gold improvements

* Actionlist

* zzz
2023-10-10 10:36:04 -03:00
avarishd
e08de5f073 fix(DB/Creature): Hex Lord Malacrass missing weapon (#17475)
fix(DB/Creature): Hex Lord Malacrass wrong equipment

https: //github.com/TrinityCore/TrinityCore/commit/5856f520bbd8dded42f7742277839587b0645dde

Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com>
2023-10-10 10:23:27 -03:00
avarishd
43be5db44c fix(Core/ChatHandler): SPELL_AURA_MOD_LANGUAGE should affect only Say… (#17465)
fix(Core/ChatHandler): SPELL_AURA_MOD_LANGUAGE should affect only Say and Yell
2023-10-10 10:15:48 -03:00
Andrew
7f36c5f059 fix(Scripts/Karazhan): Replace Big Bad Wolf chase mechanic with prope… (#17458)
fix(Scripts/Karazhan): Replace Big Bad Wolf chase mechanic with proper taunt spell
2023-10-08 17:19:48 -03:00
Hasn
e644dd949f feat(Core/Scripting): Implement hook OnAfterCalculateLootGroupAmount() (#17456)
Add hook 'OnAfterCalculateLootGroupAmount' to GlobalScript, similar to existing hook 'OnAfterRefCount'. Allows for dynamic modification of the group loot rate
2023-10-08 17:18:44 -03:00
Dan
71312323a1 fix(Scripts/Karazhan): Nightbane clean-up script (#17446)
initial hackfix
2023-10-08 17:14:45 -03:00
KJack
f127e583aa fix(core/scripting) Calculate percent-based damage before ModifyPeriodicDamageAurasTick hook (#17387)
Moved damage calculation for `SPELL_AURA_PERIODIC_DAMAGE_PERCENT` to before the hook.

Co-authored-by: KJack <kjack@electricnightowl.com>
2023-10-08 15:38:07 -03:00
Kitzunu
2255f492b5 fix(Core/Creature): Update movement in UpdateEntry() (#17291)
* fix(Core/Creature): Update movement in UpdateEntry()

* Update Creature.cpp

* Update Creature.cpp

* hover

* just replace with updatemovememntflags

* Update Creature.cpp

* Update Creature.cpp

---------

Co-authored-by: Skjalf <47818697+Nyeriah@users.noreply.github.com>
2023-10-08 10:49:17 -03:00
avarishd
4e5077ed80 fix(Core/Spells): Script Shaman T8 Elemental 4P Bonus (#17424)
* fix(Core/Spells): Script Shaman T8 Elemental 4P Bonus

* 🧙‍♂️
2023-10-08 09:31:54 -03:00
Kitzunu
b1395b9450 refactor(Core/Creature): Calculate BaseArmor as float (#17448) 2023-10-08 08:56:16 -03:00
Kitzunu
a4e4d6ddb2 feat(Core/Player): Implement commentator tag (#17449)
* feat(Core/Player): Implement commentator tag

* remove redundant session check
2023-10-08 09:07:17 +02:00
Kitzunu
5357a31a01 chore(Core/Misc): warhead -> acore (#17447) 2023-10-08 09:06:57 +02:00
IntelligentQuantum
90b16ca065 fix(Core): GridCleanUpDelay Log (#17436)
Update World.cpp
2023-10-07 07:36:11 -03:00
avarishd
91c6bdd540 fix(Core/Spells): Script Lord Valthalak's Amulet (#17431)
* fix(Core/Spells): Script Lord Valthalak's Amulet

* cs
2023-10-07 07:34:35 -03:00