Commit Graph

381 Commits

Author SHA1 Message Date
hondacrx c29516f121 Core/Player: Resequence Player::UpdateZone some more to hopefully prevent future edge cases
Port From (https://github.com/TrinityCore/TrinityCore/commit/10b590acb62ef118cd6c0992f341db8f852958be)
2020-08-24 23:49:12 -04:00
hondacrx 8591dd589a Core/Player: Update map zone stats BEFORE invoking scripts. Fixes a crash with zone change scripts that invoke another zone change.
Port From (https://github.com/TrinityCore/TrinityCore/commit/8db10c67d7232b7b1e479018cfbf020a3a91fa5c)
2020-08-24 23:39:03 -04:00
hondacrx 3dee2ddf3b Core/Player: Prevent changing equipment while charmed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/fc12e47cb8e3f4c1097b41e94a92151776818717)
2020-08-24 23:37:06 -04:00
hondacrx 15f0aebb23 Core/Creature: Fix an oversight in Creature::SelectVictim that was causing creatures to evade when chased by another creature from outside their own aggro range.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f97b601d9381196a4cfa352bff2d0826f211eda1)
2020-08-24 19:20:38 -04:00
hondacrx 8b6c86d568 Core/Creature: regenerate health
Port From (https://github.com/TrinityCore/TrinityCore/commit/9a5e2b80b39d3c0a466aec1ab3a6dbccf938f570)
2020-08-24 19:19:13 -04:00
hondacrx 35c13d69ca Core/Creature: temporary summons are now dynamic flagged (oversight in dynspawn). This fixes issues with vehicle kit resets breaking AI.
Port From (https://github.com/TrinityCore/TrinityCore/commit/22b754c9e22cfdd9dab998ca45e6724b62760f78)
2020-08-24 19:13:15 -04:00
hondacrx d9770ed0f9 Followup to waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/0a133e77d61fc6bafad7b60b74604d5da648ece9)
2020-08-24 17:52:09 -04:00
hondacrx 3d3fd0f55f Core/Movement: waypoint movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/97585597f0b1aff93873fe4d757556731bc0c1b2)
2020-08-24 17:02:02 -04:00
hondacrx c9e535bb3a Core/Creature: Fix a crash in .npc delete, Also fix an issue breaking vehicles in certain edge case situations.
Port From (https://github.com/TrinityCore/TrinityCore/commit/b538cdc129e6132ddd6afc2c5ac5ccaae2959730)
2020-08-24 11:40:14 -04:00
hondacrx 08ef556a36 Core/Scripts: dynamic_spawning follow-up, I had forgotten JustRespawned existed.
Port From (https://github.com/TrinityCore/TrinityCore/commit/129dd7c9091d3fafc0f5e10b795224bc9418d006)
2020-08-24 11:26:27 -04:00
hondacrx 1b33551fab Core/Pet: Fix an issue that was causing lower ranks of pet spells to remain in DB
Port From (https://github.com/TrinityCore/TrinityCore/commit/5e3170d58e82693e7ceb29d4d9c5346906bdd98b)
2020-08-24 11:18:57 -04:00
hondacrx 7cf9b6183e Core/Pet: Make pet action bar autocast persist properly
Port From (https://github.com/TrinityCore/TrinityCore/commit/885e172f4d29710a47f003c58b4d9c24edf8cc8a)
2020-08-24 11:14:54 -04:00
hondacrx cd92a34082 Scripts/Commands: Fix some quirkiness and potential crashes with live DB modification commands (npc move and npc delete), which are horrible and should be deleted anyway.
Port From (https://github.com/TrinityCore/TrinityCore/commit/f15b4f5043799b3a580c8577ad4466135ca9ae38)
2020-08-24 10:35:14 -04:00
hondacrx ca4f55b20a Core/Unit: Don't apply liquid effects to game masters.
Port From (https://github.com/TrinityCore/TrinityCore/commit/acb4934f766321efbf90d0c6716f2df44c47ef16)
2020-08-24 10:34:53 -04:00
hondacrx 15ae7a7c66 Dynamic Creature/Go spawning
Port From (https://github.com/TrinityCore/TrinityCore/commit/03b125e6d1947258316c931499746696a95aded2)
2020-08-23 21:52:32 -04:00
hondacrx 4d8e6a8a57 Core/Chat: Provide a fully-formed protocol for addons to interact with GM commands
Port From (https://github.com/TrinityCore/TrinityCore/commit/42c65c3bc22f97a96d9db481997d74e7103f8e64)
2020-08-22 16:22:47 -04:00
hondacrx 51e914e0f3 Scripts/IcecrownCitadel: Prevent players from becoming inaccessible when killed by Lord Marrowgar's Impale spell (the initial damage, not the DoT). Also fix the underlying bug in vehicle logic.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e69b5d8fcc44728abd189e4832a383543218e5c1)
2020-08-22 15:35:55 -04:00
hondacrx 7060f728a3 Core/WorldObject: Properly initialize position data for all types when initially creating them. Fixes some issues with PvP objectives not having the correct area ID set on initialization.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6be53d1417e733f0916ff305960cfac3e2ca551)
2020-08-22 15:30:16 -04:00
hondacrx 9314d5a9bc Core/Vehicles: Do not call InstallAllAccessories for dead Vehicles
Port From (https://github.com/TrinityCore/TrinityCore/commit/111b65e10f94fc339247acc2b8b66af05d34aab4)
2020-08-22 14:58:10 -04:00
hondacrx 0d8743a1b5 Core/Quests: Fixed order of RewardChoiceItems and reputation reward.
Port From (https://github.com/TrinityCore/TrinityCore/commit/35bf146969db69f596a3247ae490e27131a8e0a3)
2020-08-22 14:52:42 -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 062eecf20b Misc fixes 2020-08-20 23:21:53 -04:00
hondacrx 2773a4430f Misc fixes 2020-08-12 17:44:16 -04:00
hondacrx 7eb9b2201f Core/Creatures: Move gossip trainer assignment to creature_trainer table - same gossip can open different trainers depending on which creature it is assigned to
Port From (https://github.com/TrinityCore/TrinityCore/commit/1340f2cdb33a4feac01e68d2f65ae1ae486e135f)
2020-08-09 17:06:51 -04:00
hondacrx 18528823d9 Fix crash while loading server 2020-08-09 16:53:41 -04:00
hondacrx 301c9a2f62 Core/GameObjects: Properly set GO_FLAG_MAP_OBJECT during gameobject creation
Port From (https://github.com/TrinityCore/TrinityCore/commit/e3cf94d4fdbfae5ce99aa754bd29a0b77cd1b73d)
2020-08-07 12:28:41 -04:00
hondacrx bc91e3492e Core/Spells: Handle GAMEOBJECT_TYPE_UI_LINK spellFocus
Port From (https://github.com/TrinityCore/TrinityCore/commit/97afa3a609923bd9b7c0e9cfc52c29ba9dbfe35d)
2020-08-07 12:25:54 -04:00
hondacrx 5cc8c0dadf Fix an overly strict check that was causing guardians to evade loop. Also make players properly enter combat when their pets are engaged by a creature.
Port From (https://github.com/TrinityCore/TrinityCore/commit/09027e5ccc9618e5fae45a354bcd01cd04ee0aa1)
2020-07-24 16:35:22 -04:00
hondacrx 87b4c91319 Fix an issue where temp summons were ignoring m_regenHealth.
Port From (https://github.com/TrinityCore/TrinityCore/commit/ec9fbaceb057e5beb8dda066b2c4773abe3dba7e)
2020-07-24 16:29:29 -04:00
hondacrx d389faabe7 Groups now only disband if all members reject the invitation (as opposed to if any member rejects the invitation).
Port From (https://github.com/TrinityCore/TrinityCore/commit/e3077813d5bf4521fff8be3ea24db231ed00c02f)
2020-07-24 16:22:17 -04:00
hondacrx 13cf935ca7 Fixes to all-reputation and all-skill custom option handling:
Port From (https://github.com/TrinityCore/TrinityCore/commit/2d191a668019703cf0e32700c586e94679ea04c7)
2020-07-24 16:16:00 -04:00
hondacrx 3c054eb054 Core/Player: Keep shared quests through map changes instead of getting stuck in busy state
Port From (https://github.com/TrinityCore/TrinityCore/commit/c12ee97f122acfd77bd81cf178a77d5054c312b6)
2020-07-24 14:55:22 -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 286a200178 Core/Movement: Get zone/area IDs from vmap data in the liquid update
Port From (https://github.com/TrinityCore/TrinityCore/commit/51ce3b1c1dc6a53938ed6f240bac00681d18a44f)
2020-07-23 18:22:46 -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 61b6606dce Core/AI: segregate GameObject ReportUse from normal Use (lock open/normal click)
Port From (https://github.com/TrinityCore/TrinityCore/commit/5903a10a834b1198702b024182581799648540ff)
2020-07-22 14:21:29 -04:00
hondacrx baa9ab6558 Core/PacketIO: Convert all leftover packets to use packet classes
Port From (https://github.com/TrinityCore/TrinityCore/commit/661470c6587c11e3fa94d2e8b57c92d8be2e297b)
2020-07-14 23:00:31 -04:00
hondacrx 0f5801d9f4 Core/Players: Remove deprecated skill related config AlwaysMaxWeaponSkill and command .maxskill
Port From (https://github.com/TrinityCore/TrinityCore/commit/bbdabd7d776a86dcb25954faf119797d52c2a425)
2020-07-12 00:44:24 -04:00
hondacrx 581d077acd Refactoring of BNetServer 2020-07-12 00:06:43 -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 c1f79334ef Core/Entities: allow guardian pets to inherit spellmods
Port From (https://github.com/TrinityCore/TrinityCore/commit/3698f3a26203be05480b1673d1595e52e2534445)
2020-06-19 20:05:40 -04:00
hondacrx bacae3c190 Core/Transport: fix logic error
Port From (https://github.com/TrinityCore/TrinityCore/commit/a90f60f7d3b482072d0ae3dbfd49580a3ef9ce88)
2020-06-19 19:51:27 -04:00
hondacrx 4fb3805d8a Core/Creature: drop method SetPosition
Port From (https://github.com/TrinityCore/TrinityCore/commit/55576d20d837a9b4575c11a73940c29c0e8e605b)
2020-06-19 19:51:09 -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 708c37b78c DB updates/ Misc Fixes 2020-06-02 17:44:07 -04:00
hondacrx ac876b7c6c Core/Battlegrounds: Queue updates
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf8714b8705c3fccc77083c6dc8665767430d346)
2020-06-02 17:43:49 -04:00