Commit Graph

1449 Commits

Author SHA1 Message Date
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 1f6a2b3516 Core: Updated allowed build to 9.1.0.39804
Port From (https://github.com/TrinityCore/TrinityCore/commit/d0394f939a829e385242ab936c30555afafd0616)
2021-08-20 19:06:15 -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 8d208cc883 Lets hope this fixes some updates failing to apply. 2021-08-13 17:11:13 -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 4983fdef61 Fixed loading server 2021-08-09 14:40:45 -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
hondacrx 2b2698ea3c Core/GameObject: fix stupid ridiculous junk legacy hack code with negative gobj respawn time to work again
Port From (https://github.com/TrinityCore/TrinityCore/commit/de3eb7b298468d87b33a29e1baaa50508e90b562)
2021-08-09 09:49:14 -04:00
hondacrx 8e758048ae Core/Scripts: remove hack that caused aura to not be applied and saved twice on owned auras, causing an error on save
Port From (https://github.com/TrinityCore/TrinityCore/commit/181c671924c22fb92e32b96dd0f63d395b13db4f)
2021-08-09 09:48:05 -04:00
hondacrx 06a189e5e6 AI/SmartAI: New SMART_ACTION_RESPAWN_BY_SPAWNID
Port From (https://github.com/TrinityCore/TrinityCore/commit/61baf6704cf4f31b8b5f24d627d315659336c992)
2021-08-09 09:47:23 -04:00
hondacrx 85ffed189f Core/Spawning: Actually check spawn group state before processing a respawn. It feels like that is something that should've been noticed at some point.
Port From (https://github.com/TrinityCore/TrinityCore/commit/5c80f5073493a3d31fd4b463891727beb6fe7eb1)
2021-08-09 09:37:36 -04:00
hondacrx bfd44a494d Core/Auras: restrict target map update only to area auras as player requires to have auras registered on load
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e7a12a87aa6502b7bf9adc42478283859f9268a)
2021-08-09 09:25:37 -04:00
hondacrx 7501866e11 Core/Unit: clear charmed/possessed state before returning client control. Works like a charm
Port From (https://github.com/TrinityCore/TrinityCore/commit/b1a76fc7569ab7338730d680e7b0c703fa6b1003)
2021-08-09 09:24:38 -04:00
hondacrx 2196616dc0 Core/Vehicles: fix crash
Port From (https://github.com/TrinityCore/TrinityCore/commit/489b111a8a08dd3b2e14cc926f5c0b5c2ae17f1d)
2021-08-09 09:20:47 -04:00
hondacrx b039353f1a Core/Entities: unit states cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/70c26d53cb94f0e78a57ecc2279c960370891aa4)
2021-08-08 23:44:54 -04:00
hondacrx 26a2eced6e Core/Auras: fixed Drain Mana breaking early if caster has Mana Feed talent but no active pet
Port From (https://github.com/TrinityCore/TrinityCore/commit/64399f58a37e0c2633d986af6af781e7f7b15998)
2021-08-08 23:33:31 -04:00
hondacrx 89bd0b003d Core/Spells: Execute item casts immediately instead
Port From (https://github.com/TrinityCore/TrinityCore/commit/64234b35ede0ec6e12048ec9a3dc8ae438ddb6e4)
2021-08-08 23:32:08 -04:00
hondacrx da5eb28902 Core/Entities: remove grid-wide visibility from setActive and implement another method for it
Port From (https://github.com/TrinityCore/TrinityCore/commit/8713a623283b4d0e414a97b566854c1b21e8754b)
2021-08-08 23:31:06 -04:00