Commit graph

310 commits

Author SHA1 Message Date
Xfurry
c9aa7b5d3a [c12570] Add stacking exception for spells 50442 and 47941 2020-02-16 23:18:31 +00:00
Xfurry
d1e9390e82 [c12565] Add stacking exception for spells 51019 and 51024 2020-02-16 23:15:01 +00:00
Dramacydal
bf5c6b1ddd [c12562] Cleanup Style 2020-02-16 23:12:16 +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
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
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
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
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
Yaki Khadafi
48670fda6f [0145] Fix wrong logic in IsPositiveEffect.
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 19:42:26 +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
d16be01744 [0109] More spell cast time calculation research, defined SpellAttributesEx9 and SpellAttributesEx10
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 16:19:17 +00:00
Yaki Khadafi
a7bf0fe70b [0103] Use SpellScaling.dbc to calculate cast time
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 16:18:21 +00:00
Salja
22bfaa12b0 Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
Schmoozerd
835d1c7479 [12069] Cleanup comment style 2012-07-22 14:39:31 +02:00
stfx
3707b04330 [12066] Optimize some parts for ++C 2012-07-21 17:15:11 +02:00
Schmoozerd
84080ee5d3 [12065] Fix various warnings 2012-07-20 21:17:04 +02:00
Schmoozerd
e32b9953a1 Cleanup Operator padding 2012-07-20 17:38:23 +02:00
Schmoozerd
08fd085549 Various Cleanups (game S) 2012-07-19 21:52:06 +02:00
Schmoozerd
6de10526cc [12058] Remove more header includes 2012-07-19 04:15:13 +02:00
Schmoozerd
f24fa870c5 [12057] Add some static wrappers for Lookup access to SQLStorages 2012-07-19 01:14:02 +02:00
Schmoozerd
b607d6a3fd [12025] Fix a stupid mistake from 12017 2012-07-03 17:14:42 +02:00
darkstalker
f777665d48 [12021] Fix some warnings
Thx to stfx for porting

Signed-off-by: stfx <stfx@hotmail.de>
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-25 15:40:27 +02:00
Schmoozerd
fb3a990b13 [12017] Add support for getRace() of creatures. Thanks to vladimir for input 2012-06-24 19:40:36 +02:00
Xfurry
77c5ae1684 [12001] Implement target limiting for spell 47669
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-06-12 23:54:20 +02:00
Schmoozerd
1f24d991e3 [11975] Use a few more enums instead of magic numbers 2012-04-22 23:45:06 +02:00
stfx
f3f3349661 [11973] Various Cleanups
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-22 19:48:05 +02:00
Schmoozerd
7fd1f64319 [11971] Add wrapper HasAttribute to check if a spell has an attribute
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-21 02:02:34 +02:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
Lightguard
b5e50d5c2b [11803] Make SPELL_EFFECT_QUEST_COMPLETE always positive
This fixes spell 25201
2011-09-24 18:12:53 +02:00
Schmoozerd
0bb3a4c84d [11791] Implement spells 69048, 69051 and 69023
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2011-09-11 12:33:32 +02:00
Laise
31e983a692 [11762] move IsCastEndProcModifierAura to more fitting place 2011-07-30 16:48:40 +03:00
Laise
98bd7918f4 [11760] change proc related part of [11748] note: PROC_EX_CAST_END shouldn't be used with any on-hit proc exs to avoid double proc 2011-07-29 09:38:21 +03:00
VladimirMangos
75cfbb41c8 [11698] Fixed spells 50756 and 50758 stack check
Original patch provided by Xfurry.
2011-06-28 20:15:18 +04:00
VladimirMangos
387a15f1a1 [11692] Fixed damage/heal amount from some triggered HoTs/DoTs. 2011-06-28 15:22:13 +04:00
PSZ
bb9157c6fc [11691] Typo in select proper spell difficulty function 2011-06-28 12:25:25 +04:00
Den
9c186a25be [11684] Hunter T7 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 16:28:09 +04:00
elecyb
2776f55d7a [11652] Diminishing returns for some paladin abilities.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-19 06:08:53 +04:00
zergtmn
479cfcf84a [11639] Limit spells 74410 and 74411 only to bg and arenas 2011-06-18 01:37:33 +06:00
VladimirMangos
c686697c2d [11623] Implement ClassFamilyMask as wrapper for uint64+uint32 spell family masks
Inspired by patch suggested by darkstalker

Also
* Remove existed enums for family masks as contra-productive for developement.
* Drop one from horrible hack checks in SpellMgr::IsNoStackSpellDueToSpell
  (spells for any fimilies with exactly 0x800 mask) I fail find useful cases
  for current spell data with this check. All cases expected work correct without it.
  If will some problems detected with this please report for fix in less strange way.
2011-06-11 21:20:42 +04:00
PSZ
3a60c4ae3b [11610] Select proper spell difficulty subtitution.
Fix mostly affect cases when absent 25-man difficulties spell version.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 21:52:56 +04:00
Den
f99476cad5 [11607] Spell 46221 is debuf
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 20:16:24 +04:00
VladimirMangos
c5064a73b0 [11601] More limited way attempt fix spell 1008 and ranks 2011-06-05 15:15:02 +04:00
VladimirMangos
6833f4c564 [11600] Revert "[11577] Spell effects with IsExplicitPositiveTarget always positive."
This reverts commit bb16c4d956bff20c934b1e8207732a7268456152.
2011-06-05 13:59:30 +04:00
VladimirMangos
c870ef324d [11590] Cleanups for barGoLink
* Rename barGoLink -> BarGoLink as expected by mangos code style
* Add uint32/uint6 constructor versions for BarGoLink,
  and remove lot casts required before for BarGoLink use
2011-06-03 12:02:49 +04:00
VladimirMangos
108a167c46 [11587] Use SkillRaceClassInfo.dbc data for check spell training.
* Show race/class specific min level in trainer list (for weapon master for example)
  and use it for check spell traing possibility.
* Hide for specific race/class some spells marked by flag  ABILITY_SKILL_NONTRAINABLE
  This possible in cases when spell available for race/class but learned from talent/etc
  and then don't must be show for race/calss pair in trainer list. Single case in 3.3.5a.
* Add to code tables for profession ranks for seelct correct rank related reqlevel
  and check DB side data for it. Note: DB reqlevel values redundant for profession rank
  spells now.
* Use for reqlevel selection (if DB value not provided) learned spell insteed cast-spell
  spellLevel field. This let in more cases select training reqlevel without provided DB value.
  For LogFilter_DbStrictedCheck = 0 mode output data about like redundant reqlevel values
  in traner tables.
2011-06-02 09:55:25 +04:00
Amaru
6dd7f784cf [11581] In IsPositiveEffect triggered case check only existed effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-01 06:38:17 +04:00
VladimirMangos
c462ee5834 [11577] Spell effects with IsExplicitPositiveTarget always positive.
This fix for example spell 1008 buff state.
2011-05-31 13:24:00 +04:00
breakwater
ce14b28ba4 [11552] Implement aura SPELL_AURA_STOP_NATURAL_MANA_REGEN (294)
Also partly implement using it spell 62692.

FIXME: Some spells expected to be working for target under spell 62692 effect
       not working. This need additional research and fixes.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-28 05:24:36 +04:00
VladimirMangos
78a4460501 [11535] More wide use IsFitToFamilyMask
Simplify check for one from cases base at recheck spell data.
2011-05-25 04:06:55 +04:00