Commit graph

1044 commits

Author SHA1 Message Date
sanctum32
1b9c1a44ee [12703] Fix spell 61254
* Also rearrange code for Aura::HandleAuraModIncreaseHealth
* Fix some behaviour with SetHealth/SetPower if set to max health/power (original author @Schmoozerd)
2020-02-17 09:20:42 +00:00
sanctum32
9b3c263b27 [12700] Stop movement of dead npcs (original author @Schmoozerd) 2020-02-17 09:20:40 +00:00
sanctum32
1c381f206b [12694] Fix a stupid mistake from me introduced in [12472] \n
(original author @Schmoozerd)
2020-02-17 09:20:36 +00:00
sanctum32
49bcd5a4ad [12685] Add some safety to rare case of target-selection for unreachable
target
Thanks to Atari for reporting and researching this problem
2020-02-17 09:20:31 +00:00
rsa
60a7bec73f [12675] Fix MoveGen's interrupting after last commit
Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12473] - baa6525)
2020-02-17 09:20:25 +00:00
boxa
394be2c5bf [12674] Rework StopMove to not start movement if already stopped
thx to Schmoozerd for hint
thx to rsa for pointing to bug

Signed-off-by: Schmoozerd <schmoozerd@cmangos>
2020-02-17 09:20:24 +00:00
Schmoozerd
de2cc58be9 [12673] Let Taunt behave more expectedly in case we have non-generic orientation settings 2020-02-17 09:20:23 +00:00
sanctum32
ea6eef5a13 [12661] Implemented SMSG_PLAY_ONE_SHOT_ANIM_KIT packet 2020-02-17 09:20:15 +00:00
sanctum32
46d4f07052 [12660] Implement mount capabilities by Shauren.
Also  update AreaFlags enum, implement mount capabilities check at teleport.

----------------------------
commit is partially based on ec5eabdc69
2020-02-17 09:20:14 +00:00
sanctum32
a253344a02 [12659] Fixed mounts 2020-02-17 09:20:13 +00:00
Antz
1997c1e903 Rebase resync 2020-02-17 09:19:44 +00:00
Dramacydal
94e26af71d [c12646] Fix client movement freeze after map change 2020-02-17 07:26:45 +00:00
Dramacydal
4e824f5672 [c12638] Implement SPELL_AURA_MOD_AUTOATTACK_DAMAGE 2020-02-17 01:17:52 +00:00
billy1arm
ef445ea523 [12632] Revert previous commit (see Notes) 2020-02-17 00:54:15 +00:00
Dramacydal
dad1b10c5b [c12626] Fix SMSG_PLAYER_MOVE being broken for players moving on transports 2020-02-17 00:25:02 +00:00
Schmoozerd
dc3de04d62 [c12616] Simplify use of CombatReach 2020-02-17 00:24:44 +00:00
Xfurry
8a3be45af0 [c12611] Implement virtual void HealedBy 2020-02-17 00:23:14 +00:00
Schmoozerd
207359612d [c12609] Fix send-speed opcode sending 2020-02-17 00:21:11 +00:00
Dramacydal
bf5c6b1ddd [c12562] Cleanup Style 2020-02-16 23:12:16 +00:00
Schmoozerd
d275d04145 [c12558] Allow stacking for PERIODIC_DUMMY auras from different casters 2020-02-16 22:37:29 +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
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
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
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
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
stfx
a53ac2aca7 [12152] Remove unused argument from OutdoorPvP::HandlePlayerKillInsideArea 2020-02-16 20:41:30 +00:00
Shyax
6e76dbae3f [12128] Fix more warnings - close #4
* Remove warning: enumeration value '<value>' not handled in switch
* Remove warning: enumeral and non-enumeral type in conditional expression
* Remove warning: too many arguments for format

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:05 +00:00
evil-at-wow
6fa6eb24a5 [12125] Fix some warnings
* Fix compiler warnings "warning: no newline at end of file" (Linux/GCC).
* Fix compiler warnings "warning: '<class>::<member>' will be initialized after <class>::<member>" (Linux/GCC).
* Fix compiler warnings "warning: unused parameter '<param>'" (Linux/GCC).
* Fix a signed/unsigned warning

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:02 +00:00
Schmoozerd
02ce53b7dd [12124] Improve error output for Pets without proper faction
Also fix typo in EventAi doc, thanks to stfx for pointing
2020-02-16 20:41:00 +00:00
rsa
de95d1d480 [12123] Move BattleGround code to separate BattleGround directory. Also some corrects to unload BG's 2020-02-16 20:40:57 +00:00
Reamer
e90caf7349 [12111] Add Unit::KnockBackWithAngle function
Also wrap up the packet sending for a knockbacked player to WorldSession::SendKnockBack

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:23:03 +00:00
kid10
88e18898e2 [12108] Add RemoveSpellsCausingAura to remove auras of type and caster 2020-02-16 20:00:05 +00:00
Yaki Khadafi
3153bd2129 [0146] Cleanup deprecated item mods and combat ratings
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 19:51:43 +00:00
Yaki Khadafi
9a00d62017 [142] Implement worgen transformations
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 19:38:50 +00:00
Xfurry
e955c3bc8f Add Outdoor PvP handlers to various files 2020-02-16 19:05:40 +00:00
Salja
73ec9c2ce4 [0114] Updated "item_template" Thanks Fabi Fix some DBC problems, some clean.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 16:19:43 +00:00
Yaki Khadafi
a6b1264405 [0113] Again
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 16:19:42 +00:00
Yaki Khadafi
1e11c2af24 [0112] Typo
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 16:19:41 +00:00
Yaki Khadafi
93c5b1cf1d [0111] Implement rest of spell scaling
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 16:19:19 +00:00
Yaki Khadafi
e0a8e30cc3 [0093] Enabled and updated lots of opcodes, mostly spell-related. All structures checked .
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 15:32:25 +00:00
Yaki Khadafi
19d898c836 [0091] Define SPELL_ATTR_EX8_IGNORE_TARGET_FOR_COMBO_POINTS
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 15:31:09 +00:00
Salja
10d308bbaf [0085] Updated critical heal to Cataclysm. Thanks Sovak
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 11:57:04 +00:00
LordJZ
8010d254b6 Fix SMSG_POWER_UPDATE, thanks @Zakamurite for noticing. 2020-02-16 08:29:43 +00:00
Yaki Khadafi
e7d0275ae2 [0067] Set- canfly/forcemoveroot/waterwalk packets, SMSG_PLAY_SPELL_VISUAL
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:29:40 +00:00
LordJZ
6b1df231a5 Forward-merge out of world SMSG_POWER_UPDATE and 4.x structure fixes. 2020-02-16 08:29:38 +00:00
LordJZ
adabb1556d Proper power uses. 2020-02-16 08:29:34 +00:00
LordJZ
ef2aa96340 Implement proper power addressing. 2020-02-16 08:29:33 +00:00