Commit Graph

205 Commits

Author SHA1 Message Date
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 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 b600c21ac2 Port From (https://github.com/TrinityCore/TrinityCore)
Core/Spells: Removed duplicated check
Revert "Core/Groups: fix wrong query for loading group instance data. canReset attribute was calculated in the wrong way"
Core/Scripts: moved Wild Growth calculation to script and fixed formula
2020-06-21 13:10:09 -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 c55af6ae95 Core/Spells: change to the way the spell effect SPELL_EFFECT_JUMP work
Port From (https://github.com/TrinityCore/TrinityCore/commit/419689b4859a431b2d678ba69a17d7a9c5376f56)
2020-06-19 19:52:45 -04:00
hondacrx 15192d6a38 Core/Items: Implemented corruption and corruption resistance stats
Port From (https://github.com/TrinityCore/TrinityCore/commit/6533de31005fc9680d9f2b61a4d8ea4958fc8edc)
2020-06-18 15:39:41 -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 f0942a257e Misc fixes/Misc DB updates 2020-06-12 16:52:42 -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 c2aee387a8 Core/Scripts: unified scripted gossip/quest api
Port From (https://github.com/TrinityCore/TrinityCore/commit/6604849716bc73d82a4cdbf8c66bb188086ceae4)
2020-05-22 13:28:20 -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 d8558a57ef Core/Spells: Corrected aura SPELL_AURA_MOD_CASTING_SPEED_NOT_STACK handling for auras with very high values
Port From (https://github.com/TrinityCore/TrinityCore/commit/9842ca3f4a843e97815512e84e9860737ab5db21)
2020-05-19 14:07:41 -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 0cee55d94f Core/Spell: define channels without movement interrupt flags as allowed move
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e32e96278757aa52ef87cb122dd99825e6c8de9)
2020-05-18 22:52:07 -04:00
hondacrx 970d18031c Misc fixes 2020-05-18 22:46:18 -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 09f26b305f Core/Auras: don't skip stack rule check whenever spells have same ID
Port From (https://github.com/TrinityCore/TrinityCore/commit/677df56d2da9eb5ae997537c9cc952ac86c8f8db)
2020-05-12 23:43:56 -04:00
hondacrx d8104a0032 Core/Spell: fixed SPELL_GROUP_STACK_RULE_EXCLUSIVE_SAME_EFFECT to actually check effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/52e00746cf4a8f1b5455210dfe1baed0f342f2c4)
2020-05-12 23:38: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 f723336c35 Corrected points per level calculation for some spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/8df577ebfed34131184d2fd08b131b29b96d4fd3)
2020-05-06 17:54:31 -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 ac8d747c61 Misc fixes 2020-05-06 14:51:08 -04:00
hondacrx e81b1e3ba7 Core/Unit: cleanup UnitState enum
Port From (https://github.com/TrinityCore/TrinityCore/commit/1f0dc07ef183eefab5ad2c4a4f857d5184f5ad6f)
2020-05-06 14:46:11 -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 83f57da2b6 Core/Spell: fix an issue with vehicle spells changing orientation of base vehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/e44d0c88734f8dcfd15655224ed6c674dffe1da6)
2020-05-06 13:47:04 -04:00
hondacrx c3adef77a9 Misc cleanups 2020-05-05 19:09:57 -04:00
hondacrx 9ec956becf Core/Auras: reworked multiplicative AuraEffects calculation
Port From (https://github.com/TrinityCore/TrinityCore/commit/ebc06b1d0401be69066986e18d0e926170c58023)
2020-05-05 18:38:43 -04:00
hondacrx 5a178644b5 Core/Spell: Fixed Val'kyr Target Search exploit
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3d946cee97136e4c76f88ea17fd1802c4d45a22)
2020-05-01 13:12:54 -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 400088bb38 Core/Items: Fixed learning 2nd and 3rd copies of battle pets from items (not caged pets)
Port From (https://github.com/TrinityCore/TrinityCore/commit/361946419e1a1d665f0d075231372cf4106058d9)
2020-04-25 00:39:37 -04:00
hondacrx 9ee0d404b7 Core/Misc: Defined new summon properties titles
Port From (https://github.com/TrinityCore/TrinityCore/commit/3700e0ef5de95dc79290cd16b5abacdd0d490570)
2020-04-25 00:30:04 -04:00
hondacrx b7897eec42 Core/Auras: Fixed incorrect cherry-pick merge conflict resolution - fixes procs never triggering
Port From (https://github.com/TrinityCore/TrinityCore/commit/1669b58374ee02365114523836128b341b6f8863)
2020-02-22 19:10:40 -05: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
hondacrx 013933d7f5 Core/Auras: Update aura type to its new meaning
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d73b7ac9e4167b32fbe73341211e4a7dcd084c4)
2019-12-02 14:18:12 -05:00
hondacrx cdb225a4b6 Core/Spells: Fixed value of aura effects for stat mod auras applied by items
Port From (https://github.com/TrinityCore/TrinityCore/commit/123858331211db6fe6745f0886c1499f8e598443)
2019-12-02 14:01:46 -05:00
hondacrx 40ed357043 Core/Items: Add location filters to Player.GetItemByEntry
Port From (https://github.com/TrinityCore/TrinityCore/commit/96575e33bb6992e6906e02427f20c58af674bdaa)
2019-12-02 13:21:01 -05:00
hondacrx 916f9a2ea2 Misc stuff 2019-11-27 11:23:07 -05:00
hondacrx 63105504a4 Core/Items: Add ItemContext param to Item::Create function
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a2d9ad2f7673e2b7ee62b7cc6f1a19639d37864)
2019-11-23 00:44:38 -05:00
hondacrx 796c11795f Core/Items: Implement azerite essences
Port From (https://github.com/TrinityCore/TrinityCore/commit/ec9d624aec9e0a39b1bcee7d4077f46be358faad)
2019-11-22 21:39:35 -05:00
hondacrx e95115dc94 Core/DataStores: Updated db2 structures to 8.2.5
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ac790287aba5f7d7c3bccf79e608de9119e461a)
2019-10-29 13:09:23 -04:00
hondacrx c4ecfc9f02 Core/Spells: Delete ancient bg mark code from create item spell effect
Port From (https://github.com/TrinityCore/TrinityCore/commit/38d04775dbd960d8e6fbfcd1d605be30cb425f08)
2019-10-24 16:36:02 -04:00
hondacrx 570aebce26 More refactoring of code. 2019-09-23 21:41:13 -04:00
hondacrx 35c06c09fd Some refactoring of code. and some cleanups 2019-09-21 12:11:16 -04:00