Commit Graph

251 Commits

Author SHA1 Message Date
hondacrx 9851142796 Core: Combat/threat system rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/34c7810fe507eca1b8b9389630db5d5d26d92e77)
2021-05-18 12:25:40 -04:00
hondacrx 76b09c2731 Misc fixes 2021-04-16 15:36:19 -04:00
hondacrx 2e34fa7f67 Scripts/Spells: Removed facing requirements from penance healing component
Port From (https://github.com/TrinityCore/TrinityCore/commit/38ad6c2cf043c640c798a1467b8ad71265fd9c6c)
2021-04-14 10:20:09 -04:00
hondacrx 38bf85a083 Core/Auras: FIxed paladin aura stacking
Port From (https://github.com/TrinityCore/TrinityCore/commit/a9fa007f83f99ccf38bc60bb1a75f671db092781)
2021-04-14 10:16:48 -04:00
hondacrx 084dc44a39 Core/DataStores: Updated db2 structures to 9.0.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/34a8baba85bdd86f07730e387144954dd64372ad)
2021-04-12 14:11:12 -04:00
hondacrx c1fb79b086 Core/Auras: Corrected logic used to determine if a spellmod should affect another spell, empty family name or class mask should not apply to any spell
Port From (https://github.com/TrinityCore/TrinityCore/commit/3f479399695ce4aed7f508be46cfdccfd4353eee)
2021-03-29 16:06:26 -04:00
hondacrx e3994d9636 Core/Spells: Defined and implemented new spell interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/07a47947e2e189649e48a093b66c8c3de8872ac0)
2021-03-29 13:09:27 -04:00
hondacrx 0501481fcd Core/Auras: Defined and implemented many new interrupt flags
Port From (https://github.com/TrinityCore/TrinityCore/commit/9b5a46ca2bb3a4632cb9914e0899df611a47d935)
2021-03-28 15:49:12 -04:00
hondacrx d93c4fc3cb Core/Spells: Updated spell shapeshift form flags enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/6db27c58b97a028026e0159109fbf20f6132e6b5)
2021-03-28 14:44:49 -04:00
hondacrx 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -04:00
hondacrx 76d79ff2e6 Core/Auras: Update AuraState enum and implement missing new ones
Port From (https://github.com/TrinityCore/TrinityCore/commit/69e0b9a98516a0cac14bc3f985a2deb2fe79205f)
2021-03-17 21:51:55 -04:00
hondacrx 4568cdad48 Core/Spells: Define all spell modifier types and implement ProcCooldown mod and PeriodicHealingAndDamage for melee periodic damage
Port From (https://github.com/TrinityCore/TrinityCore/commit/6585666e6e34ade0333e4c23876acdf847d169c0)
2021-03-17 18:52:59 -04:00
hondacrx 1be0e4a685 Core/Auras: fixed off by one error in counting SPELL_ATTR5_START_PERIODIC_AT_APPLY ticks
Port From (https://github.com/TrinityCore/TrinityCore/commit/794a3e43887d3fea4bb9b1ec77a98ab596eea0be)
2021-03-17 16:56:24 -04:00
hondacrx 98088d1d35 Core/Spells: Restore serverside spells fuinctionality
Port From (https://github.com/TrinityCore/TrinityCore/commit/71112d4d169ef192f8c3c9eb1303bdd880336eaa)
2021-03-15 16:29:10 -04:00
hondacrx c521848465 Core/Spells: Fixes a crash when powercosts doesnt contain the powertype. 2021-03-15 01:22:23 -04:00
hondacrx 9293b4ee17 Scripts/Spells: Fixed various paladin spell scripts and removed outdated ones
Port From (https://github.com/TrinityCore/TrinityCore/commit/1086007f98c8d120f353650d7567d82f6b9aa0f8)
2021-03-04 21:09:05 -05:00
hondacrx ef73fb171b Core/Spells: Moved power cost RequiredAuraSpellID condition checking to make sure all overloads of SpellInfo.CalcPowerCost take it into account
Port From (https://github.com/TrinityCore/TrinityCore/commit/ea63cd882c9f1438ab75036420a2bd3c18a3ecb5)
2021-03-04 20:39:05 -05:00
hondacrx 43f517063f Core/DB2: Fix loading db2, hotfix db has one record with -1 for procCharges 2021-03-04 16:35:29 -05:00
hondacrx c4fce8e60a Core/Spells: Updated spell effect type definitions to match latest client version
Port From (https://github.com/TrinityCore/TrinityCore/commit/a05fc3ded598f56d21d23e3efb218fa5381f45ab)
2021-03-04 16:06:06 -05:00
hondacrx 166da57c6b Core/Spells: Fixed calculation spell optional power cost when any modifiers are applied
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e3666bfbc88bdcc9344dd3ebcfed0f205d122b2)
2021-03-04 15:26:57 -05:00
hondacrx 923def9f4a Core/Spells: Refactor Player::ApplySpellMod to take SpellInfo argument instead of just spell id
Port From (https://github.com/TrinityCore/TrinityCore/commit/624881bef5c90a91e4c59e5bf404d8775c2ca55d)
2021-03-04 14:43:39 -05:00
hondacrx 42f411119a Core/Spells: Implemented spell effect 202 SPELL_EFFECT_APPLY_AREA_AURA_SUMMONS
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad479e8fa0de6659815e956ee5f2b594957a7d1d)
2021-03-04 14:21:45 -05:00
hondacrx ef247f9c1a Core/Spells: Fixes low level creatures dealing really high Damage. 2021-03-01 11:04:29 -05:00
hondacrx b413849c4d Fixed missing effect index being a uint and not a byte anymore, caused spells with more then 8 effects to not trigger them. 2021-02-28 00:25:48 -05:00
hondacrx d1c0aa114a Core/Spells: Prevent spell power costs from changing their sign (positive cost cannot become negative)
Port From (https://github.com/TrinityCore/TrinityCore/commit/01a3be276f4076762290e985d10d5c4ab1176ce0)
2021-02-22 16:07:10 -05:00
hondacrx f25af46c8f Core/Auras: implement mana cost modification aura
Port From (https://github.com/TrinityCore/TrinityCore/commit/a76c08843fc1695241b7246c4014322ee07a6453)
2021-02-22 16:06:13 -05:00
hondacrx f15cc130fa Core/Auras: Implemented SPELL_AURA_PERIODIC_WEAPON_PERCENT_DAMAGE
Port From (https://github.com/TrinityCore/TrinityCore/commit/5ed75bb2d3fdc5bd2ee4dddb748db291fe3b1541)
2021-02-22 15:29:14 -05:00
hondacrx 6c121e7ef5 Core/Entities: Regenerated updatefields code with latest generator fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/331b9ccd6a3be12e92e7c2aab7b793739b405d2f)
2021-02-18 12:08:56 -05:00
hondacrx 593ac992bc Core/Players: - Fixed auto learning class abilities that are rewarded from quests if starting Exile's Reach in case player chose not to start there
Port From (https://github.com/TrinityCore/TrinityCore/commit/b4bdc4eea678628ffdfda9bf2c1f8c9f02b7b7f1)
2021-02-13 20:50:56 -05:00
hondacrx a3e2e957c9 Core/Auras: Implement spell effect attribute NoScaleWithStack (0x40)
Port From (https://github.com/TrinityCore/TrinityCore/commit/b832ed2479c039958bce40c3c26294fc67acf744)
2021-02-09 12:50:35 -05:00
hondacrx b22dc3bc8a Core/Spells: Implemented summoning a personal gameobject effect
Port From (https://github.com/TrinityCore/TrinityCore/commit/e601c6d1f9b9743e92e9562abd9f2d24d9aaf175)
2021-01-26 19:27:45 -05:00
hondacrx 663b230e67 Core/Spells: IsAllowingDeadTargets now checks effects targets as well
Port From (https://github.com/TrinityCore/TrinityCore/commit/e08910deaf224557102b4ec93972347bb7a3ea16)
2021-01-26 16:47:34 -05:00
hondacrx b25c1487b2 Core/Races: Really fix bug in racemasks. 2021-01-25 13:06:53 -05:00
hondacrx c5e3c4280c Core/Aura: Fixes a crash in _InitEffects. 2021-01-14 11:12:07 -05:00
hondacrx 90f8029fe1 Core/Spells: Spells with Attribute SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY should dispel snare auras.
Port From (https://github.com/TrinityCore/TrinityCore/commit/22d5a2a2eb42cfb0f52a294669c31c7d32b27693)
2021-01-08 20:34:36 -05:00
hondacrx 031158b243 Core/Spells: Fixed issues with School Immune vs SPELL_ATTR1_UNAFFECTED_BY_SCHOOL_IMMUNE
Port From (https://github.com/TrinityCore/TrinityCore/commit/5a82598f03140cbfb288e1848efc983cf5d1f8cb)
2021-01-03 15:02:24 -05:00
hondacrx e9fd790e07 Core/Spells: Fixed fallback values for EquippedItemSubClassMask and EquippedItemInventoryTypeMask
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a1066839596972c432649eb855359a0f8975b92)
2020-12-31 15:30:41 -05:00
hondacrx 4c2106781a Core/PacketIO: Updated packet structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/96d340f70ccef57fad177a24ca099055d7dce04d)
2020-12-12 23:45:36 -05:00
hondacrx f0037ab99f Core/DataStores: Updated db2 structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
2020-12-12 23:20:41 -05:00
hondacrx 7e2df34250 Misc cleanups/Fixes 2020-12-07 10:07:26 -05:00
hondacrx 8fc9c45d50 Misc cleanups/DB updates
Port From (https://github.com/TrinityCore/TrinityCore)
2020-08-22 16:24:59 -04:00
hondacrx 062eecf20b Misc fixes 2020-08-20 23:21:53 -04:00
hondacrx 2773a4430f Misc fixes 2020-08-12 17:44:16 -04:00
hondacrx 2b13cba15b Core/Spell: fix some spells that shouldn't allow stealth or invisibility
Port From (https://github.com/TrinityCore/TrinityCore/commit/68131dbd92f2a9c7b932a7f23719f57adf66d90e)
2020-07-23 19:02:33 -04:00
hondacrx d1ebddbe95 Core/Spells: Allows Dispersion under Freeze (stun by hunter trap)
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4ac8146b6fb76fd80f525dbb8b14706fa080f98)
2020-07-22 00:50:15 -04:00
hondacrx da2ef5009b Core/Spells: Allows Dispersion and Barkskin to be used under death coil
Port From (https://github.com/TrinityCore/TrinityCore/commit/87c5ddeab6b2ec691dba1bdf7f34864bb4dd78d0)
2020-07-22 00:47:02 -04:00
hondacrx e179d29b55 Core/Spells: Include more than first 2 spell effects when determining if a spell is negative
Port From (https://github.com/TrinityCore/TrinityCore/commit/176c75e8dbad95bfdcd88034f75e1452997ddb07)
2020-07-14 16:58:41 -04:00
hondacrx c06baf1bf5 Core/Spells: Assign spell effect handles for new apply aura effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/c3dcbe04dcea04ce3f453f99d44ebebb542bcda7)
2020-07-12 00:39:37 -04:00
hondacrx 4164384b72 Core/Spells: Implemented new target types
Port From (https://github.com/TrinityCore/TrinityCore/commit/fce9fca9002e5bfc99990b9108aa56447e5001bd)
2020-06-21 14:33:32 -04:00
hondacrx 1a2411ae0f Ports from (https://github.com/TrinityCore/TrinityCore)
Core/Unit: don't clear low health aura states on death
Core/Gossip: Fix gossip bug on modify money
Core/Spells: Change the radius of PBAoEs following the feedback received on
Core/Player: update interaction checks, some info taken from client
Core/Spell: abort channeling if no valid targets are found after searching
Core/Creature: fix _DespawnAtEvade saving wrong respawn time
Core/Spell: fixed some problems with per caster aura states
Quickfix a bug introduced by 2f19d97 which prevented GTAoE from being cast.
Core/SmartAI: allow SMART_ACTION_SEND_GOSSIP_MENU to override default gossip
Core/Spell: in case of immunity, check all effects to choose correct procFlags, as none has technically hit
Fix evade issues when a spell hits the target just before evading.
Scripts/Command: implement .debug play music command
Partial revert, Unit::getAttackerForHelper() shouldn't return units that we aren't in combat with (victim can be such a unit for players/player pets, which can startattack from a distance without entering combat).
Fix an issue where CanSpawn would never get invoked on creatures without per-guid script.
Core/Players: fix null dereference crash
2020-06-21 13:01:24 -04:00