hondacrx
62ec699ec6
Core: SOme code cleanup, more to follow.
2021-03-20 22:48:48 -04:00
hondacrx
3b86c1d536
Core/Creature: Fixes crash when leader guid is larger then uint. Should of been a ulong.
2021-03-11 22:27:11 -05:00
hondacrx
31d1f7f24e
Misc Fixes
2021-03-08 14:34:58 -05:00
hondacrx
2949a2514c
Core/Creatures: Implemented extra flag to use offhand attacks
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/2a51edc5bcebe40c114e37ef3b24da6c8f095892 )
2021-03-04 12:00:39 -05:00
hondacrx
91c0fd1924
Misc fixes.
2021-02-18 13:04:07 -05:00
hondacrx
077c965c51
Scripts/World: update guard scripts
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/92026abee10325beedede84b07d5154a5a995b52 )
2021-02-18 12:45:47 -05:00
hondacrx
9a14cfe807
Core/Spawn: Limit saved/stored respawn time. - Limit to long maximum, for the compiled-for architecture.
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/f3ac10f36fcc46c5e1537d69544a9294fc719ad2 )
2021-02-09 13:15:12 -05:00
hondacrx
3e5742d95a
Core/Trainers: Remove all "hidden" rank based requirements for learning spell from trainers and always only rely on trainer_spell.ReqAbility fields in database
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/65df9d424d88a50ec9155d05cba12e529e6f9557 )
2021-02-09 13:03:07 -05:00
hondacrx
cf030b70b2
Core/SAI: Added SAI support for new areatriggers
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/875fd4107f29c00f148ea77c6ff6d49f7ca92b76 )
2021-02-09 11:29:50 -05:00
hondacrx
0d1bfff206
Core/AreaTriggers: Optimize target searching
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/23144d0665504e2e24ee790e900bb8de0df4aa08 )
2021-02-04 12:12:54 -05:00
hondacrx
0e77439e20
Core/Misc: waypoint movement
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf12bae46746149d870cd3e52ccd610f0a975047 )
2021-02-04 10:32:48 -05:00
hondacrx
4fb259abfa
Core/Logs: Fix more logs
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/93552510abf2fe0db0557036143b124c4a12cbe5 )
2021-01-26 16:38:23 -05:00
hondacrx
103f0dfdec
Core/Creatures: Remove duplicate check for evade from Creature.CanAssistTo
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0f837c0a02151b54f2b5ec277b39425627cec004 )
2021-01-19 13:35:43 -05:00
hondacrx
b5b43dc251
Core/Maps: Prevent potential null dereference
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/7a21d02da12667e6e873163de83fa3cb25d028aa )
2021-01-19 13:28:00 -05:00
hondacrx
5b3dd1895f
Core/Creature: Fix crash in DeleteFromDB
2021-01-15 10:15:09 -05:00
hondacrx
a4c4db7af5
Core/Spells: Fixed missing null checks on some SpellEffects
2021-01-14 17:06:53 -05:00
hondacrx
87160961fa
Core/PacketIO: Fill new packet fields with data
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/83eecaf2c40cc72c1dc42335766534eb8d227e60 )
2020-12-10 10:22:13 -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
2820d45a0d
Misc fixes
2020-09-03 11:25:42 -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
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
15ae7a7c66
Dynamic Creature/Go spawning
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/03b125e6d1947258316c931499746696a95aded2 )
2020-08-23 21:52:32 -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
193ad3a48d
Combat/Threat rewrite - prep & refactor
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/8be23fcbbdf26e8169defd761e61765f301bebe0 )
2020-08-22 11:58:19 -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
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
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
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
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
4fb3805d8a
Core/Creature: drop method SetPosition
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/55576d20d837a9b4575c11a73940c29c0e8e605b )
2020-06-19 19:51:09 -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
708c37b78c
DB updates/ Misc Fixes
2020-06-02 17:44:07 -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
ea80678e9a
Core/Creatures: Fixed level 240 guards and updated scaling level calculation
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/82b4ca3b7c2329e571d0a341b8a5ab366a5d26f4 )
2020-05-20 20:04:00 -04:00
hondacrx
c1dbec58bd
Core/Creatures: Update creature scaling to use content tuning
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/314a35f0cd912daed7c0663f4f13552b6747fd98 )
2020-05-20 15:27:22 -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
d5e2f1e646
Core/Movement: allow focused spells to not break movement if it's movement allowed spell
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/9ef39fa5d2f76459e3e529a0877655b0f69b98d6 )
2020-05-18 22:57:14 -04:00
hondacrx
a1699494d5
Core/Creature: fix integer overflow in Creature.Update leading to endless thrashing of characters database
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/0d8c1b49b82081eac42ca68ec0d9ee199bb1eda3 )
2020-05-12 17:13:36 -04:00
hondacrx
415d6d84ba
Core/Movement: FormationMovementGenerator
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/84df2c57a385df4503fc1f8ff5dfdf445ea2e31f )
2020-05-07 14:34:16 -04:00
hondacrx
859109f472
Core/Scripts: Fix a logic fail that overriden the script of an entity that changed entry
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/649009552065940ab0f03d905b945f1a16d603bb )
2020-05-06 15:19:17 -04:00
hondacrx
15d56be6ce
Added new creature extra flag which makes npc visible only to dead units
...
Port From (https://github.com/TrinityCore/TrinityCore/commit/70d5775d3f679e77c2b00418375f180f6209484d )
2020-05-06 14:55:22 -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