Commit Graph
100 Commits
Author SHA1 Message Date
Ovahlord c901772640 Core/Misc:
* applied character database updates for the caster depenency removal
* corrected implementation of SPELL_ATTR3_SUPPRESS_CASTER_PROCS and SPELL_ATTR3_SUPPRESS_TARGET_PROCS based on master branch
* removed a duplicate SpellAuraInterruptFlags::ActionDelayed removal call
2022-09-12 09:15:14 +02:00
Ovahlord 36b5e120af build fix 2022-09-12 09:15:12 +02:00
Ovahlord 3e89f6c8e3 Core/Scripts: remove hack that caused aura to not be applied and saved twice on owned auras, causing an error on save
- This is handled by group stack rules actually
- Also reset removed aura counter when cleaning removed auras
2022-09-12 09:15:12 +02:00
Ovahlord cecaedfb80 Scripts/Misc: added a few pointer checks in JustDied hook overrides 2022-09-12 09:15:10 +02:00
Ovahlord 2b9d976ed1 fixed build 2022-09-12 09:15:09 +02:00
Ovahlord 4e3c6bcf6a DB: added a missing spell script name from a cherrypick 2022-09-12 09:15:08 +02:00
Ovahlord 30e219bfa1 Core/Entities: don't allow client control if player is still affected by any lose of control state 2022-09-12 09:15:08 +02:00
Ovahlord b4f9844ce0 Scripts/Misc: added a few more nullptr checks in DamageTaken hooks 2022-09-12 09:15:07 +02:00
Ovahlord 1c09965c0f fixed another cherrypick typo 2022-09-12 09:15:07 +02:00
Ovahlord 5ff7fda516 resolved a cherrypick mistake 2022-09-12 09:15:07 +02:00
Ovahlord 24b84ba980 Core/Spells: Eye for an Eye will now deal damage to the attacker instead of attempting (and failing) to target the caster himself 2022-09-12 09:15:03 +02:00
Ovahlord 3c2d2880b7 Core/Spells: Grand Crusader will now only have a chance to proc by hitting the trigger spell's primary target 2022-09-12 09:15:03 +02:00
Ovahlord 8d5544d20c Core/Spells: fixed Judgements of the Just talent 2022-09-12 09:15:03 +02:00
Ovahlord 073f7d34db Core/Spells: fixed Speed of Light and Denounce talents 2022-09-12 09:15:03 +02:00
Ovahlord bf306d133a Core/Spells: refactored scaling code in SpellEffectInfo::CalcValue to reduce differences with master branch 2022-09-12 09:15:02 +02:00
Ovahlord e4ea987bab DB/Weather: added missing weather data for Uldum 2022-08-12 23:32:40 +02:00
Ovahlord 6d79ced79a Core/Weather: some minor refactors to reduce differences between master branch 2022-08-12 23:31:54 +02:00
Ovahlord fd27f0020d Core/Units: defined all faction template flags and properly implemented FactionTemplateFlags::HatesAllExceptFriends
*refactored FactionTemplateEntry helpers to use pointers instead of references since we use datastore pointers in all cases so there is no need to create references
2022-08-10 20:28:47 +02:00
Ovahlord 45af6bbd4b Scripts/Firelands: Burning Blast will now deal 10% increased damage instead of multiplying the entire damage 2022-07-23 23:12:18 +02:00
Ovahlord f09a7a37cc Scripts/Firelands: Majordomo Staghelm's Leaping Flames will now prioritize ranged classes and specs and falls back to any random target when no eligible target has been found 2022-07-23 22:47:54 +02:00
Ovahlord 149d9aec8d Core/Spells: allow Rip's periodic effect to crit 2022-07-17 11:47:56 +02:00
Ovahlord 33843c506f Core/Transports: remove an obsolete check that prevented vehicles from updating their passenger positions.
*vehicles now share the TransportBase class with regular transports
2022-07-09 22:47:12 +02:00
Ovahlord 67a5f43536 Core/Spells: no longer allow trigger npcs to trigger combat mechanics when launching or hitting spells 2022-07-02 18:15:16 +02:00
Ovahlord 9ea4f3914d Core/Creatures: always remove UNIT_STATE_FOCUSING when releasing spell focus regardless of the spell's attributes to prevent soft-locking a creatures's orientation 2022-07-02 18:15:16 +02:00
Ovahlord 846e89c1fc Core/Spells: allow Combustion's damage over time effect to crit 2022-06-24 23:13:48 +02:00
Ovahlord b13bcc85b0 Scripts/BWD: updated Nefarian's End encounter for new transport mechanics 2022-06-24 23:07:01 +02:00
Ovahlord dff55fa7ab Core/GameObjects: use the correc HighGuid value when spawning GAMEOBJECT_TYPE_TRANSPORT gameobjects 2022-06-24 22:49:08 +02:00
Ovahlord 1c77132c55 Core/Random: no longer use bernoulli_distribution for roll chances 2022-06-24 22:44:08 +02:00
Ovahlord 2a19782397 Core/Spells: corrected damage bonus effect handling for Shadow Word: Death 2022-06-24 21:50:20 +02:00
Ovahlord dea1e820f5 DB/GameObjects: move the Deeprun Tram transports back to database 2022-06-20 12:36:16 +02:00
Ovahlord fc36c0da82 Core/Maps: use correct header definition for Map::ScriptsStart 2022-06-19 22:51:51 +02:00
Ovahlord da8cb5e5b0 Core/Movement: partial cherrypick of f8ad7017dd69e3853ed5912ac6151bc56b6265a0 2022-06-19 22:11:09 +02:00
Ovahlord fc0dc939ba fixed nopch build and some warnings 2022-06-19 21:19:26 +02:00
Ovahlord fbd92f5476 Core/GameEvents: removed a debugging leftover that was causing GameEvents to not launch at all
* fixed a crash when trying to cast event sources and targets into non-allowed types
2022-06-19 19:56:51 +02:00
Ovahlord b1e99db2a4 Core/Util: ported Coalesce template 2022-06-19 18:20:42 +02:00
Ovahlord edc3940f37 Scripts/HoO: updated Lift of the Makers console to new transport handling 2022-06-19 18:16:01 +02:00
Ovahlord aa0b4ab7f5 Core/Misc: resolved more cherrypick mistakes 2022-06-19 00:38:26 +02:00
Ovahlord 8312130d34 Core/Transports: corrected a few more mistakes when reverting and porting transport changes 2022-06-18 22:06:44 +02:00
Ovahlord 58aac6430a Core/Transports: corrected a cherry pick mistake for BuildingUpdateValues 2022-06-18 21:55:34 +02:00
Ovahlord 97f3bd970e Core/GameEvents: tempoarily use source as game event reference for now 2022-06-18 21:37:51 +02:00
Ovahlord 6e9ec1a4bf Core/Transports: undo all custom transport changes as preparation for cherry picks 2022-06-18 18:37:14 +02:00
Ovahlord 74c60fa456 Core/Spells: ported SPELLMOD_PCT calculation fixups from master branch 2022-06-18 13:18:48 +02:00
Ovahlord 6b4056d8e8 Core/Spells: Will of the Necropolis will now reset the cooldown of Rune Tap instead of Blood Tap 2022-06-14 17:43:10 +02:00
Ovahlord 315b913c05 DB/Spells: Evangelism will now proc on cast instead of on hit to avoid triggering multiple procs when a periodic effect ticks 2022-06-13 17:29:24 +02:00
Ovahlord 7438afca74 Core/Spells: corrected the multiplier for Resurgence's mana gain effect 2022-06-13 14:24:33 +02:00
Ovahlord 0e6edacac3 DB/Spells: fixed Daybreak talent 2022-06-12 23:11:17 +02:00
Ovahlord 1383fa8379 Core/Spells: fixed typo in Long Arm of the Law's handling that was causing the talent to use spellId 1 instead of the specified spell 2022-06-12 22:55:44 +02:00
Ovahlord a6b07c2c9d Scripts/Firelands: Ragnaros' Magma Trap will now trigger Magma Trap Vulnerability only on heroic difficulty 2022-06-02 22:16:12 +02:00
Ovahlord 2ea89f9734 Core/Spells: fixed druid t12 restoration 4p bonus 2022-06-02 22:04:08 +02:00
Ovahlord 4dff2d5ad8 typo fix 2022-06-02 21:49:06 +02:00
Ovahlord c7e287ccb4 Core/Spells: Blaze of Life triggered by Eye of Blazing Power will now only target the most injured raid or party member instead of all 2022-06-02 21:46:45 +02:00
Ovahlord c63c81ef6c Core/Packets: enable and implement SMSG_SUMMON_RAID_MEMBER_VALIDATE_FAILED
* refactored target based summoning to not longer store targets in the target map and pull the directly from the caster's target update field in the effect handler
* implement support for party based summoning and use the new opcode to send error messages when a player cannot be summoned. Note: this packet does support sending multiple reasons for multiple members but sniffs show that they are still being sent one by one instead. Just Blizzard things
2022-05-17 20:43:49 +02:00
Ovahlord 6645a97434 buildfix² 2022-05-01 19:07:26 +02:00
Ovahlord 2af43011e3 buildfix 2022-05-01 19:03:24 +02:00
Ovahlord 80a5956574 Core/Spells: fixed Glyph of Wild Growth not causing Wild Growth to hit additional targets 2022-04-29 22:04:26 +02:00
Ovahlord 3fa069b8fc Scripts/EndTime: added missing repeat timer for Flarecore after Jaina has blinked to a new location 2022-04-26 19:48:23 +02:00
Ovahlord ff783b2388 Scripts/EndTime: implement Echo of Jaina encounter 2022-04-26 19:44:32 +02:00
Ovahlord fbd2ae1ee1 DB/WoE: scripted intro monologue for Nozdormu's entrance event 2022-04-25 16:42:54 +02:00
Ovahlord edfe82b4a3 Core/Misc: refactored a couple more loops to reduce copies and speeding up things
* silenced a few more msvc suggestions while at it
2022-04-22 22:52:52 +02:00
Ovahlord 0dede22a8e DB/Misc: updated 4.1 related spawns at Stormwind Harbor and handled visuals 2022-04-20 19:14:30 +02:00
Ovahlord 22032c239b Scripts/FL: increase Lord Rhyolith's turning sensitivity by roughly 25% 2022-04-17 01:04:54 +02:00
Ovahlord 4e3cfe283d buildfix 2022-04-11 06:46:14 +02:00
Ovahlord eb54b5c053 Core/Packets: converted a couple combat packets to packet class 2022-04-10 23:01:15 +02:00
Ovahlord ef4d1aa7c4 Core/Packets: added missing initialization for some guid packets 2022-04-04 23:47:09 +02:00
Ovahlord c7d7eff894 Core/Packets: use the correct opcode for GuildCommandResult packet as the JAM opcode has not been used yet according to sniffs and has a different packet structure 2022-04-04 23:39:18 +02:00
Ovahlord 8baf567ce1 Core/Spells: Herbouflage will now remove its regeneration auras when cancelled 2022-04-03 01:00:44 +02:00
Ovahlord befe4fe8b4 Scripts/FL: interrupt Ragnaros' spells when defeating him on normal difficulty 2022-04-02 22:25:06 +02:00
Ovahlord 600ffafd1f build fix 2022-04-02 19:11:16 +02:00
Ovahlord 7943bfb483 Core/Spells: Blood and Thunder will now only trigger with Rend effects applied by the caster
*optimized the checks while at it
2022-04-02 18:59:47 +02:00
Ovahlord 99c47ca94d f94ce79543 followup 2022-04-02 17:09:51 +02:00
Ovahlord f94ce79543 Core/Spells: Enraged Regeneration will now render the caster immune to other enrage effects and can no longer be activated via Vengeance 2022-04-02 17:03:09 +02:00
Ovahlord e5f09705c1 Core/Spells: fixed typos which have been added in 77158594ff 2022-04-01 14:03:45 +02:00
Ovahlord 367c120231 Core/Spells: make SpellInfo::CausesInitialThreat respect SPELL_ATTR0_CU_NO_INITIAL_THREAT as well 2022-04-01 12:21:11 +02:00
Ovahlord b629c65acb Core/Spells: Heroic Fury will now reset the cooldown of Intercept
* updated spell proc entry for Gag Order

