Commit Graph
28009 Commits
Author SHA1 Message Date
Matan Shukry 1086007f98 Scripts/Spells: Fixed various paladin spell scripts and removed outdated ones 2021-03-04 22:46:44 +01:00
Shauren ea63cd882c Core/Spells: Moved power cost RequiredAuraSpellID condition checking to make sure all overloads of SpellInfo::CalcPowerCost take it into account 2021-03-04 22:46:44 +01:00
Shauren 0960308cfc Core/Spells: Add Spell::HasPowerTypeCost to check which power types a spell uses 2021-03-04 22:46:44 +01:00
Shauren 36496c7172 Core/PacketIO: Fix suppressing building SMSG_UPDATE_OBJECT packets 2021-03-04 20:47:54 +01:00
Shauren 34768c5b44 Core/Spells: Implemented SPELL_EFFECT_PLAY_SCENE_SCRIPT_PACKAGE and SPELL_EFFECT_CREATE_PRIVATE_CONVERSATION 2021-03-04 20:31:08 +01:00
Shauren a05fc3ded5 Core/Spells: Updated spell effect type definitions to match latest client version 2021-03-04 20:30:50 +01:00
jackpoz 55931b0d92 Core/SmartScripts: Code cleanup
(cherry picked from commit f555a67bf850e1a9659c89551d7bb69cc812f161)
2021-03-04 18:17:08 +01:00
Killyana 77ee6dca45 Core/SAI: Add event_parm5 "player only" for EVENT_OOC_LOS and EVENT_IC_LOS
Closes #21497

