Commit graph

7516 commits

Author SHA1 Message Date
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
cyberium
9022705faf [12195] Improve AreaTrigger teleport requirement checks
Implement AreaLockStatus concept by rsa

Also drop basicly unneeded `areatrigger_teleport`.required_failed_text field.
This concept is still in testing phase, please feedback results of some glitches that might exist!

TODO: Use Player::GetAreaLockStatus or GetAreaTriggerLockStatus for other "CanEnter" checks as well.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:42:13 +00:00
Xfurry
7901613472 [12194] Implement spell 30835 2020-02-16 20:42:12 +00:00
Xfurry
ba2f0471b4 [12193] Implement some spells used in the Shade of Aran encounter 2020-02-16 20:42:11 +00:00
Yaki Khadafi
73f5d7a0b1 [12192] Update SkillType enum
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:10 +00:00
Yaki Khadafi
6b87ab329b [12191] Update mastery on mastery aura apply/remove.
Add comment to previous commit.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:09 +00:00
Yaki Khadafi
8726754f7a [12190] Remove no more existant lockpicking skill.
Implement archaeology lock

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:08 +00:00
Salja
65dfa1470e [12189] Fix few missing changes in mangos.sql and some clean.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:42:07 +00:00
Schmoozerd
b030244426 Fixup script_command documentation. Thanks to crackm for pointing 2020-02-16 20:42:06 +00:00
Salja
29c80cb229 [12188] Missing INSERT
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:42:05 +00:00
Yaki Khadafi
4049442c80 [12187] Fix item random properties and suffixes
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:04 +00:00
Salja
c58ffa3c41 [12186] Added missing Start->Items all done yet.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:42:03 +00:00
Salja
e8b3496d79 [12185] Update old Start->Items and added all new Start->Items
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:42:02 +00:00
Yaki Khadafi
b9772a9355 [12184] Implement mastery scaling
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:01 +00:00
Salja
66c52c748b [12183] Typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:42:00 +00:00
Salja
45f0facafe [12182] Crowd control spells PvP duration has been decreased to 8 seconds (down from 10) Thanks Shocker
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:59 +00:00
Yaki Khadafi
96891fb09f [12181] Missing change
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:58 +00:00
Yaki Khadafi
092052608f [12180] Fix bugs related to talent trees.
Implement mastery spells learn

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:58 +00:00
Salja
3cb9dd9eec [12179] Some missing "player_levelstats". Thanks Trinity
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:56 +00:00
Yaki Khadafi
119597fca8 [12178] Fix logic fail in IsNeedCastPassiveLikeSpellAtLearn
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:55 +00:00
Yaki Khadafi
5fe1d9806f [12177] Fix ObjectGuid::GetEntry
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:55 +00:00