ref #342
2022-04-01 00:12:45 +02:00
Ovahlord 1b637526d9 Core/Spells: reworked Execute damage and rage consumption calculations to fix an issue that was causing the additional rage to be less effective as intended
ref #342
2022-03-31 22:08:45 +02:00
Ovahlord 8d9132adf9 Core/Spells: a366352865 followup 2022-03-31 21:11:11 +02:00
Ovahlord 432c48f41a DB/Spells: Victorious triggered by killing enemies and proccing from Impending Victory will no longer stack and remove each other
ref #342
2022-03-31 21:09:22 +02:00
Ovahlord a366352865 Core/Spells: Bloodsurge will now get consumed by Slam prior to Battle Trance 2022-03-31 20:59:47 +02:00
Ovahlord 5c20419f65 Core/Spells: Bloodthirst will no longer proc its first healing effect from Bloodthirst itself 2022-03-31 18:53:35 +02:00
Ovahlord ce2d275a68 Core/Spells: Bloodthirst will now heal for 0.5% of the attacker's max health instead of 5%
ref #342
2022-03-31 18:44:26 +02:00
Ovahlord ea6898483e Core/Packets: send CHARACTER_FLAG_HIDE_HELM and CHARACTER_FLAG_HIDE_CLOAK in EnumCharactersResult packet
ref #342
closes #94
2022-03-31 18:38:57 +02:00
Ovahlord 0527bbdc0c Scripts/GB: updated Forgemaster Throngus' scripts to new model, improved the internals and removed a few now deprecated spell scripts 2022-03-30 22:00:12 +02:00
Ovahlord c71d626b42 Scripts/FL: keep Majordomo Staghelm active for the time being to prevent grid unloading to accidentally despawning him.
* we need a better solution for that. For example by re-introducing spawn point manipulation on a per-map base so we can update his respawn point properl
2022-03-29 22:02:49 +02:00
Ovahlord 4d3ffb2947 Scripts/FL: update Lord Rhyolith's orientation right away since we need it right away rather than when the spline updates 2022-03-29 21:46:52 +02:00
Ovahlord 2443d48081 Core/Creatures: no longer restore stored orientation values after a spell focus expires since there is no evidence, that this is ever being used on retail 2022-03-29 21:46:16 +02:00
Ovahlord 2fefbe8a0c Scripts/Misc: updated Flame Orb scripting modes and assign new AI type since orbs are no longer considered pets 2022-03-28 23:35:51 +02:00
Ovahlord 54b3276adb DB/Spells: correct the SpellTypeMask of several trinket procs that were not suposed to proc from effects like buffs or other generic casts 2022-03-28 23:21:32 +02:00
Ovahlord 82c9e10a2a Core/Spells: restore handling for src_area_x channel target selection 2022-03-28 22:51:41 +02:00
Ovahlord a82fe54bb7 Core/Skills: assign loaded skills that have been marked as forbidden to a proper skill position to avoid interfering with legit skills
closes #332
2022-03-25 11:37:52 +01:00
Ovahlord f573f1f8e3 Core/Packets: converted CMSG_LOADING_SCREEN_NOTIFY to packet class 2022-03-22 12:41:48 +01:00
Ovahlord ca9f34574d Core/Misc: fixed a bunch of GCC warnings 2022-03-21 21:32:41 +01:00
Ovahlord 9c88c6ea91 Core/Spells: fixed a typo in Atonement's spell script that was added when porting the CastSpell unclusterfucking 2022-03-17 22:41:58 +01:00
Ovahlord 77db3bf2df Core/Spells: Empowered Shadow's DoT bonus will multiply increase per stack of Shadow Orb 2022-03-12 20:29:21 +01:00
Ovah 804d78455c Removed requirements from readme file as they are identical to TrinityCore's main branches 2022-03-12 14:42:20 +01:00
Ovahlord 7a2e26d42e Core/Random: use std::bernoulli_distribution for roll_chance_ calls to get more reliable roll results for yes-no scenarios 2022-03-10 23:10:49 +01:00
Ovahlord a6809465b5 DB/Spells: added and updated proc data for Lightweave Embroidery 2022-03-10 20:45:44 +01:00
Ovahlord 5f2b1e45e4 Core/Spells: improve integer to float conversions and checks for spell proc entries 2022-03-10 20:43:12 +01:00
Ovahlord fd22ea32e6 Core/Spells: merged master version of checking for cast immunities 2022-03-10 20:41:47 +01:00
Ovahlord ae606af1ab DB/Spells: updated Arcane Missiles proc entries to only proc from other damaging spell casts 2022-03-10 13:16:03 +01:00
Ovahlord 2aee19fc86 Core/Movement: ported MotionMaster::MoveJumpWithGravity implementation from master branch and cut off post Cataclsym features 2022-02-24 19:37:05 +01:00