jackpoz
a3b14db015
Merge 'Numielle/master' into master
...
This is a workaround required by the current spell system limitations.
Close pull request #11915 .
2014-08-24 17:11:51 +02:00
DDuarte
df3b08d140
Core/Server: Use nullptr instead of 0 where pointers are expected
2014-08-09 21:32:26 +01:00
Shauren
7532864264
Buildsystem/MSVC: Warning fixes
...
C4800 'type' : forcing value to bool 'true' or 'false' (performance warning)
C4127 conditional expression is constant
2014-07-17 15:42:57 +02:00
Subv
dfdc19f3bc
Merge branch master into boost
...
Conflicts:
BattlegroundMgr.h
2014-07-13 16:52:38 -05:00
Shauren
f9c7bb4171
Partially revert f296095191 "Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic."
...
Visual studio does not support constexpr
Made semicolon after "Prepare*Script" mandatory - workaround for dumb IDEs inserting extra indentation level after newline
2014-05-18 12:50:10 +02:00
Praetonus
f296095191
Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
...
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.
Two minor changes in addition :
-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
Dehravor
24ae6a6802
Core/Misc: Remove obsolete C++11 backward compatibility macros
...
OVERRIDE, FINAL, DELETE_MEMBER
2014-04-29 16:35:11 +02:00
Numielle
91827e87d1
Core/Spells: Fixed double heal reduction on Eart Shield (issue #4032 ).
2014-04-20 23:48:57 +02:00
joschiwald
fbddda52e7
Core/Spells: move more spells to spellscripts
2014-01-26 02:24:57 +01:00
Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
Nay
12973de799
Core&Tools: Fix multiple issues found by a static code coverage tool
2013-08-24 22:57:22 +01:00
joschiwald
a522be8108
Merge pull request #10336 from joschiwald/spellscripts5
...
Scripts/Spells: backport some SpellScripts from 4.3.4 branch
2013-07-23 17:21:17 -07:00
joschiwald
99c67c103d
Scripts/Spells: backport some SpellScripts from 4.3.4 branch
...
- Fix Earth Shield
- Fix Necrotic Touch
- Fix Reflective Shield
Closes #9145 , #9163 , #9665
2013-07-24 02:13:49 +02:00
joschiwald
2d6a48840c
Core/Spells: use SpellInfo class to get spell rank instead of SpellMgr helpers
2013-07-21 13:37:34 +02:00
Nay
3561ab98ba
Misc: Use override and final C++11 keywords in a few places (mostly scripts)
...
OVERRIDE and FINAL are TC macros (expand to nothing if compiler does not support C++11)
2013-07-06 20:21:45 +01:00
Malcrom
66978cfc3b
Core: Some function renaming.
2013-06-11 19:54:27 -02:30
Vincent_Michael
480c847156
Core: Some cosmetic changes
2013-01-26 19:49:53 +01:00
joschiwald
af50ce6223
Core/Spell: convert more spells to SpellScripts
2013-01-22 23:36:51 +01:00
joschiwald
c38d95ac33
Core/Spells: convert some spells to SpellScripts
2013-01-20 04:30:17 +01:00
joschiwald
2f1bbb2c7a
Misc: Reorder more scripts in some script files and some cosmetic stuff
2013-01-13 02:41:40 +01:00
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Spp
b99c347747
Core: Remove Player.h dependency from all the possible headers
2012-11-17 05:18:37 +01:00
Spp
380db44583
Core/Utilities: Use generic templates with AddPct, ApplyPct and CalculatePct
2012-10-02 12:17:42 +02:00
Shauren
e0997874f5
Core/SpellScripts: Changed OnUnitTargetSelect hook to OnObjectAreaTargetSelect, it will now work with WorldObject instead of only Units and call it even for empty target lists
2012-06-29 21:53:35 +02:00
Kandera
9d19be2ee5
Core/Spells: fix spell scripts from recent commit and cleanup scripts
2012-06-15 12:56:15 -04:00
joschiwald
8ab6d578ce
fix typos - i failed so hard :(
2012-06-08 22:25:33 +02:00
joschiwald
7e454b26ac
more updates
2012-06-03 02:35:00 +02:00
joschiwald
cd7ab6f3a5
Merge branch 'master' of github.com:joschiwald/TrinityCore into spellscripts
...
Conflicts:
src/server/game/Entities/Unit/Unit.cpp
src/server/game/Spells/Auras/SpellAuraEffects.cpp
src/server/game/Spells/Spell.cpp
src/server/game/Spells/SpellEffects.cpp
src/server/scripts/Spells/spell_paladin.cpp
2012-05-28 04:27:51 +02:00
joschiwald
ca07f30d03
Core/Spells: convert some spell effects to SpellScripts
2012-05-28 04:07:51 +02:00
4m1g0
524e30e57b
Scripts/kalimdor: Use proper headers to optimize compile, code style and general cleanup.
...
Closes #6419 (pr)
2012-05-19 15:11:09 +01:00
joschiwald
4e354d6ca9
Core/Spells: fix damage mods from caster on target
2012-05-11 22:43:06 +02:00
QAston
58f63509cd
Merge pull request #6314 from Chaplain/spells
...
Core/Spells: Separation of caster/target part damage/heal bonus calculation.
2012-05-09 15:10:33 -07:00
Chaplain
879070bc80
Core/Spells: Separation caster/target part damage/heal bonus calculations.
...
*Implement HoT/DoT save caster side bonuses and apply target mods on each tick
2012-04-28 23:32:25 +03:00
Vincent-Michael
ccda7c8a40
Core/Shaman: Fix Earthen Power
2012-04-22 20:29:47 +02:00
Subv
3d8aaabaf3
Core/Spells: Do not proc spells with PROC_FLAG_DONE_SPELL_MAGIC_DMG_CLASS_(NEG|POS) if there is no target, reimplemented Storm, Earth and Fire talent in another way
...
Closes #3367
Closes #2424
If you find more spells that are broken because of this, please notify us
Signed-off-by: Subv <s.v.h21@hotmail.com >
2012-04-14 20:08:16 -05:00
Shauren
bfc73920c7
Scripts/Spells: Corrected Riptide script, preparing variable should be done in Load hook, not Register
2012-04-09 10:58:20 +02:00
Subv
e309c4fe1b
Core/Spells: Fixed Riptide bonus on Chain Heal
...
closes #1152
Signed-off-by: Subv <s.v.h21@hotmail.com >
2012-04-08 19:09:30 -05:00
click
dce3bc01ac
Core: Fix non-PCH building
2012-02-19 16:57:07 +01:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Kandera
c517806a23
Scripts/Spells: Convert code from Spell::EffectDummy to spell scripts.
2012-02-18 12:12:49 +01:00
Shocker
91d51d9474
Merge pull request #4244 from Warpten/master
...
Core/Spells: Fix Earthen Power
2012-01-04 13:31:45 -08:00
Shocker
0a17ab2e4c
Merge pull request #4314 from drskull/master
...
Core/Spells: Windfury and Flametongue should proc from abilities
2012-01-04 13:25:43 -08:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
dr.skull
2cd57b53e6
Shaman is the caster of Fire Nova not totem.
...
Signed-off-by: dr.skull <dr.skull@centrum.sk >
2011-12-14 17:27:39 +01:00
Kapoeira
f35c8d69f3
Core/Spells: Since 3.2.2, Earthen Power should no longer provide a snare immunity aura on every pulse. Thanks @Kaelima.
2011-12-13 16:12:26 -05:00
Kapoeira
0fe3405a70
Core/Spells: Fix my logic in my previous commit, thanks to @Kandera for pointing out.
2011-12-10 08:18:54 -05:00
Kapoeira
5d7003a28b
Core/Spells: Fix Earthen Power.
2011-12-10 00:35:33 -05:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
Shauren
062e645637
Scripts/Spells: Bloodlust/Heroism handling changed, it is now possible to use these spells even if caster is under Sated/Exhaustion debuff
2011-09-25 15:08:48 +02:00