Commit Graph

24851 Commits

Author SHA1 Message Date
Ovahlord
eff2527604 Core/Spells:
* corrected Bloodthirst formular and handling so it will no longer ignore armor values and use correct amounts
* removed hacks from Charge spell script and handle talents properly
2019-11-10 21:15:17 +01:00
Shauren
bbdf60701b Core/Random: Refactor random number generation to use std::uniform_*_distribution to restrict result range instead of doing that ourselves
* Seed SFMTRand with more values for its state

# Conflicts:
#	src/common/Utilities/Random.cpp
2019-11-10 18:58:25 +01:00
daMaex
983f28e73b Dep/SFMT: updated to newest upstream version from https://github.com/MersenneTwister-Lab/SFMT
* only needed files added
* used CMake and SFMTRand from https://github.com/TrinityCore/TrinityCore/pull/23240 (Thank you Artox)

# Conflicts:
#	dep/SFMT/CMakeLists.txt
2019-11-10 18:57:48 +01:00
Ovahlord
db135660e1 Core/Trainers: the visual effect upon learning a spell will now be correctly shown by the player instead of the trainer 2019-11-10 18:31:29 +01:00
Ovahlord
f0a5b4f400 Scripts/VP: fixed achievement 'Extra Credit Bonus Stage!' 2019-11-10 14:33:56 +01:00
Ovahlord
53d2ecf123 Core/Auras: removed obsolete crit chance member 2019-11-09 01:11:46 +01:00
Ovahlord
c670bd4748 Core/Spells: fixed periodic healing effects not being able to crit 2019-11-09 00:34:47 +01:00
Ovahlord
cc778981fa Core/Spells: fixed Feral Swiftnes proc 2019-11-09 00:19:00 +01:00
Ovahlord
5b928c5802 Core/Spells: removed hackfix for Pulverize damage bonus and fixed it properly 2019-11-08 03:52:26 +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
4215720f8d Core/Spells: corrected formulars for Judgement and Exorcism and converted Judgement's spell script to new model 2019-11-07 20:58:37 +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
5751a26b9f Core/Transport: fixed another crash when adding a player to a transport if the player is not in world yet 2019-11-07 20:09:41 +01:00
Ovahlord
dd9b94f284 Core/Vehicles: allow control vehicle auras to be multi-slot auras 2019-11-06 21:59:52 +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
Shauren
43a18dae7f Core/PacketIO: Restrict CMSG_STANDSTATECHANGE to only allow the same stand states that client can send by itself 2019-11-05 16:05:54 +01:00
Shauren
ff018e4d75 Core/PacketIO: Restrict CMSG_EMOTE to only allow emotes that are hardcoded in client 2019-11-05 16:04:52 +01:00
Ovahlord
cca7e81895 Core/Transports: split passenger position update into two seperate functions to enable updating positions of single passengers instead of iterating through the entire passenger set 2019-11-04 15:01:21 +01:00
Ovahlord
9b68e2a93a Core/Spells:
* Festering Strike will now increase the duration of Frost Fever and Blood Plague up to 6 seconds
* Diseases will now properly benefit from their mastery bonus
2019-11-04 02:59:42 +01:00
Ovahlord
517a4581ad Core/Transports: fixed a crash happening when logging in while saved on a transport 2019-11-04 01:42:32 +01:00
Ovahlord
7371f305ae Core/Spells: added missing handling for Seed of Corruption detonation when surpassing the needed damage threshold to explode 2019-11-04 01:00:17 +01:00
Ovahlord
b65291112f Core/Transports: update passenger positions when adding a passenger to a transport 2019-11-04 00:16:38 +01:00
Ovahlord
7306afc43a Scripts/BoT: improved reset mechanic for Ascendant Council encounter 2019-11-02 22:19:45 +01:00
Ovahlord
3dd63ff980 Scripts/BWD: initial work on phase three mechanics for Nefarian's End encounter 2019-11-01 23:36:12 +01:00
Artamedes
f8f1701189 Core/Movement: Fix SMSG_MOVE_UPDATE_SWIM_SPEED structure (#14)
* Core/MovementStructures: Fix SMSG_MOVE_UPDATE_SWIM_SPEED structure

* Change spacing

* rename a movement status element and add a comment to a nyi movement status element
2019-10-31 03:06:22 +01:00
Ovahlord
7b5ee673fb Core/Movement: renamed MSEHasTransportTime3 to MSEHasVehicleId 2019-10-31 01:51:14 +01:00
Ovahlord
72b10106f6 Scripts/BWD: implement normal difficulty mechanics for phase two and scripted intro for phase three and add timers for phase three tail lash and shadowflame breath 2019-10-31 00:48:56 +01:00
Ovahlord
8bbc3d35af Scripts/HoO: removed a debug change from Lift of the Maker handling 2019-10-30 16:39:27 +01:00
Ovahlord
7f1b3cf52c Core/Transports: use additional anim node data for GO_STATE_TRANSPORT_ACTIVE to handle serverside position updates properly 2019-10-30 16:36:33 +01:00
Ovahlord
c26b2bc819 Core/Transports: corrected travel time alignment time handling 2019-10-30 04:32:07 +01:00
Ovahlord
385d2b2b27 Core/Transports: fixed a typo that was causing transports to move faster than intended after making them return to stop frame 0 via GO_STATE_TRANSPORT_ACTIVE 2019-10-30 03:36:25 +01:00
Ovahlord
e30d474aa6 Core/Transports: handle GO_STATE_TRANSPORT_ACTIVE properly now and clarified some code in transport position update handling 2019-10-29 19:24:52 +01:00
Ovahlord
55d4990949 Scripts/BWD: finish base work on phase one of Nefarian's End encounter 2019-10-29 00:17:11 +01:00
Ovahlord
fc623b5ab5 Scripts/BWD: remove vehicle aura from players and defeating or losing to Atramedes on heroic difficulty 2019-10-25 13:47:07 +02:00
Ovahlord
a2654c32fc Core/Movement: fixed linux build 2019-10-25 13:05:52 +02:00
Ovahlord
76ad4b1080 Scripts/GB: use the correct randomizer method to select Throngus' next weapon to fix an issue that was preventing him from picking his swords 2019-10-17 15:46:41 +02: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
83c0bb1f93 Core/Movement: handle Resume/Pause on RandomMovementGenerator 2019-10-17 03:44:29 +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
Artamedes
57992c4f0d Core/PacketIO: Update UpdateFlags for SMSG_UPDATE_OBJECT movement update (#9)
* Core/PacketIO: Update UpdateFlags for SMSG_UPDATE_OBJECT movement update

* 1

* Core/NetworkOI: corrected connection type for SMSG_MOVE_UPDATE

* suggestions
2019-10-15 19:11:15 +02:00
Ovahlord
91d020d99d Scripts/Deadmines: removed a unneeded spell cast from Helix' face ride timer aurascript 2019-10-14 19:21:39 +02:00
Ovahlord
6c97d6a49e Scripts/Deadmines: players will no longer become clickable vehicles when Helix dismounts from a player face
* Helix will no longer attack immediately when Lumbering Oaf has died
2019-10-14 19:20:18 +02:00
Ovahlord
535cbc3cac Core/Guilds: fixed a typo in rewarding challenge gold rewards 2019-10-14 01:17:55 +02:00
Ovahlord
8d29de88a2 Core/Guilds: updated guild challenge system
* converted guild challenge packets to packet class
* moved guild challenge reward data to database
2019-10-14 00:56:48 +02:00
Ovahlord
52afc1e171 Scripts/Deadmines: fixed a typo that was causing the Defias Harvester Golems to energize the Foe Reaper 5000 multiple times 2019-10-14 00:56:47 +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
Ovahlord
8980150a82 Scripts/Deadmines: the faction related spawns should only spawn on normal difficulty 2019-10-14 00:56:46 +02:00
Artamedes
a146d3598b Server/Database: Fix loading battlenet accountid (#12) 2019-10-11 21:42:53 +02:00