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
hondacrx
87b63b0975
Core/Spells: Fixed initializing spell power costs
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/dfdabdb97bdd776da4add3cd4f19cf5793160abf )
2020-05-20 20:05:49 -04:00
hondacrx
2fc4e3e71f
TC Ports:
...
Core/Misc: 522f537048 followup (https://github.com/TrinityCore/TrinityCore/commit/9a57e95f102a9d35ac8416d02e24c0dddbc755ed )
Core/CreatureAI: b6b0353bff followup (https://github.com/TrinityCore/TrinityCore/commit/5d411e0b21b1f1a4653d274d9b1cc7fef17f232b )
Core/Spell: move creature focus (https://github.com/TrinityCore/TrinityCore/commit/8c12f36915b2fddd48a5e4c9244c2b0498a64ae9 )
Core/Unit: 2170541a51 followup (https://github.com/TrinityCore/TrinityCore/commit/2d4549023a6655d19671f7f7e6b4f7c9b71ae632 )
Core/Misc: cleanup SetInFront uses (https://github.com/TrinityCore/TrinityCore/commit/104e745edfb89f95e34cad7840eae0b6e183bf94 )
Core/Unit: 229444b74a follow-up (https://github.com/TrinityCore/TrinityCore/commit/6a96addadd5dea633b3066b8d0427302ba514364 )
Core/Unit: revert 3ea46e57af (https://github.com/TrinityCore/TrinityCore/commit/a46286a803b41b375ed9352858c742626bb85720 )
Core/Scripts: remove OnDummyEffect hook/sOnDummyEffect ai hook (https://github.com/TrinityCore/TrinityCore/commit/1929ca3aa14f6cd83ea3ac9d7e8c0e2ed0e87a26 )
Core/Entities: moved PetAura handling to Player where it belongs (https://github.com/TrinityCore/TrinityCore/commit/4f6d38fe9d5c07e6e8eb88e517af71b6cdc4f9f8 )
Core/Spells: Fixed Chilled to the Bone (https://github.com/TrinityCore/TrinityCore/commit/08635c740a7ee04da9b0cd5045075a9432121b06 )
Core/Spell: implement pvp trinket immunity against Judgement of Justice (https://github.com/TrinityCore/TrinityCore/commit/05ba662d5daaa3428cc01cdaa3794bf5a073ef17 )
2020-05-19 14:49:37 -04:00
hondacrx
33097d3e2d
Core/Spell: don't make creature change orientation to 0 if channeling self
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/52ab2707682f37bbf35a0d384e81c79e8b064ebf )
2020-05-18 22:53:33 -04:00
hondacrx
0ca73248cd
Core/Spell: fix creature focus with channeled spells
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/e3eca0c26410a6c9dc7fbef46ffb938cdd0901bc )
2020-05-12 23:51:55 -04:00
hondacrx
86c88330d6
Core/Spell: register spell mod owner properly on spell cast
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/71c2fda1132d5fba3864f133d0e3ee4e81de508f )
2020-05-12 23:46:57 -04:00
hondacrx
a528aed6fe
Core/Spell: check aura positivity per effect on spell hit
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f31e380499b9ecceca9e86b1ee55eb29c7f87c88 )
2020-05-12 20:28:15 -04:00
hondacrx
cbc2597adb
Core/Spells: implement SMSG_MOUNT_RESULT and use it for transformed mounting cases
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb0d2ed2b96c314ea144b3524195ae96878e0079 )
2020-05-06 17:26:03 -04:00
hondacrx
ba885908b7
Core/Spells: fix wrong distance calculations in AoE spells
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59 )
2020-05-06 14:34:20 -04:00
hondacrx
8bc9cc9c55
Core/Items: Check required level to use items including any bonuses that modify it
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/b702401978928781249798dd607b6c6fbd10f122 )
2020-04-26 01:07:12 -04:00
hondacrx
a9d1d3f2b0
Core/Spells: Fixed Spell::CheckCast for targeting items trade with lockpicking
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/3b6e5a87d83989151d434d871dfa67ad4f9a2013 )
2020-04-25 00:42:26 -04:00
hondacrx
230453c451
New Year 2020 :)
2020-01-09 11:35:00 -05:00
hondacrx
5b9ad41953
Core/Items: Implement azerite empowered items
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/d934824421c83598853487c5cc9e4cbb3c5d0006 )
2019-12-05 22:55:44 -05:00