Commit graph

7086 commits

Author SHA1 Message Date
Schmoozerd
02504e4a38 [c12549] Add helper script to easily create a topic branch
(based on commit [12422] - 9245f5f)

Signed-off-by: DasBlub <DasBlub@gmail.com>
2020-02-16 21:52:30 +00:00
Dramacydal
41dda7eee7 [c12548] Compilefix
Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
2020-02-16 21:52:27 +00:00
Dramacydal
0cac3be04c [c12547] Consider SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY for regen auras 2020-02-16 21:52:08 +00:00
Dramacydal
d4f3fed660 [c12546] Fix usage of SpellEquippedItems and SPELL_AURA_MOD_DAMAGE_DONE & SPELL_AURA_MOD_DAMAGE_PERCENT_DONE auras as a result 2020-02-16 21:51:32 +00:00
Dramacydal
6b58a8674d [c12545] Force SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS and SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_2 to use visible slots 2020-02-16 21:49:08 +00:00
Dramacydal
41a410968c [c12544] Force SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS and SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_2 auras to send amount 2020-02-16 21:43:54 +00:00
Dramacydal
461f81a06a [c12543] Fix crash when unit don't have visible auras 2020-02-16 21:40:14 +00:00
DasBlub
cfa0787a5f [c12542] reduce clone time in Travis by only getting the latest commit and not the whole history (default for travis is 100)
(based on commit [12393] - de0dcf7)

Signed-off-by: DasBlub <DasBlub@gmail.com>
2020-02-16 21:40:12 +00:00
DasBlub
b11887bce8 [c12541] Add copyright header and some comments to .travis.yml
[ci skip]

(based on commit [12392] - 2ca7224)

Signed-off-by: DasBlub <DasBlub@gmail.com>
2020-02-16 21:40:09 +00:00
DasBlub
10598c0743 [c12540] Remove the PREFIX parameter from the CMake files and use the standard CMAKE_INSTALL_PREFIX parameter instead
This also fixes the behaviour with relative paths, until now, it
calculated the absolute path from the location of the top level
CMakeLists.txt instead of your current directory where you called cmake.

You need to re-run CMake and define CMAKE_INSTALL_PREFIX and remove
PREFIX! You can do so by either removing all files in your build directory
and start from scratch or run 'cmake -DPREFIX= -DCMAKE_INSTALL_PREFIX=<install_path> <path_to_source>'.
A check has been added to the CMake file to make sure that PREFIX is no
longer used.

(based on commit [12391] - d489531)

Signed-off-by: DasBlub <DasBlub@gmail.com>
2020-02-16 21:39:24 +00:00
DasBlub
86210e27d1 [c12539] Fix typo in AUTHORS file - thanks @AwkwardDev
* also remove "(no author)" and "@" from the authors list
* merge nicks "Tassadar" and "Tassader"

[ci skip]

(based on commit 285709a)

Signed-off-by: DasBlub <DasBlub@gmail.com>
2020-02-16 21:34:56 +00:00
DasBlub
7b52873e24 [c12538] Do not use GLOB in CMake for source file lists
From the CMake documentation of the FILE command:
"We do not recommend using GLOB to collect a list of source files from your
source tree. If no CMakeLists.txt file changes when a source is added or
removed then the generated build system cannot know when to ask CMake to
regenerate."

(based on commit [12390] - f123635)

Signed-off-by: DasBlub <DasBlub@gmail.com>
2020-02-16 21:32:19 +00:00
Schmoozerd
a27787851c [c12537] Update Authorship information
(based on commit [12388] - 037f217)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 21:27:46 +00:00
Schmoozerd
a05738717a [c12536] Happy New Year 2013
Update authorship information and prepare for easier ways next year

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12325] - b7dbcda)
2020-02-16 21:25:01 +00:00
Schmoozerd
86a243c910 [c12535] Fix Typo from 10727. Special thanks to Morenn for spotting
Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12389] - 704dcc7)
2020-02-16 21:07:15 +00:00
Xfurry
2502fb8a46 [c12534] Implement spell effects 50742, 50810 and 61546
(based on commit [12387] - 0bb915d)
2020-02-16 21:07:12 +00:00
Schmoozerd
3ff9317e54 [c12533] Note ingame if gossip conditions are ignored because of GM mode
(based on commit [12386] - 5ece4bc)
2020-02-16 21:03:56 +00:00
Schmoozerd
fd6d107f7e [c12532] Use Filter log for grid unloading messages
(based on commit [12385] - e3136c2)
2020-02-16 21:01:20 +00:00
Schmoozerd
16ecfbcf4d [c12531] Fix recently un-outcommented code to be actually working
(based on commit [12384] - 96d1f0e)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 20:59:13 +00:00
Maxxie
faea73ac9b [c12530] Looks for passive auras that need to be recast. Like talent spell Feral Swiftness (id: 17002 and ranks), once you go inside a building and then outside again.
Contributor : Ebrithil

(based on commit [12383] - e9f2099)
2020-02-16 20:50:18 +00:00
Ebrithil
2294b41bf3 [c12529] Increase healing factor with each critical strike. Patch 3.0.2
co author: Maxxie

(based on commit [12382] - bab5f17)
2020-02-16 20:50:16 +00:00
Xfurry
39b73d0807 [c12528] Fix behavior of spell 42631
Thanks zkillertheman for pointing

Also fix https://github.com/scriptdev2/scriptdev2/issues/33

