Commit Graph

35311 Commits

Author SHA1 Message Date
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
93ca72e7b6 DB/Spells: allow Strikes of Opportunity to proc from melee abilities as well 2019-11-10 18:30:37 +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
daMaex
4f438e5cb6 Dep/efsw: updated efsw to newest version (#23894) 2019-11-06 03:11:35 +01:00
Ovahlord
db35742421 DB: fixed a typo in ec26851114 2019-11-06 02:49:42 +01:00
Ovahlord
ec26851114 DB: removed bad sai from a trigger npc that is supsed to be used in multiple places 2019-11-06 02:34:10 +01:00
funjoker
c5ab59a2ed Update base sqls 2019-11-06 02:25:22 +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
daMaex
abd3d58d57 added jemalloc configuration to CMake for CPU_SINWAIT (#23898) 2019-11-05 16:06:44 +01:00
jackpoz
7e5e553bac Dep/Jemalloc: Update to Jemalloc 5.2.1 2019-11-05 16:06:13 +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
Ovahlord
c1a7f74dda Revert "Misc: change travis boost version to 1.68" 2019-10-31 05:06:35 +01:00
Ovahlord
19c252cc1e Misc: Add build status to readme 2019-10-31 05:04:44 +01:00
Ovahlord
1ce34ed74d Misc: change travis boost version to 1.68 2019-10-31 04:58:23 +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
315bb1199f Dep/Recast: restored a change that got lost during merging 3.3.5 changes 2019-10-26 02:14:32 +02: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
63f95498ce DB/Spawns: correct respawn timer of gameobjects and creatures to 5 minutes instead of 2
* since we have dynamic spawns now we no longer have to wait for the corpse to despawn which means we can now use the correct default respawn time of 5 minutes
2019-10-23 21:10:31 +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