Commit Graph
100 Commits
Author SHA1 Message Date
Ovahlord 15b5bfb326 DB/Creatures: removed many duplicate spawns at the Sanctuary of Malorne 2020-06-17 04:08:28 +02:00
Ovahlord 7521c2ebfa DB/ScarletEnclave: ported commit bbb308f62824bcc2415b64c9a434d1a51b4142f4 and fixed some quest ender and movement template data 2020-06-15 04:47:28 +02:00
Ovahlord 3f6455d9bb Core/SAI: implement SMART_ACTION_ATTACK_STOP
Unlike SMART_ACTION_AUTO_ATTACK, this action is actually stopping the entire attack procedure, rather than just hack-disabling auto-attacks. Keep in mind that this action requires a passive react state to prevent a immediate AttackStart ai reaction
2020-06-15 04:46:10 +02:00
Ovahlord 0debb33df0 Scripts: fixed nopch build 2020-06-14 00:58:10 +02:00
Ovahlord 893b80d0c4 Scripts/ScarletEnclave: ported several fixes from 335 2020-06-14 00:40:59 +02:00
Ovahlord 8a7d723e11 Scripts: fixed nopch build 2020-06-08 08:29:59 +02:00
Ovahlord dae1dab09d Scripts/BH: rewrite Alizabal encounter 2020-06-08 08:24:11 +02:00
Ovahlord 9a3a7592b0 Scripts/BH: converted Argaloth's AI scripts to modern register ai model 2020-06-08 05:23:15 +02:00
Ovahlord c663e8a138 Scripts/BoT: fixed an issue that was causing Arion to increasingly cast Thunderstorm the longer the encounter lasts 2020-06-05 21:45:26 +02:00
Ovahlord 6498452dd1 DB/VP: replaced pathings with proper ones as the old ones consisted of spline points instead of actual waypoints 2020-06-04 03:18:57 +02:00
Ovahlord b8d53951b5 Scripts/VP: rewrite Lurking Tempest mechanics and fixed all scenarios in which players could get stuck in combat with the tempests 2020-06-04 01:52:03 +02:00
Ovah 227427e8a1 Core/Players: update mount capabilities on player login to avoid orphaned mount speed auras 2020-06-03 22:19:56 +02:00
Ovahlord 38f2238293 Core/Spells: removed deprecated 500ms cast time delay for spells with attribute SPELL_ATTR0_REQ_AMMO 2020-06-03 00:20:19 +02:00
Ovahlord 062667df95 Database: fixed prepared statement fields for reloading creature_template 2020-06-02 20:00:03 +02:00
Ovahlord 8a4dd6ce04 Scripts/Misc: corrected movement template data for Battered Red Drakes in preparation for anim tier handlings 2020-06-02 19:35:10 +02:00
Ovahlord f0f92d555f Scripts/GB: corrected Valiona's landing speed and prevent Valiona and Drahga from dying before meeting expected requirements 2020-06-01 22:14:57 +02:00
Ovahlord 3271e07783 Scripts/BoT: corrected landing speed for Theralion and Valiona 2020-06-01 22:04:06 +02:00
Ovahlord 5d125e3c80 Scripts/BWD: corrected Atramedes' phase two landing velocity 2020-06-01 21:48:54 +02:00
Ovahlord 53060a39f5 Core/Movement: implement optional velocity argument to MoveLand motion master helper 2020-06-01 21:48:30 +02:00
Ovahlord 90d0167ace Scripts/BWD: linked a missing movement call that's suposed to trigger before Nefarian lands for phase three 2020-06-01 21:28:21 +02:00
Ovahlord db8e0cf13a Database: updated DB updater database download link to spare Aokromes from madness 2020-06-01 16:06:47 +02:00
Ovahlord 655bcaeecd Scripts/Commands: gameobjects spawned via .gameobject add command will now spawn with the orientation of the spawning player instead of always using the default QuaternionData values
closes #101
2020-06-01 15:18:18 +02:00
Ovahlord f1bd380b20 Core/Players: update mount capabilties when the liquid status of players change
* simplified checks for liquid restrictions in mount capability helper
* handle missing case for liquid exclusive mounts
* update position data on character login to avoid some edge case outdoors checks