(based on commit [12381] - b4b0f4b)
2020-02-16 20:50:14 +00:00
Dragonfly
5448e9c49b [c12527] Fix build
Sorry "~_~
2020-02-16 20:49:10 +00:00
Salja
12fab30916 [12222] Fix Build from Backport
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:42:40 +00:00
kid10
1aaf756c7e [12221] Implement interface for Vehicles
Signed-off-by: Schmoozerd <schmoozerd@cmangos>
2020-02-16 20:42:39 +00:00
kid10
164c2e137b [12220] Improve Initialisation of COMMAND_ATTACK field
This moves the set command of COMMAND_ATTACK out of CharmInfo::InitPetAction bar, so that this function can be used more genericly for other purposes

Signed-off-by: Schmoozerd <cmangos>
2020-02-16 20:42:38 +00:00
kid10
e635569d08 [12219] Add generic stackign exception to vehicle control and linkedAura auras
Note: This might not be correct, but aura stacking needs some other serious research, so this should be ok for now.
Signed-off-by: Schmoozerd <schmoozerd@cmangos>
2020-02-16 20:42:37 +00:00
kid10
6ceee0e4b7 [12218] Add abstract Board/Unboard Passenger functions to TransportBase
Signed-off-by: Schmoozerd <schmoozerd@cmangos>
2020-02-16 20:42:36 +00:00
kid10
45d0e5babe [12217] Allow SplineMovement flags for vehicles
First author to use the spline movement in vehicle patches unknown, likely names are zergtmn or rsa

Signed-off-by: Schmoozerd <schmoozerd@cmangos>
2020-02-16 20:42:35 +00:00
Yaki Khadafi
ef0f63e05b [12216] Implement currency loot and update loot opcodes.
Now negative item value in loot tables represent currency id.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:34 +00:00
Schmoozerd
f710cc3c24 [12215] Add exception to unneeded check for spell 30009 2020-02-16 20:42:32 +00:00
Schmoozerd
c1890ddb44 [12214] Fixup problems with recent teleportation changes 2020-02-16 20:42:31 +00:00
Yaki Khadafi
732ae88bed [12213] Fix crash at gm enter world
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:30 +00:00
Yaki Khadafi
0182d3e409 [12212] Fix CMSG_MOVE_SPLINE_DONE
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:30 +00:00
Yaki Khadafi
257afbf540 [12211] Fix taxies
Original author: @Shauren

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:29 +00:00
Schmoozerd
9690f8d80d [12210] Improve ObjectMgr::GetGoBackTrigger to get back to a trigger that actually ports into the map that could not be entered 2020-02-16 20:42:28 +00:00
Yaki Khadafi
832f9b1a46 [12209] Update mana regen to 4.x
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:27 +00:00
Schmoozerd
378aaa4daf [12208] Improve the RepopAtGraveyard handling of last commit. Thx to rsa for pointing 2020-02-16 20:42:25 +00:00
cyberium
f432438665 [12207] Rewrite Checks required when entering a map
Expected way from now on is:
- Test if a map can be entered with Player::GetAreaTriggerLockStatus
- IF this doesn't return AREA_LOCKSTATUS_OK, and if wanted,
  send the fail-message with Player::SendTransferAbortedByLockStatus function.

Please feedback any hidden problems!

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:42:24 +00:00
Schmoozerd
824aa5429e [12206] Let GetMapEntranceTrigger and GetGoBackTrigger work in a better defined order
Actually as this is still no total order (and it is basicly impossible to define a reasonable total order for areatrigger_teleport) it is not well defined, but probably good enough for all cases
2020-02-16 20:42:23 +00:00
Xfurry
e27c72311a [12205] Implement some spells used in the Jan'alai encounter 2020-02-16 20:42:23 +00:00
Xfurry
69c5529477 [12204] Implement spell 42621 2020-02-16 20:42:22 +00:00
Schmoozerd
d2679caf85 [12203] Improve EffectTeleUnitsFaceCaster and target-selection for position targets
* Let EffectTeleUnitsFaceCaster use a destination for teleporting if provided
* Expect to add caster for TARGET_RANDOM_NEARBY_LOC, TARGET_RANDOM_CIRCUMFERENCE_POINT only for summon spells (or similar spells)
2020-02-16 20:42:21 +00:00
Schmoozerd
6ba3c19a22 [12202] Improve target selection for TARGET_DUELVSPLAYER
Also set the spell to be Redirected only if the spell is actually redirected
2020-02-16 20:42:20 +00:00
Schmoozerd
5dcb4d40ce [12201] Fix spell 57397. Thanks to koksneo for spotting the error 2020-02-16 20:42:19 +00:00
Yaki Khadafi
56e59031b2 [12200] Implement storing talent tree roles
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:18 +00:00
Yaki Khadafi
f552049968 [12199] Fix health regeneration.
Author: @NorthStrider

Fix HP scaling from stamina. Author: @Subv
Fix HP regen bonus from items.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:17 +00:00
Yaki Khadafi
8e84b0ff71 [12198] - Remove weapon skillgains, defense skill, thanks @FailzorD for original patch.
- Update dodge, parry, block to cata.
- Some mastery fixes and stylefixes.
- Remove some no longer used functions.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:16 +00:00
Salja
7637add86c [12197] Revert "[12196] Update last Commit for Cataclysm"
This reverts commit e1fb05cd37350c65c91534a3b6c167f9772fb9ef.
2020-02-16 20:42:15 +00:00
Salja
af32f10843 [12196] Update last Commit for Cataclysm
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:42:14 +00:00