Commit Graph

1351 Commits

Author SHA1 Message Date
hondacrx d3530ddf1c Fixed a crash in RequestEarlyLanding 2021-09-08 17:41:20 -04:00
hondacrx 5c4a7511ff Core/Spells: Cleanup spell effects
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a4e1119ac21e2d1112d1717337597fe073e495f)
2021-09-08 17:40:50 -04:00
hondacrx 1e96f4a663 Core/Auras: Fixed cherry-pick mistakes in Unit::RemoveMovementImpairingAuras and Unit::HasAuraWithMechanic
Port From (https://github.com/TrinityCore/TrinityCore/commit/9d7eee1a8cc0fbfe297f2114446e5f634255b3f3)
2021-09-05 10:14:01 -04:00
hondacrx fcb7edb93f Core/Spells: Remove leftover code from old mechanic - default spellpower scaling coefficients
Port From (https://github.com/TrinityCore/TrinityCore/commit/407e5aea1a0e9395f8a0dda58b004c5659e78b7b)
2021-09-05 10:11:16 -04:00
hondacrx 4c08eebc49 Fixed two crashes 2021-09-04 20:53:47 -04:00
hondacrx cdd34e644a Fixes loading into server/creating new character. 2021-08-31 13:20:06 -04:00
hondacrx 4e03358392 Core/Spells: Remove outdated damage calculations from Spell::EffectSchoolDMG and Spell::EffectWeaponDmg
Port From (https://github.com/TrinityCore/TrinityCore/commit/6031b95ea717214afb369782337c7e52f6587af6)
2021-08-30 16:29:23 -04:00
hondacrx 02f1211445 Core/Spells: Removed SpellEffIndex effIndex argument from spell effect handlers, it was commented out in almost every handler
Port From (https://github.com/TrinityCore/TrinityCore/commit/3dd75a49b190098010803014072c0c8bee2996bd)
2021-08-30 15:55:48 -04:00
hondacrx 6e9451082d Core/Spells: Refactor building SMSG_SPELL_EXECUTE_LOG to not create 192 empty vectors on every spell cast
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc2c76a5b8b4a6e5c1d6e65d367c700e4ef1cbf2)
2021-08-30 15:46:45 -04:00
hondacrx 85f7edc339 Misc fixes. 2021-08-29 18:46:18 -04:00
hondacrx b66d65d406 Core/Reputation: Fixed FriendshipReputationFlags::NoRepGainModifiers implementation
Port From (https://github.com/TrinityCore/TrinityCore/commit/b9647bdecc08e63041bbf0d845d5c5b81705e180)
2021-08-29 18:28:48 -04:00
hondacrx 949d4806c5 Core/Spells: rework part 5: GameObject casting
Port From (https://github.com/TrinityCore/TrinityCore/commit/962f6d7988b9003e550f6745be7cff812e9d8efa)
2021-08-29 18:27:08 -04:00
hondacrx e97ffa304d Core/Spells: rework part 4: iterate over effects first
Port From (https://github.com/TrinityCore/TrinityCore/commit/65dca120d34febdaa84a63e17f638ab0fa59b3df)
2021-08-28 22:35:39 -04:00
hondacrx 091272755c Core/Spells: rework part 3: spells only handle at most one UnitAura and one DynObjAura during its lifetime
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3548d45d0a74203ef6f5c7282c31ba794ddf7a1)
2021-08-28 17:03:47 -04:00
hondacrx 5ff5fb7d3f Core/Spells: rework part 2: Split up target selection logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/52ae3c89d1d4dbcff309d940fd41c7212edc77b7)
2021-08-28 14:40:52 -04:00
hondacrx 9123dec4b9 Core/Spells: rework part 1: Improved positive detection logic
Port From (https://github.com/TrinityCore/TrinityCore/commit/1e1415a49128d034c8d48aa8cbb5d157200371b0)
2021-08-28 13:56:32 -04:00
hondacrx be0575f654 Fixed server loading. 2021-08-24 12:35:22 -04:00
hondacrx 8636712938 Core/Creatures: Remove hover on death
Port From (https://github.com/TrinityCore/TrinityCore/commit/a91edcb9524b53f027a8ef8c247a443a9bb42f1e)
2021-08-24 12:27:36 -04:00
hondacrx e4240fcd94 Core/Creatures: Reworked setting move types in database
Port From (https://github.com/TrinityCore/TrinityCore/commit/f8c03a90661610e289029c78d2055d7b73a5ad98)
2021-08-24 12:23:39 -04:00
hondacrx 89058fec83 Core/Movement: Fixed creature hover
Port From (https://github.com/TrinityCore/TrinityCore/commit/2e2b29861878fda2d27156c71a1d8ed7dbe0b4fe)
2021-08-24 11:10:59 -04:00
hondacrx 1c5bb258d5 Core/CreatureAI: CheckBoundary -> IsInBoundary, better reflects what it does.
Port From (https://github.com/TrinityCore/TrinityCore/commit/994121e671127ce11df4e631ab0a4c310234191f)
2021-08-24 10:56:39 -04:00
hondacrx d773f6e71b Core/Player: Do not remove auras from Gamemasters in arenas
Port From (https://github.com/TrinityCore/TrinityCore/commit/90b81a212e2416f767be3ea06567303d36811449)
2021-08-23 14:41:44 -04:00
hondacrx 35c3699d4e Core/Conditions: validate object types when conditioning implicit spell targets with CONDITION_OBJECT_ENTRY_GUID
Port From (https://github.com/TrinityCore/TrinityCore/commit/08f4f9b3241240bd02ba828d2fc1eee6de6b145c)
2021-08-23 14:41:04 -04:00
hondacrx 31d6fb2e24 Core/Entities: ghouls start with full energy
Port From (https://github.com/TrinityCore/TrinityCore/commit/e8e501609fd6e8b4b0affd8d91077d36e7161a89)
2021-08-23 14:31:37 -04:00
hondacrx 663f082640 Some Cleanups from porting. 2021-08-23 14:29:45 -04:00
hondacrx 2b261a03d3 Core/Maps: Fixed outdoors check
Port From (https://github.com/TrinityCore/TrinityCore/commit/43b944bf92e9851bbebb6c2bb0169b9b2018cfcd)
2021-08-22 23:14:19 -04:00
hondacrx 607f891fa8 Core/Achievements: Several criteria fixes
Port From (https://github.com/TrinityCore/TrinityCore/commit/bca465a5694101c476dc01aeafa95dfb3531e427)
2021-08-22 23:12:19 -04:00
hondacrx f639a44707 Core/Spells: explicitly disable non proccing auras when generating default procs
Port From (https://github.com/TrinityCore/TrinityCore/commit/0ae1ebedfee41662df5ec49ae2b40670aaea9665)
2021-08-20 19:05:59 -04:00
hondacrx 9947e778b7 Core/Auras: remove too strict checks in area auras, since a few aren't owned by its caster
Port From (https://github.com/TrinityCore/TrinityCore/commit/95c8eae12340d2df59d63c7f67874d21af46a171)
2021-08-20 18:55:14 -04:00
hondacrx 14392fe24c Core/Auras: fixed SPELL_AURA_MOD_HIT_CHANCE honoring stack rules in all cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/b0a05812d23aa1ebe69045243233a5eaba064f11)
2021-08-20 18:51:50 -04:00
hondacrx 936f9d4d93 Core/Auras: added sanity checks for area auras having a different owner unit than caster
Port From (https://github.com/TrinityCore/TrinityCore/commit/6c642f33b58ce81eb5b1345a7f0eb89de6040251)
2021-08-20 18:50:01 -04:00
hondacrx 2fc1b437d0 Core/PacketIO: Do not send hotfix Status::Valid when we don't have a hotfix blob for current locale
Port From (https://github.com/TrinityCore/TrinityCore/commit/065794ed66e025c7ac57c708bb25ca4f2c6e62e9)
2021-08-20 18:41:12 -04:00
hondacrx 2aadd8a721 Misc fix 2021-08-17 09:52:08 -04:00
hondacrx ea364025fb Core/Quests: Fixed quests not working after relogging
Port From (https://github.com/TrinityCore/TrinityCore/commit/c0261468c58a994f2d87a70b1d08a9db507cf2b4)
2021-08-17 09:51:52 -04:00
hondacrx c3367b7508 Core/Spells Implement targets 133, 134, 135 : TARGET_UNIT_LINE_CASTER_TO_DEST_***
Port From (https://github.com/TrinityCore/TrinityCore/commit/fb6761c273d518eae6bab72fc9c2a2b6f93eec83)
2021-08-15 09:05:23 -04:00
hondacrx 66280abe58 Core/AreaTrigger Update box searching to handle oriented boxes
Port From (https://github.com/TrinityCore/TrinityCore/commit/4725941567f9dae583fc27b52b51a23aa84cd098)
2021-08-15 08:43:57 -04:00
hondacrx fa03706395 Core/Battlegrounds: Change Battleground* argument to BattlegroundQueueTypeId
Port From (https://github.com/TrinityCore/TrinityCore/commit/20d70abb2c82798dd4a4338dcf3d80a61312d1fb)
2021-08-15 08:41:29 -04:00
hondacrx 5cf8cff41e Core/Items: Implemented secondary shoulder transmog appearance
Port From (https://github.com/TrinityCore/TrinityCore/commit/03f09ea16ab683fac0f3be3c0656fdb80b63154e)
2021-08-11 20:38:21 -04:00
hondacrx 9e7116f4de Fixed hunter auto attack. 2021-08-09 14:40:58 -04:00
hondacrx 140abe98d1 Misc Fixes 2021-08-09 11:39:46 -04:00
hondacrx fbf1a05485 Core/Movement: Correct distance checking
Port From (https://github.com/TrinityCore/TrinityCore/commit/30cfe3741ab937057f87043a4ed089258d836323)
2021-08-09 11:39:19 -04:00
hondacrx f31d3ec432 Core/Creature: Temporarily let Creatures violate dynspawn assumptions for pooled creatures. This should fix startup crashes until I can investigate and find a long-term fix.
Port From (https://github.com/TrinityCore/TrinityCore/commit/4b93059ec79f06effeeb4c164e426e0276b24193)
2021-08-09 11:38:27 -04:00
hondacrx 1f72103d78 Core/Creature: Add another aggressive compatibility mode assertion to catch faulty dynspawn code.
Port From (https://github.com/TrinityCore/TrinityCore/commit/8757a80767a932ceea679e84881c7dd2f89322cb)
2021-08-09 11:36:10 -04:00
hondacrx 06fe13fbab Core/VMap: Add outdoor state to Map::GetFullTerrainStatusForPosition. Add WorldObject::IsOutdoors, basic member access.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e47e95b6dc89a7332ae4d5d833639e4f30f3d8c5)
2021-08-09 11:33:30 -04:00
hondacrx 37fd6936fd Core/Threat: Fix taunt logic relying on unspecified behavior by unordered boost heap iterators. Use ordered iterators instead, this is cheap for our use case anyway. This will make taunt behave consistently again.
Port From (https://github.com/TrinityCore/TrinityCore/commit/74cdf260e1e37d54ac1ce2045f05a2e50f7eceaa)
2021-08-09 10:27:17 -04:00
hondacrx d6dd7acd28 Core/GameObject: implemented gameobject_overrides table to change faction and flags values on a per-spawn basis
Port From (https://github.com/TrinityCore/TrinityCore/commit/67a1a1d29b76acfcda505fe1a38761a335e93bc5)
2021-08-09 10:24:32 -04:00
hondacrx 7cc0221447 Core/Entities: kill unused return value from Unit::HandleSpellClick
Port From (https://github.com/TrinityCore/TrinityCore/commit/a1a00f823e7e47e8cb652b71a839c1d0875a8f84)
2021-08-09 10:05:13 -04:00
hondacrx a2628af13a Core/Auras: check conditions against referer caster, just as spells do
Port From (https://github.com/TrinityCore/TrinityCore/commit/ffa359c21cf92810d2c927496749148ff6ea9042)
2021-08-09 10:00:05 -04:00
hondacrx 08db42917e Core/SmartScripts: Rename SMART_ACTION_RESPAWN_TARGET -> SMART_ACTION_ENABLE_TEMP_GOBJ, since that's the only thing it still does in the dynspawn model. Adjust body accordingly to warn on misuse.
Port From (https://github.com/TrinityCore/TrinityCore/commit/32997a598992c5be7ad838b52b9e9a185d68d9fb)
2021-08-09 09:57:11 -04:00
hondacrx f2ff234456 Core/GameObject: Force compatibility mode for stupid ridiculous junk legacy hack gameobjects
Port From (https://github.com/TrinityCore/TrinityCore/commit/65b8dafb537dc41f9b46f44fa03c6466915fd119)
2021-08-09 09:50:32 -04:00