(cherry picked from commit 5ad38c31b0ed633555f281318684e57ea5d6dd73)
2021-03-04 18:15:55 +01:00
Shauren 6879440acb Core/Commands: Fixed .bnetaccount gameaccountcreate command generating too long passwords 2021-03-03 17:43:04 +01:00
MaxtorCoder c0f5f7d4ef Core/AuctionHouse: Fix overflow in item ordering. (#26196) 2021-03-03 15:15:08 +01:00
Shauren 0e3666bfbc Core/Spells: Fixed calculation spell optional power cost when any modifiers are applied 2021-03-02 23:14:50 +01:00
Shauren 624881bef5 Core/Spells: Refactor Player::ApplySpellMod to take SpellInfo argument instead of just spell id 2021-03-02 21:32:48 +01:00
Shauren 49532eda5f Core/Spells: Refactor getting spell mod values to separate function 2021-03-02 21:12:08 +01:00
Shauren 55eef73c48 Core/PacketIO: Increase max allowed incoming packet size for CMSG_HOTFIX_REQUEST 2021-03-02 01:06:28 +01:00
Shauren ab9b18d3fb Core/Criteria: Always fail CRITERIA_ADDITIONAL_CONDITION_USED_LEVEL_BOOST_LESS_THAN_HOURS_AGO
Closes #26186
2021-03-01 00:52:15 +01:00
Shauren ad479e8fa0 Core/Spells: Implemented spell effect 202 SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS 2021-02-28 22:08:58 +01:00
Shauren 68bdf1c830 Core/PacketIO: Use hotfix status enum instead of magic numbers in SMSG_DB_REPLY 2021-02-28 20:58:03 +01:00
Jeremy 2380fc32dd Spells/Auras: Dont save SPELL_AURA_BATTLEGROUND_PLAYER_POSITION auras (#26076) 2021-02-28 18:50:41 +01:00
Robingad 995fb23bc1 Core/Scripts: Add SpellInfo argument to ScriptMgr::ModifySpellDamageTaken (#26141) 2021-02-28 18:42:36 +01:00
Robingad 5e78494e54 Core/Spells: Add nullptr itemTarget check in Spell::EffectEnchantItemTmp (#26172) 2021-02-28 18:10:27 +01:00
Shauren c86cffe5ef Core/DataStores: Support all new hotfix status values 2021-02-28 01:14:33 +01:00
Shauren 3e3b93b509 Core/Scenes: Add support for encrypted scenes 2021-02-27 21:49:35 +01:00
Ovah ee2ebfe87d Core/Auras: implemented SPELL_AURA_MOD_HEALING_DONE_PCT_VERSUS_TARGET_HEALTH (#26176) 2021-02-27 20:55:59 +01:00
Matan Shukry e972f84e7b Scripts/Spells: Removed unused warrior spell scripts (#26160) 2021-02-27 20:40:38 +01:00
Matan Shukry 8665323876 Scripts/Spells: Removed unused dk spell scripts (#26154) 2021-02-27 20:23:37 +01:00
Matan Shukry 1fa33b1dc8 Scripts/Spells: Removed unused warlock spell scripts (#26159) 2021-02-27 13:56:41 +01:00
Matan Shukry 18a82d9801 Scripts/Spells: Removed unused shaman spell scripts (#26158) 2021-02-27 13:51:37 +01:00
Matan Shukry 6b9ff7442e Scripts/Spells: Removed unused rogue spell scriptss (#26157) 2021-02-27 13:50:05 +01:00
Matan Shukry a681309d58 Scripts/Spells: Removed unused hunter spell scripts (#26155) 2021-02-27 13:28:42 +01:00
Matan Shukry b8f76334fe Scripts/Spells: Removed unused priest spell scripts (#26153) 2021-02-27 12:55:39 +01:00
Shauren afae75841b Core/SAI: Rename SMART_ACTION_TALK_CONVERSATION to SMART_ACTION_CREATE_CONVERSATION 2021-02-27 11:42:44 +01:00
Matan Shukry 0996d60944 Core/SAI: Add SAI action to create a conversation (#26169) 2021-02-27 11:22:55 +01:00
Shauren 87ec98dd21 Fix nopch build 2021-02-27 10:36:57 +01:00
Shauren ec9f5be6a6 Core/Phasing: Implemented setting personal guid on PhaseShift 2021-02-27 01:44:44 +01:00
Shauren c9344c145a Core/Auras: Implemented SPELL_AURA_PHASE_ALWAYS_VISIBLE 2021-02-26 22:10:34 +01:00
Shauren f269f60d8a Scripts/Quests: Implemented new quest scripting hook, OnQuestAcknowledgeAutoAccept, used when player closes quest frame after viewing details of autoaccept quests 2021-02-26 20:42:29 +01:00
Shauren dcca884605 Core/Misc: Really fixed nopch MSVC build
(cherry picked from commit e19bb7a1a5e2ee7881cd9637f46e97982d5f7560)
2021-02-25 20:29:22 +01:00
ccrs 045b26fe9f Core/Movement: correction on header use on some generators
(cherry picked from commit daef1493f2626085ff9381c24d330ab6fdfeadb6)
2021-02-25 20:20:29 +01:00
Shauren 34cd11860d Core/Misc: Fixed nopch MSVC build
(cherry picked from commit e977bb4c4de3608cbbfe0b2d28cd0f4176a44777)
2021-02-25 19:59:07 +01:00
ccrs 82b7f47d53 Core/AI: reorder methods in ScriptedEscortAI
plus ninja rename

(cherry picked from commit 0db5516a1a8edcb0bcac86bc1ba5354abe267097)
2021-02-25 18:50:55 +01:00
Ovah b77c9d7a8c Core/Spells: Gathering no longer fails after patch 3.1.0 (#21039)
* Core/Skills: gathering items with orange skill level will no longer fail as it has been removed with patch 3.1.0

Closes #21038

(cherry picked from commit 51bcd1a918f6d0a908deb01051a07f63a7f0e9d6)
2021-02-25 18:50:55 +01:00
jackpoz a01d397c3d Core/Misc: Fix static analysis issues
Fix static analysis issues reported by 3rd party tools

(cherry picked from commit 24e82fe83d384e3a4cf17719e728760053516607)
2021-02-25 18:50:55 +01:00
jackpoz 668a3ad643 Core/Misc: Fix static analysis issues
Fix coverity id 1382860

(cherry picked from commit 19e99478a70515660615fa8c9d27c7b9581d3098)
2021-02-25 18:50:55 +01:00
Ovah 2a51edc5bc Core/Creatures: Implemented extra flag to use offhand attacks (#21008)
* Fixed initial offhand attack timer so the main and offhand attacks will now act blizzlike instead of getting executed at the same time

Note: since some creature equipment items cannot be identified as weapon since they are only visual items there is no way to detect this automaticly
(cherry picked from commit 869affa89300c24b85896a050b58241714786454)
2021-02-25 18:50:55 +01:00
Keader 2630a5288a Core/Scripts: Fixed Enervating Brand in Baltharus encounter
Closes #21027
By Mihapro

(cherry picked from commit 6598c5d2f3af6f9282686fad844457fd1375785d)
2021-02-25 18:50:55 +01:00
Shauren c1ad297a72 Core/Spells: Fixed accessing freed memory after reloading spell_area
(cherry picked from commit d011097ab0f0c4763108547ba5667e8de5768ef6)
2021-02-25 18:50:55 +01:00
jackpoz 246871e3d5 Shared/Metric: Stop metrics on shutdown
Properly stop metric information gathering and sending on shutdown.
Issue reported by AddressSanitizer.

(cherry picked from commit e9c475d45f7fbe78d68e8d0cafe66b829acb6ce6)
2021-02-25 18:50:55 +01:00
jackpoz 96406e3408 Core/Crash reporting: Fix buffer overflow
(cherry picked from commit c7043b25f659eddd75fecd916235e524223c7f05)
2021-02-25 18:50:55 +01:00
jackpoz 7cb6c17df4 Core/CreatureAI: Disable TotemAI from database
Disable TotemAI set in creature_template, triggering an assert when spawning the creature

(cherry picked from commit 072c884ed86a9bf895cd5f53b0f6480ae14c3059)
2021-02-25 18:50:55 +01:00
Treeston 03ab9bc6fa woops (ref 76a4c7d)
(cherry picked from commit b4df977ca68e0785cdb96bdd90428d1996e4742b)
2021-02-25 18:50:55 +01:00