Commit Graph
1969 Commits
Author SHA1 Message Date
jackpoz 183789053e Core/Misc: Fix GCC 8 warnings 2020-01-31 21:19:25 +01:00
Ovahlord df4018b10d Core/Vehicles: use pointers instead of tempoary copies 2020-01-28 13:29:12 +01:00
Ovahlord dfaa49c87b Core/Vehicles: expand vehicle seat addon table implementation to support passenger exit options 2020-01-28 11:09:05 +01:00
Ovahlord a72411241d Core/Players: simplified mount capability update checks and removed a unneeded call uppon changing liquid status 2020-01-27 09:49:26 +01:00
Ovahlord fcb79fee07 Core/Datastores: updated DBC structure names to generated member format 2020-01-25 12:36:32 +01:00
Ovahlord cf430ce61a Core/Movement: merge 335 feedback changes for interrupt handing 2020-01-22 20:42:02 +01:00
Ovahlord 7f3a2084d1 Core/Movement: restore strict aura interrupt behaivior for players 2020-01-22 09:47:39 +01:00
Ovahlord 221ed21ed2 Core/Units: applied feedback from TC pull request for aura interrupt checkups 2020-01-18 16:13:29 +01:00
Ovahlord b210320df0 Core/Spells: unify successful spell cast and interrupt AI hooks into one helper with different cast results to reduce duplicate code
* fixed position update logic that was responsible for interrupting channeled spells because of a missing movement generator update call that was kicking in after the interrupt already happened
* improved Baron Ashburys timer layout
2020-01-16 05:01:39 +01:00
Ovahlord 7760d95962 Core/Creatures: backported trainer update and skill initialization 2020-01-12 23:53:35 +01:00
jackpoz 131986d1c2 Core/Misc: Replace time(nullptr) with GameTime::GetGameTime() 2020-01-11 03:30:41 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
Ovahlord 9f39c218db Core/Movement: backported a movemenet slot check to prevent PauseMovement from stopping movements that it's not suposed to stop 2020-01-04 12:17:22 +01:00
Giacomo Pozzoni ccb00b971b Fix fleeing speed to 66% run speed 2020-01-03 21:45:40 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Giacomo Pozzoni dfaf4f57a6 Core/Movement: Fix wrong orientation set when pausing movement 2019-12-30 18:54:28 +01:00
Ovahlord 046a471da2 It's getting late 2019-12-13 23:52:07 +01:00
Ovahlord 10a7b29b4d Core/Units: removed a unneeded player type check 2019-12-13 23:35:40 +01:00
Ovahlord 108316ba28 Core/Creatures: added helper to check if a class trainer can train a player and use it in various places to get rid of multiple checks 2019-12-13 17:49:16 +01:00
Ovahlord f3b7b536f4 Core/Units: trainer classes that cannot train the player will no longer show their icon on the mini map 2019-12-12 21:09:17 +01:00
Ovahlord 0cdddca210 Core/Spells: corrected haste rune cooldown reduction behaivior
* the haste regeneration modifier will now act multiplicative on the base regeneration rate rather than modifying it directly
* renamed some functions for clarification
2019-12-10 15:23:43 +01:00
Ovahlord d38dfce011 Core/Pets: corrected formulars for minion and pet damage values for good this time
* data is based on dr. damage and simulationcraft
2019-12-10 00:12:26 +01:00
Ovahlord abb62cc76f Core/Spells: reverted proc behaivior for pets and fixed applying spell mods for hunter pets and minions 2019-12-09 16:10:54 +01:00
Ovahlord cbaa290b0b Core/Spells: corrected spell bonus coefficients for Warlock Minions and use correct formular for Pet Basic Attack abilities 2019-12-09 00:34:29 +01:00
Ovahlord 6f7aca2df5 Core/Spells: removed more duplicate bonuses 2019-12-08 23:43:19 +01:00
Ovahlord 0dd5fdafbd Core/Spells:
* corrected crit chance bonus for Last Word Talent
* fixed Improved Searing Pain talent
* removed hackfix for Improved Mind Blast
* moved Incerate damage bonus hack into proper spell script
* updated and fixed Afterpath proc
* fixed Shadow and Fame proc
* updated Backdraft proc
* fixed Burning Embers talent
* fixed Empowered Imp talent
* fixed Fire and Brimstone damage bonus for Incenerate and Chaos Bolt
* updated several spell scripts to new model
2019-12-08 20:23:51 +01:00
Ovahlord 5cedd2dcc3 Core/Stats: disabled armor penetration handlings and removed related functions as they are deprecated since Cataclysm 2019-12-08 01:04:15 +01:00
Ovahlord 818def83f4 Core/Spells: removed stack argument from Unit::SpellDamageBonusTaken 2019-12-03 15:53:12 +01:00
Ovahlord f8a17d673e Core/Unit: fixed a warning reported by travis 2019-11-28 09:28:43 +01:00
Ovahlord dfd75a24e2 Core/Spells:
* fixed Shatter not granting its crit chance properly
* fixed Last Word crit chance bonus
2019-11-26 18:28:38 +01:00
Ovahlord c11b6e06db Core/Spells: simplified application of SPELL_AURA_MOD_SPELL_POWER_PCT and removed a duplicate applying of SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN 2019-11-21 10:21:29 +01:00
Ovahlord 325131c690 Core/Movement: ranged attacking pets should not care about chase angles and tolerances at all
* ported some missing fixups for chase movement
2019-11-17 10:11:39 +01:00
Ovahlord b7e44e1312 Core/Spells: simplified damage bonus calculation for SPELL_AURA_MOD_DAMAGE_FROM_MANA 2019-11-15 09:20:03 +01:00
Ovahlord 6495ee1b97 Core/Spells: intelligence will now be added to spell base bonus damage again 2019-11-14 02:02:47 +01:00
Ovahlord a7ebacfe7b Core/Movement:
* fixed packet structure field order of MSG_MOVE_TIME_SKIPPED
* send move_update opcodes to players after the target player's client has confirmed the speed change via ack opcode
*todo: implement anti-cheat checks
2019-11-13 10:25:58 +01:00
Ovahlord c949e12f80 Core/Spells: unclusterfuck weapon damage spell effect handler
* weapon effect values can now be manipulated via spell scripts
* moved Kill Shot attack power bonus to spell_bonus_data
* converted Warrior's Devastate effect handler hack to spell script
2019-11-08 03:38:11 +01:00
Ovahlord 95d8ede187 Core/Spells: ported more spell damage bonus cleanups 2019-11-07 20:57:45 +01:00
Ovahlord 3d820399bb Core/Units: ported additional fixups for taken spell bonus damage from 335 branch and fixed an issue that was causing flag damage bonus values for liquid damage auras not taking provided benefits 2019-11-07 20:25:13 +01:00
Ovahlord 15f09fb82b Core/Misc: fixed warnings and building connection patcher with boost versions below 1.61 2019-11-06 00:51:04 +01:00
Ovahlord 7b5ee673fb Core/Movement: renamed MSEHasTransportTime3 to MSEHasVehicleId 2019-10-31 01:51:14 +01:00
Wyrserth 279a45e23c Core/Script: add script hook to allow overriding of a vehicle passenger's exit position (#23322)
* Core/Script: add script hook to allow overriding of a vehicle passenger's exit position.