closes #95
2020-06-01 15:10:13 +02:00
Ovahlord 91c0f13f77 Core/Packets: corrected another packet structure part in attacker state update packet to match structure of packet parser 2020-05-23 21:00:37 +02:00
Ovahlord 1e93b90397 Core/Packets: removed a part struct part from attacker state update packet that was added in 5.1 2020-05-23 20:58:58 +02:00
Ovahlord 55155d1295 Core/Creatures: cleaned up a duplicate movement flag check 2020-05-16 21:25:38 +02:00
Ovahlord e1f35847bb Core/Spells: backported radius calculation cleanup for SelectImplicitTargetDestTargets from 3.3.5 2020-05-16 20:04:22 +02:00
Ovahlord 813b82efa3 Core/Units: CanFly and CanHover will now return positive results when the creature has the according movement flags dispite not having the template movement field set as enabled. This fixes several edge cases with manually enabled flight movement
* renamed IsLevitating to IsGravityDisabled for consistency
2020-05-16 19:21:27 +02:00
Ovahlord 4a25282f51 Core/Objects: logic fixup for d91fa5023e 2020-05-16 17:33:34 +02:00
Ovahlord d91fa5023e Core/Objects: fixed random destination selection for spells casted by flying units
* the path generator will now check for realtime movement flags instead of movement template data for units
2020-05-16 17:15:19 +02:00
Ovahlord 2132ed5178 Core/Spells: Power Word: Shield will now apply its Weakened Soul debuff on its target again which got broken after cleaning up hacks in db4e832fee
closes #96
2020-05-14 22:14:15 +02:00
Ovahlord 964dfdade7 Core/Packets: fixed structure of CMSG_WHO 2020-05-14 00:05:49 +02:00
Ovahlord d3dd36c776 DB/Vendors: corrected achievement requirement for Kokron Annihilator 2020-05-11 00:04:43 +02:00
Ovahlord ce5ca82cad DB/Spells: corrected proc flags for Arcane Missiles procs 2020-05-10 23:39:36 +02:00
Ovahlord db4e832fee Core/Spells: removed pre cast spell hacks from spell class and moved remnants to spell scripts
closes #81
2020-05-10 21:11:56 +02:00
Ovahlord 24f377396b DB/Spells: Desecration can now also be triggered by Necrotic Strike
closes #89
2020-05-10 20:27:39 +02:00
Ovahlord d8ec67df50 Core/Movement: converted collision height and move update opcodes back to movement structures and implement new movement status elements for future use 2020-05-10 19:21:33 +02:00
Ovahlord a2cea3ce08 Core/Movement: converted CMSG_MOVE_SET_COLLISION_HEIGHT_ACK and SMSG_MOVE_UPDATE_COLLISION_HEIGHT to packet class
* added new MovementInfo helpers for easy access to all packet related data
2020-05-10 01:31:53 +02:00
Ovahlord 557d5497a3 Core/Packets: fixed a console error when trying to broadcast SMSG_MOVE_UPDATE via packet sender 2020-05-09 19:51:25 +02:00
Ovahlord 04b99ab8ac Core/Packets: converted SMSG_MOVE_UPDATE to packet class 2020-05-09 17:01:42 +02:00
Ovahlord ffc0fe829c Core/Spells: Death Grip will now use exact distances instead of comparing the melee distance between the caster and the target
closes #73
2020-05-09 15:10:19 +02:00
Ovahlord e5c98e258c Fixed build 2020-05-09 01:34:55 +02:00
Ovahlord 7ab91c9b3e Core/Spells: optimized Arcane Missile proc data 2020-05-09 01:19:11 +02:00
Ovahlord d9cd7d6aa4 Scripts/Pets: allow Army of the Dead ghouls to go nuts with their attacks. 2020-05-08 23:00:05 +02:00
Ovah 0679417084 Updated software requirements in readme file 2020-05-05 01:22:44 +02:00
Ovahlord 08938e3557 Core/Spells: fixed Glyph of Power World: Shield heal effects getting triggered when the Priest had the Improved Power Word: Shield talent active 2020-05-05 00:00:50 +02:00
Ovahlord 8cc370b2e3 Core/Spells: fixed slow effect for Thunderstorm when no glyph is applied 2020-05-04 23:42:38 +02:00
Ovahlord e64a3bcd90 Scripts/HoO: implement Ammunae encounter 2020-05-04 00:14:06 +02:00
Ovahlord fc75689a7c DB/Spells: allow comment column in serverside spell fields to be empty and fixed some default values for short insert statements 2020-05-03 17:23:25 +02:00
Ovahlord cb0f200d35 Core/Datastores: synchronize spelleffect_dbc database table field namings with dbc struct names 2020-05-03 17:11:11 +02:00
Ovahlord c3fd5d2037 Core/Objects: do not block collision detection for flying units 2020-05-02 19:01:15 +02:00
Ovahlord 8eccdaefc9 Core/Movement: fixed an issue that was causing hovering units not chasing their targets close enough to perform melee attacks 2020-05-02 18:07:12 +02:00
Ovahlord b956abd5fb Core/Vehicles: players will no longer get stuck in hover movement when manually leaving a vehicle that had seat flag VEHICLE_SEAT_FLAG_DISABLE_GRAVITY
closes #62
2020-05-02 17:22:50 +02:00
Ovahlord 1ad8451ae2 Core/Objects: use the static vmap check in MovePositionToFirstCollision for all path results to avoid falling below wmo surfaces when the mmap path returns unreliable data
# Conflicts:
#	src/server/game/Entities/Object/Object.cpp
2020-05-02 01:12:20 +02:00
Ovahlord 8226dd4e23 Core/Vehicles: corrected max power value for Conclave of Wind 2020-05-01 23:11:29 +02:00
Ovahlord e7347140d5 Scripts/TotFW: use the already defined Drain Power spell to reset the Conclave's power 2020-05-01 23:00:12 +02:00
Ovahlord 69e3d80f4a Scripts/TotFW: fixed a warning 2020-05-01 22:59:27 +02:00
Ovahlord bcccf2bd6c Scripts/TotFW: removed a spell cast that was causing the Fall Catcher vehicle not picking up its summoner properly. This issue has been caused by the now properly working automatic vehicle enter mechanic 2020-05-01 22:12:30 +02:00
Ovahlord cd57f79a1c Scripts/TotFW: fixed a crash when Anshal tries to select a Ravenous Creeper for Soothing Breeze while no creeper is available 2020-05-01 21:29:50 +02:00
Ovahlord 518d0ce669 Core/Spells: fixed a potential crash in skinning player corpse spell effect handler 2020-05-01 21:20:31 +02:00
Ovahlord 6aa8e4389c Core/Texts: allow creature texts to play sounds via different opcodes (Direct Sound, Object Sound and Music) 2020-05-01 20:16:27 +02:00
Ovah 1a85f82edd Core/Objects: further improvements for MovePositionToFirstCollision (#24523)
* Core/Objects: further improvements for MovePositionToFirstCollision

* the PathGenerator will now normalize incomplete destinations as well
* normalize destination positions before launching detour raycasts to get better direction data
* exclude unwanted pathfinding results from further use to avoid unintended behaivior

* Core/PathFinding: Split PATHFIND_FARFROMPOLY into PATHFIND_FARFROMPOLY_START and PATHFIND_FARFROMPOLY_END for start and end position

Handle PATHFIND_FARFROMPOLY_END as valid in MovePositionToFirstCollision

Co-authored-by: jackpoz <giacomopoz@gmail.com>
# Conflicts:
#	src/server/game/Entities/Object/Object.cpp
#	src/server/game/Movement/PathGenerator.h
2020-05-01 14:51:38 +02:00
Ovahlord 1472bc9a7d Core/Spells: removed deprecated path generation for TARGET_DEST_CASTER_FRONT_LEAP since MovePositonToFirstCollision now does the job 2020-05-01 14:46:55 +02:00
Ovahlord 7b62f5ac56 Core/Movement: slightly reduce the catchup / throttle distance check range to get more accurate catchup data 2020-04-29 23:58:07 +02:00
Ovahlord a3662d9a74 Core/Objects: improve MovePositionToFirstCollision results 2020-04-29 23:56:47 +02:00
Ovahlord 298c2593df Core/Units: fixed a crash that happened when despawning a pet while having units with no ownerguid stored in m_controlled
* minor fixups for vehicle energy power regeneration
* do not set ownerguids for summon vehicles
2020-04-29 14:27:27 +02:00
Ovahlord bedd554c79 Core/Units: protect m_Controlled unit set against removing non-existing pointers and log owner and unit to track down potential crashes 2020-04-28 20:42:24 +02:00
Ovahlord ca76ddf4b5 Core/Pets: fixed typos in pet scale mod calculation 2020-04-28 20:20:19 +02:00
Ovahlord 9c2c994958 Removed whitespace 2020-04-28 19:43:46 +02:00
Ovahlord f09564b9d0 Core/Pets: use TamedPetBaseScale field in CreatureModelData to determine additional pet scale values and updated scale calculation based on client function
Thanks @warpten for providing the data
2020-04-28 19:43:03 +02:00
Ovahlord b580cacd19 Core/Auras: fixed a warning 2020-04-28 18:30:49 +02:00
Ovahlord a5b305ec9d Core/Pets: fixed build 2020-04-28 18:16:36 +02:00
Ovahlord 54d0170235 Core/Packets: converted SMSG_START_TIMER to packet class 2020-04-28 18:05:06 +02:00
Ovahlord 2edba50bcd Core/Units: summoned vehicles will now also get a creator guid 2020-04-28 17:47:21 +02:00
Ovahlord 92f8340da3 Core/Spells: allow Victory Rush's damage to crit but keep its healing effect non-critical 2020-04-28 01:27:47 +02:00
Ovahlord 9665da3435 Core/GameObjects: corrected a logic fail when checking for targets on the same map 2020-04-28 01:13:08 +02:00
Ovahlord c94907814c Core/Spells: Victory Rush can no longer crit 2020-04-27 23:29:27 +02:00
Ovahlord 2725fdcbbe Core/Vehicles: update the power display of vehicles before being added to world to avoid building unnecessary update_object packets right after spawning them
# Conflicts:
#	src/server/game/Entities/Vehicle/Vehicle.cpp
2020-04-27 20:34:50 +02:00
Ovahlord 3f261c2418 Core/Units: do not apply mana regeneration rate for creatures in UpdatePowerRegeneration since we already handle this in the regeneration function itself 2020-04-27 16:56:09 +02:00
Ovahlord 5cf7de6aa7 Core/Units: make health regeneration functions for players and creatures virtual 2020-04-27 14:39:07 +02:00
Ovahlord e7ba484fcf Core/Units: reworked creature power regeneration handling
* players and creatures now share the same power regeneration regeneration function
* UpdatePowerRegeneration is now virtual and handles creature and player specific formulas individually
* handle update field flag UF_FLAG_UNIT_ALL to handle UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER and UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER for creatures as well
2020-04-27 14:20:33 +02:00
Ovahlord 902d373de5 Core/Objects: 153546acba followup 2020-04-26 21:00:57 +02:00
Ovahlord 153546acba Core/Units: do not send owner based update fields for units that only have a creator guild but no summoner guid 2020-04-26 16:56:38 +02:00
Ovahlord 07da39c0e1 Core/Spells: fixed Bloodsurge damage bonus for Slam 2020-04-26 00:31:45 +02:00
Ovahlord 416b0edd51 Core/Movement:
* chase movement will now use simple near point calculations for chase movement without pathfinding enabled
* units with a big boundary radius will no longer reposition themselves
2020-04-24 23:46:04 +02:00
Ovahlord a2e6b77208 Core/Spells: restored summon number restriction as it needs more research on how to handle it 2020-04-24 22:48:59 +02:00
Ovahlord c50338ab28 Scripts/BoT: fixed a issue that was causing Ignacious not being interruptible when channeling Rising Flames 2020-04-24 21:21:20 +02:00
Ovahlord 433d97bce5 DB/Vendors: added a elsegroup condition for Guild Herald items in guild vendors since their achievement is getting overriden by a second rank 2020-04-24 19:37:12 +02:00
Ovahlord 9c6ca290f7 Core/Movement: skip catchup calculations for follow movement when the distance between the follower and its destination is just very short 2020-04-23 21:29:59 +02:00
Ovahlord 79f98df65e DB/Creatures: added gossip and vendor data to Guild Pages and Guild Heralds and fixed their banner holding visual effect 2020-04-23 21:14:32 +02:00
Ovahlord 7556f4948e Core/Spells: fixed Chug-A-Lug guild perk 2020-04-23 19:23:16 +02:00
Ovahlord cef6f94953 Core/Spells: implement SPELLVALUE_AURA_DURATION to allow casting spells with a duration value set 2020-04-23 19:22:31 +02:00
Ovahlord 6abab1704f Core/Spells: implement SPELL_AURA_INCREASE_SKILL_GAIN_CHANCE
*this fixes the Working Overtime guild perk
2020-04-23 18:19:59 +02:00
Ovahlord bc68ecdbcc Core/Spells: fixed The Quick and the Dead guild perk 2020-04-23 17:04:32 +02:00
Ovahlord 5905ed2606 DB/Spells: updated Battle and Guardian Elixir stacking data to Cataclysm 2020-04-23 15:04:31 +02:00
Ovahlord d148116ebe Scripts/Guilds: fixed Cauldron of Battle, Big Cauldron of Battle and their Flask effect 2020-04-23 14:38:21 +02:00
Ovahlord 5c61fcfb19 Core/GameObjects: implement JustAppeared AI hook for gameobjectAI 2020-04-23 14:02:19 +02:00
Ovahlord 06b983bee2 Core/Spells: fixed Mobile Banking spawning a different chest for Alliance players 2020-04-23 12:52:04 +02:00
Ovahlord a3e97b38ed Core/GameObjects: implement helper to set the charges of gameobjects 2020-04-23 04:00:35 +02:00
Ovahlord a850243e89 Core/Spells: fixed Mobile Banking guild perk
*Misc: moved guild faction define to the other faction enums
2020-04-23 03:45:43 +02:00