Commit Graph

129 Commits

Author SHA1 Message Date
hondacrx 1509cdfded Core/Spells: Expose number of targets selected for each spell effect to scripts to allow implementing spells that do something depending on number of targets hit
Port From (https://github.com/TrinityCore/TrinityCore/commit/1a7779a6e6464d9bc5b367e02820213edd60f704)
2021-05-13 20:35:45 -04:00
hondacrx aaa3964d49 Core/Grids: Move packet sending functionality out of MessageDistDeliverer and into separate, customizable class and unify LocalizedPacketDo, LocalizedPacketListDo as generic localizable action
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb66575d38d2ba7ffc24c29824fa75d7019de549)
2021-05-02 13:41:19 -04:00
hondacrx 47f993bff5 Core/Spells: Removed extra health from feed pet
Port From (https://github.com/TrinityCore/TrinityCore/commit/60df74933f0bf75865ba963b33c2c1bdd9cdefbd)
2021-04-22 20:40:17 -04:00
hondacrx 431085e7d1 Core/Spells: Added spell value duration to modify aura duration of a specific spell cast
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e2dc1afc94b5d6864cf7dc8ca5799c349bdca4d)
2021-04-21 22:19:12 -04:00
hondacrx d0faa12ef6 Core/Spells: CastSpell Cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/)
2021-04-18 18:42:11 -04:00
hondacrx 17132dd6b6 Core/Entities: Fix some weird movement due to los issues
Port From (https://github.com/TrinityCore/TrinityCore/commit/446fc391f02d3ca8e1332b58f910a5b7d1c8e226)
2021-04-16 16:14:43 -04:00
hondacrx da0b406c8a Core/Spell: implement SPELL_FAILED_AURA_BOUNCED on DR spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/bebc20b4de7db2fa1b80ac481902a39d92bd4dc8)
2021-04-16 15:20:02 -04:00
hondacrx 7ef7bb1728 Core/Spells: Fixed spell channel object selection
Port From (https://github.com/TrinityCore/TrinityCore/commit/9619f7c2832c550d4606410a8cdbde5ee54c761d)
2021-04-14 10:30:02 -04:00
hondacrx 3d40c868f6 Core/Script: Implement CalcCritChance hooks for spell and aura scripts
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8255b15419cd1efdd2ccaf77298c8598322288f)
2021-03-29 16:04:29 -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 e85838b4d4 Core/Spells: Defined more spell attributes
Port From (https://github.com/TrinityCore/TrinityCore/commit/29169181cd6980ef6cb0f66478e305b36f79c23a)
2021-03-29 11:52:04 -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 62ec699ec6 Core: SOme code cleanup, more to follow. 2021-03-20 22:48:48 -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 369c4526be Core/Spells: Changed channel triggered spells to inherit positive/negative status from main spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/16135b5096716eee7f7a9a364713e267a5c4bfa0)
2021-03-17 13:45:36 -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 cee1fbe0d2 Core/Auras: Remove m_effIndex member of AuraEffect and always take it from SpellEffectInfo
Port From (https://github.com/TrinityCore/TrinityCore/commit/efdca47aff354079bc73d248e022c2e914d94e7b)
2021-03-15 15:37:07 -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 f0bbedddee Core/Spells: Add Spell.HasPowerTypeCost to check which power types a spell uses
Port From (https://github.com/TrinityCore/TrinityCore/commit/0960308cfcfab740456b070901bed92b4d6fb4a7)
2021-03-04 20:32:07 -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 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 64bafe8d73 Misc cleanups 2021-03-04 11:47:12 -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 d1485ad482 Core/Spells: Fixed spells using SPELL_EFFECT_POWER_BURN not working when combined with other effect types that hit other units and power burn hits caster
Port From (https://github.com/TrinityCore/TrinityCore/commit/23aa13257a0af0143651f48ac3af65435ba9f346)
2021-02-24 18:49:18 -05:00
hondacrx e74d30024f Core/Auras: Implemented new spell modifier type to change aura stack size on apply
Port From (https://github.com/TrinityCore/TrinityCore/commit/51a9d2a9c20f36f5343049a340663601c1c1165b)
2021-02-22 16:01:43 -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 7ae358bd71 Core/Auras: Rename many old aura types to their new meaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/bd7c714c97beb04eb815b0aa175badfb6933ccf1)
2021-02-22 15:05:41 -05:00
hondacrx 22100aa2f2 Core/UpdateFields: Fixes areatriggers from spells being really small. 2021-02-21 13:56:25 -05:00
hondacrx addc831f0d Core/Spells: Adding SpellTargetObjectTypes to spell target checker to early-eliminate alive units
Port From (https://github.com/TrinityCore/TrinityCore/commit/0cae71eac58bf37c6a2cbce2a60dd2aa1f7b4314)
2021-02-09 13:02:06 -05:00
hondacrx a6c5ac711e Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/d697882dfbb16242b7aa0b915fb116a14039ac5e)
2021-02-04 12:24:50 -05:00
hondacrx fc475c4338 Core/Spells: Defined new spell attributes
Port From (https://github.com/TrinityCore/TrinityCore/commit/b2ddf547ff7acd3dab7c93579d8a44fe825c7ecf)
2021-01-19 13:46:59 -05:00
hondacrx a4c4db7af5 Core/Spells: Fixed missing null checks on some SpellEffects 2021-01-14 17:06:53 -05:00
hondacrx 15a69ae550 Core/Spells: Core/Spells: Improve teleport destination for a certain class of spells (Killing Spree, Shadowstep, ...)
Port From (https://github.com/TrinityCore/TrinityCore/commit/540678be069b24664ad95f1922288d026b7e0e41)
2021-01-03 15:10:14 -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 cbbdf6d695 Core/Spells: Use new spell visual structure instead of just SpellXSpellVisualID
Port From (https://github.com/TrinityCore/TrinityCore/commit/7f6eef37e61ea3d47bf8028c6e37175ba0a71373)
2020-12-10 10:43:24 -05:00
hondacrx 0749a06c99 Core/Misc: First set of required db changes for 9.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ca29f3cb050896a8a6c1fea5b2364b2b11c22cd)
2020-12-09 16:03:38 -05:00
hondacrx c46c7ba2dc Core/PacketIO: Updated most packet structures to 9.0.1
Port From (https://github.com/TrinityCore/TrinityCore/commit/cab4c87d2d7f6d734ef067d6bf50f4b1d338a7bc)
2020-12-09 14:01:38 -05:00
hondacrx c2ae405346 Core/Commands: Cleanups 2020-08-24 17:38:22 -04:00
hondacrx 36a8844acc Creatures now release spell focus on projectile launch (for spells that have a projectile portion) as opposed to projectile impact.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bacc5ef94ec0f064248b871646d88955da04b725)
2020-08-22 13:02:17 -04:00
hondacrx b3ebc2f8b5 Core/Spells: enable and implement SMSG_MISSILE_CANCEL
Port From (https://github.com/TrinityCore/TrinityCore/commit/71db17220ae67dc6a354e88451ffc0700fe6c5f9)
2020-08-22 12:58:19 -04:00
hondacrx 193ad3a48d Combat/Threat rewrite - prep & refactor
Port From (https://github.com/TrinityCore/TrinityCore/commit/8be23fcbbdf26e8169defd761e61765f301bebe0)
2020-08-22 11:58:19 -04:00
hondacrx ddaaae896e So, I came in trying to fix gameobject LoS. So I restructured some stuff.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5392212799b669d91c80cf0e9539a3aaa2abbe79)
2020-07-23 19:01:15 -04:00
hondacrx db44970987 Pet/Guardian AI hook re-organizing
Port From (https://github.com/TrinityCore/TrinityCore/commit/f7a7d02a7f50400cdc2be3c4722afeefe7efce80)
2020-07-22 15:27:19 -04:00
hondacrx 2bff624426 Re-check target evade state on projectile impact and adjust accordingly. This fixes the incorrect message ("Absorb" instead of "Evade"), and also removes the root cause of the original evade follow bug
Port From (https://github.com/TrinityCore/TrinityCore/commit/323e3b9cdeda96d5f0d5be1c615de489ee41ad85)
2020-07-22 14:08:25 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -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
hondacrx d7954f4fc7 Core/Spells: Implement using different difficulty data from all spell related db2s, not just SpellEffect and SpellPower
Port From (https://github.com/TrinityCore/TrinityCore/commit/c7306439e7004288fb85890d6a5f730cf1761d71)
2020-06-18 12:39:39 -04:00
hondacrx d09ddf2032 Core/Items: Implemented new bonus type (extra ItemEffect)
Port From (https://github.com/TrinityCore/TrinityCore/commit/63fba4751142d7a16d6316e9fb5ad844da088509)
2020-06-10 13:25:01 -04:00
hondacrx 888d281aa7 Core/Players: Only restore spells learned as quest rewards if they have the right AcquireMethod in SkillLineAbility.db2
Port From (https://github.com/TrinityCore/TrinityCore/commit/4acae3992bfecf85d68c0860007f7c538ca45a90)
2020-05-22 14:17:06 -04:00