Commit Graph
28009 Commits
Author SHA1 Message Date
Shauren e00b1df36e Core/Scripts: Allow Get**TargetCountForEffect functions to be used in EffectLaunch script hooks 2021-12-25 22:46:46 +01:00
Shauren 570e882d02 Core/Spells: Fixed Spell::GetUnitTargetCountForEffect incorrectly counting missed targets instead of hit targets 2021-12-25 22:45:59 +01:00
Shauren e6ba1fbd53 Scripts/Spells: Fixed Lightning Bolt Overload, Chain Lightning Overload, Elemental Blast and Elemental Blast Overload energize effects 2021-12-25 22:45:23 +01:00
aquadeusandShauren 47d8b17e9f Scripts/Spells: Fix chain lightning energize (elemental) (#27468)
Co-authored-by: Shauren <[email protected]>
2021-12-25 22:15:11 +01:00
aquadeusandShauren c95b1784df Scripts/Spells: Fixed lightning bolt energize (elemental) (#27467)
Co-authored-by: Shauren <[email protected]>
2021-12-25 21:55:23 +01:00
Shauren 5be16577f7 Build fix for older boost version 2021-12-25 21:53:47 +01:00
Matan Shukry a3d06f2f32 Scripts/Spells: Implemented various rogue spells (#26319)
* Ruthlessness
* Mastery: Main Gauche
* Venomous Wounds
* Symbols of Death
* Backstab
* Premeditation
* Grand Melee
* True Bearing
* Slice and Dice
* Roll the Bones
2021-12-25 21:25:54 +01:00
Antonio Martín Berti b221f4b372 Core/Auras: Implemented SPELL_AURA_TRIGGER_SPELL_ON_HEALTH_PCT (#27455) 2021-12-25 17:01:17 +01:00
Shauren 34ae77ca86 Core/SAI: Reserve action ids 2021-12-25 16:01:56 +01:00
ModoX bc4e285c21 Core/SAI: added new action type SMART_ACTION_ADD_TO_STORED_TARGET_LIST (#27029) 2021-12-25 16:00:34 +01:00
Meji 924182f692 Core/BattlePets: Misc fixes (#27446)
* Added script for "Summon Battle Pet" spell (118301).
* Set the saved display of the battle pet when summoning it.
* If a summon has SummonPropertiesFlags::SummonFromBattlePetJournal it will remove NpcFlag UNIT_NPC_FLAG_WILD_BATTLE_PET (Wild battle pets).
* When a creature is summoned with SummonTitle::Companion, it will check to see if it has SummonPropertiesFlags::SummonFromBattlePetJournal before updating the battle pet's update fields. (If you have a summoned battle pet and summon a creature with that SummonTitle, it will incorrectly update the battle pet's update fields with the summoned battle pet's data).
* Implemented SummonPropertiesFlags::UseCreatureLevel. If a summon has this flag, it will use the owner's level (If the summon doesn't have SummonProperties it will always use the selected level).
2021-12-25 15:27:58 +01:00
aquadeus 8ac0388870 Scripts/Spells: Fix paladin talent Holy Prism (#27442) 2021-12-25 14:10:10 +01:00
aquadeus 90cdb1ed0d Scripts/Spells: Fixed warlock shadow bolt energize (#27440) 2021-12-25 12:51:35 +01:00
aquadeus b01d85e966 Scripts/Spells: Convert shaman spell scripts to new script registration syntax (#27457) 2021-12-25 12:49:32 +01:00
Shauren 2a4c7c1e27 Core/Spells: Corrected SPELL_ATTR8_MASTERY_AFFECTS_POINTS attribute implementation, it is no longer used to restrict if the spell should be cast or not (SpecializationSpells.db2 takes care of that)
Closes #19640
Closes #27458
2021-12-25 10:30:50 +01:00
Keader 5a8af62b15 Fixing some white spaces and unneeded header, added in previous commit
(cherry picked from commit 85d1fd3038a3d30d998643505837c6b354b8782f)
2021-12-24 00:58:20 +01:00
Jinnaix 340a107f6b Scripts/Blackwing Lair - Doors correction (#24327)
Fix all doors
corrected the Chromaggus fight start
correctly close final bossfight door at fight and open it on reset or bosskill

(cherry picked from commit a8a0f6b261994712e0339be96b8174a8382c51f7)
2021-12-24 00:58:04 +01:00
jackpoz 4e0da6f7d1 Core/Spells: Fix missing "Inventory is full" with spells that create more than 1 item
(cherry picked from commit 2a41755b589f215c14c85b1015e71534c1e91a98)
2021-12-24 00:46:45 +01:00
Shauren 48bd9698f8 Core/PacketIO: Fixed SMSG_UPDATE_OBJECT packets going missing for new items
Closes #16906

(cherry picked from commit 96155a49147f6119e8bd9bc08936ab706173b67e)
2021-12-24 00:44:23 +01:00
Shauren 125bd632b3 Core/Guilds: Restore guild bank contents hack
(cherry picked from commit 1cf8163c5823eadc5558ffcb82e530c37f64c8f6)
2021-12-24 00:40:06 +01:00
Treeston a6332f5dec Core/Misc: C++17 cleanups, commit 3, the header commit
(cherry picked from commit ca0c50bc450f5259acc6af0f4123690969b7e9cb)
2021-12-24 00:37:25 +01:00
Treeston ea0aa63d96 Core/Misc: C++17 cleanups, commit 2, the advstd commit
(cherry picked from commit 857f8d9231d148d4f2def9c83548b40059923029)
2021-12-24 00:37:21 +01:00
Treeston 632609b897 Core/Misc: C++17 cleanups, commit 1
(cherry picked from commit ac9004a2f9fa7af7c7735168e7bc5c08d6cacca7)
2021-12-24 00:34:10 +01:00
Treeston fdcef115e0 Core/Chat: Add SpellInfo const* handler for command args. Use it to update .cast <spellId/link> <triggered>.
(cherry picked from commit 7ac6ccb36ba6ffba542f3e9a60bca4d9e6a6b84d)
2021-12-24 00:34:08 +01:00
Shauren e7295fd3de Core/PacketIO: Port guild packets to classes as example of new self-validating strings
(cherry picked from commit f0fe5f8b669fb9f15b18be1cd3cab407e30ffa52)
2021-12-24 00:09:08 +01:00
Shauren 3ebfa8cc64 Core/PacketIO: Add a validating string helper class for use in packet classes
(cherry picked from commit f2f47f774f3d9c5da1a38b5f20cbfe59c2ff66af)
2021-12-23 23:55:58 +01:00
Shauren def97385cc Core/Guilds: Implement guild bank gold limit matching client
(cherry picked from commit 967f21a4b40d23d6501006e4fb7bc0608a1d86d1)
2021-12-23 23:10:01 +01:00
NoName cc1c67183f Core/Spell: SPELL_EFFECT_PULL_TOWARDS correction (#24251)
* SPELL_EFFECT_PULL_TOWARDS correction

* Hi Appveyor

(cherry picked from commit b88881f8adc2448395f7487d398012094a06a64f)
2021-12-23 22:44:06 +01:00
Giacomo Pozzoni 934c320d4b Core/AI: Make critters flee as soon as engaged in combat and make them evade after they stop running in fear (#24320)
* Core/AI: Make critters flee as soon as engaged in combat and make them evade after they stop running in fear

* Warning and no-pch build fix

(cherry picked from commit 6fde051e4e52d98d1a6cf31b8ad3fcf95e0e83fd)
2021-12-23 22:32:41 +01:00
Jinnaix 103f7f5e77 Scripts/Deadmines (#24323)
Remove obsolete Defias Companion spawn from BlastOutDoor Event

(cherry picked from commit c09d2b7206ae29c43acb1df098eceeff6db5581c)
2021-12-23 22:20:22 +01:00
jackpoz c397d49a22 Core/Mail: Validate mail subject and body
(cherry picked from commit de923fedc931cec6e95cb210c776669a45c19e5e)
2021-12-23 21:11:29 +01:00
jackpoz 807df411ae Core/Channels: Limit channel length only for custom channels
(cherry picked from commit 3fb41da57c5f6aea04f8e0b02056a6313575b764)
2021-12-23 21:10:46 +01:00
treeston ee5c0e5372 Core/Chat: Disallow hyperlinks from being inserted in various guild-related freetext fields (the client already blocks this)
(cherry picked from commit 01b2ac3ed425a3f94480c2b8a453c62ae30f6708)
2021-12-23 21:09:24 +01:00
Shauren a82ae950dd Core/ByteBuffer: Fix string format
(cherry picked from commit 1227e96bd3ecfbb69b9890cd305f1856a27dd2ef)
2021-12-23 19:45:51 +01:00
jackpoz 7d8926c55d Core/Channels: Limit channel length to 31 characters
(cherry picked from commit 2707877cf6ab34727c348190ca15499ef0205b1c)
2021-12-23 19:45:40 +01:00
Shauren 09967ad7fd Core/PacketIO: Validate utf8 in every client packet
(cherry picked from commit 0a2a96efaa20fe5440eb5a2f21ffaddcdcea86d3)
2021-12-23 15:15:08 +01:00
Rushor 3f8b3e3c26 Scripts/BlackfathomDeeps: Morridune will now start his pathaction again. (#24298)
(cherry picked from commit f488c361545b0bf872dbbaec0d13c21fcee1df9b)
2021-12-23 13:58:03 +01:00
Killyana a8dbca7fe3 Typo
(cherry picked from commit a40b742c3ae87ce21fe402db0d32cecda5fafb2c)
2021-12-23 13:01:10 +01:00
Killyana 9e8276a349 Instance/Script: Fix blackfathom deeps event, use the correct spawn positions and number of creatures
(cherry picked from commit 1af1e88037f93be662570b912f4f19dd70d885d5)
2021-12-23 13:00:55 +01:00
sirikfoll 759482b42b Core/Reputation: Fix Oracles/Frenzyheart not being set to war properly
Closes #9469

(cherry picked from commit 47c49c391233d67e7cf992a2df9516f36d4f8ee5)
2021-12-23 00:52:51 +01:00
sirikfoll caac215785 Creature/Script: npc_ruby_emerald_amber_drake
Closes #24220

(cherry picked from commit 7a4409b51facb1e0dee894f903f6424022b38853)
2021-12-23 00:21:34 +01:00
Rushor 10cf49e130 Spell/Script: Spawn Blood Pool
Closes #23878

(cherry picked from commit 3ddc6e70df0401a0677bef536e6b0e46e3dbf9e9)
2021-12-23 00:21:24 +01:00
Rushor 2c5eb750b3 Spell: Emerald Drake, Dream Funnel
Closes #24219

(cherry picked from commit 5e6f55381a322d2306d814ae42ebeda92c447376)
2021-12-23 00:21:11 +01:00
ForesterDev 08c61bb9d1 Core/PacketIO: update some combat packets to new system (#24236)
(cherry picked from commit af6d207addfef177fb5ac3e7fa61ec93ced83d16)
2021-12-22 23:36:18 +01:00
jackpoz c03af362c6 Core/Scripts: Show a message when aborting because two scripts have the same registered name
(cherry picked from commit 96df3b7adb02f763aaaa6138922bd032a75a9b9e)
2021-12-22 22:57:34 +01:00
jackpoz 1fa4403b8c Core/Common: Allow to show a message when aborting
Add a new ABORT_MSG macro that allows to show a formatted message before stopping the executable

(cherry picked from commit 0ddee8a4a03fb5c7ee8d18144ca21cd2baad6f01)
2021-12-22 22:54:18 +01:00
jackpoz c75d75b9fa Core/AI: Fix charmed Creatures with SAI scripts not starting waypoint paths
(cherry picked from commit 49e77d7c9e4c39296536cd0b2d427d047e762f46)
2021-12-22 22:36:39 +01:00
Giacomo Pozzoni 7779a33142 Core/Combat: Improve sanctuary combat stop (#24266)
Stop combat when a Player moves to a Sanctuary area only if there is any PvP combat (it would be nice to keep PvE combat but that's still an issue)

(cherry picked from commit c7974bdf909ceb34821fa3953ef4cb090282fcdf)
2021-12-22 22:36:20 +01:00
Sorikoff 6dd74533d1 Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving (#24223)
* Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving

* Improve cosmetics for q. The Gift That Keeps On Giving

* Fixes

* Fix

* Rename 9999_99_99_99_world.sql to 2020_03_07_03_world.sql

Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 41d80f2d43863588dc4516ee80579f965b07391b)
2021-12-22 22:36:06 +01:00
Shauren e8d1f37ee0 Core/Maps: Citizens of Dalaran! Raise your eyes to the skies and observe! Any non-map-default light can now be overriden!
Closes #24250

(cherry picked from commit e10313b380c84dafde462bdb116827f2b8be1851)
2021-12-22 21:51:33 +01:00