* Allow to change orientation, and fix nopch.

* Keep original orientation, thanks jackpoz!

* Update Unit.cpp

Code cleanup

* Update Unit.cpp
2019-10-17 03:45:49 +02:00
ccrs 8cb10a38a4 Core/Unit: f869c49 followup
Movement Pause/Clear is already handled in Unit::SetCharmedBy and Unit::RemoveCharmedBy, respectively

TODO: missing PAUSE handling in RandomMovementGenerator
2019-10-17 03:32:45 +02:00
Wyrserth d19d0dc29e Core/Vehicle: prevent creature vehicles from following their old movement generator when a player enters them in some cases.
Closes #21731 and #22368.
2019-10-17 03:32:15 +02:00
Ovahlord 0a71e7c2c2 Core/Spells: Nature's Blessing will now correctly grant its bonus only for eligible direct healing spells 2019-10-14 00:56:47 +02:00
sun c98c92b902 Core/PacketIO: Restore SMSG_DESTROY_OBJECT removed in 92816c0f17
- this packet was removed in WoD not 4.3.4...
2019-10-07 14:53:36 -04:00
ccrs 94980ab362 Core/Movement: move MoveSplineInit (#21857)
The number of edge cases in which weirdness is seen on "effect movements" will be kinda reduced, plus consistency, plus movementInform on custom movement spline initalizations.

Core/Movement: use helpers for validation

Core/Movement: crashfix workaround
2019-10-06 04:55:46 +02:00
Ovahlord 8bec6af24a Core/NetworkIO: implement 2nd connection 2019-10-03 22:32:24 +02:00
Ovahlord 9a0fe48e70 Core/Movement: fixed packet structure for SMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY and SMSG_MOVE_UNSET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY
* enabled CMSG_MOVE_SET_CAN_TRANSITION_BETWEEN_SWIM_AND_FLY_ACK
2019-09-14 18:23:58 +02:00
Ovahlord bd43c1d4d1 Core/Spells: fixed a logic mistake in calculating spell bonus values with multiple stacks which was causing the stack bonus getting applied twice
* corrected a damage bonus calculation for Mirror Image
2019-08-23 23:32:41 +02:00
Ovahlord fc1956dc4d Core/Spells: ported some melee bonus damage calculation refactors from 335 branch
* fixed rune regeneration affecting aura effects properly
2019-08-22 01:34:00 +02:00