QAston
b0fe236265
Core: Use new SpellInfo class in core. Sadly, this commit is not compatibile with some of the custom code. To make your code work again you may need to change:
...
*SpellEntry is now SpellInfo
*GetSpellProto is now GetSpellInfo
*SpellEntry::Effect*[effIndex] is now avalible under SpellInfo.Effects[effIndex].*
*sSpellStore.LookupEntry is no longer valid, use sSpellMgr->GetSpellInfo()
*SpellFunctions from SpellMgr.h like DoSpellStuff(spellId) are now: spellInfo->DoStuff()
*SpellMgr::CalculateEffectValue and similar functions are now avalible in SpellEffectInfo class.
*GET_SPELL macro is removed, code which used it is moved to SpellMgr::LoadDbcDataCorrections
*code which affected dbc data in SpellMgr::LoadSpellCustomAttr is now moved to LoadDbcDataCorrections
2011-07-26 23:09:28 +02:00
click
f997363c08
Core: Cleaning up hungarian notation - Phase3: pVictim -> victim
2011-07-02 23:50:02 +02:00
click
70115f52f7
Core: Cleaning up hungarian notation - Phase3: pTarget -> target
2011-07-02 23:16:45 +02:00
Spp-
6fd41ae50e
Scripts: Reorder file names in Commands/CMakeList file and cosmetic changes in all scripts
2011-06-30 14:24:56 +02:00
tobmaps
6f0af070c0
Core/Spells: Fix bug with incoming damage reduction by some talent auras when it shouldn't happen
2011-06-30 03:12:35 +07:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
Dr.Tenma
5ab5a492c8
Scripts/Spells: Deadly Poison will now properly trigger poison applied on weapon in other hand when reaching 5 stacks
2011-05-13 19:13:55 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Spp
bd2728eb74
Core: Fix some warnings
2011-01-11 11:18:00 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
QAston
c8adcc95f9
Core/Unit: Move spell specific code from Unit::CalcAbsorbResist to AuraScripts.
2010-12-30 02:03:46 +01:00
QAston
ef968f4b15
Core/Unit: Big cleanup in Unit::CalcAbsorbResist
...
Core/AuraScript:
Fix compile time check for AuraScript functions
Remove AuraApplication from hook functions parameter list, use GetTarget() and GetTargetApplication() instead
Add OnEffectAbsorb hook
Scripts: move handlers of Spell Deflection, Savage Defense, Primal Tenacity, Nerves of Steel, Astral shift from core to scripts.
--HG--
branch : trunk
2010-12-27 20:14:54 +01:00
QAston
59c1a238f5
Scripts/AuraScript: Make AuraApplication in OnEffectPeriodic never be NULL.
...
Scripts: remove some unnecessary NULL checks from scripts.
--HG--
branch : trunk
2010-12-05 21:38:52 +01:00
QAston
f8a4312701
Core/ScriptSystem: Add compile time type check of function assigned to hooks -
...
prevents incorrect function calls. Since this rev you have to put
PrepareAuraScript(<yourscriptclassnamehere>) at the beginning of every aura
script.
--HG--
branch : trunk
2010-10-08 22:33:21 +02:00
QAston
1760e42e2c
Core/ScriptSystem: Add compile time type check of function assigned to hooks - prevents incorrect function calls. Since this rev you have to put PrepareSpellScript(<yourscriptclassnamehere>) at the beginning of every spell script. Yes, i know it's unhandy, but unfortunately C++ preprocessor is very limited, so you have to do that extra work each time you write a script:(.
...
--HG--
branch : trunk
2010-10-08 21:33:44 +02:00
azazel
5eb0fd80ac
Scripts/Spells: move implementation of some spells into scripts.
...
* 41337 Aura of Anger
* 46394 Burn (Brutallus)
* 53302 Sniper Training
* 45472 Parachute
* 66118 Leeching Swarm
* 51685 Prey on the Weak
* 20911 Blessing of Sanctuary
* 25899 Greater Blessing of Sanctuary
Scripts/Spells: remove several spells implementations from core to table (requires DB data)
* 31231 Cheat Death
* 51662 Hunger for Blood
--HG--
branch : trunk
2010-09-21 23:59:45 +06:00
QAston
07a3a1254b
*Add AuraScript class for scripting aura objects - scripts are registered same way as SpellScripts, bound to SpellScriptNames table. For more details see example_spell.cpp and SpellScript.h
...
*Rename SpellHandlerScript to SpellScriptLoader, EffectHandlerFn to SpellEffectFn, HitHandlerFn to SpellHitFn, SpellScript::EffectHandlers to SpellScript::OnEffect, these changes were neccesary to prevent namespace collisions, happily you can solve these by simple find and replace
*Make spells 66244 and 5581 example scripts.
--HG--
branch : trunk
2010-08-24 00:10:49 +02:00
Spp
58e94dcb9d
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-23 14:10:24 +02:00
click
1f80c7b3c0
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
...
--HG--
branch : trunk
2010-08-08 19:45:53 +02:00
silinoron
14459bc467
Convert spell scripts to new system.
...
--HG--
branch : trunk
2010-08-06 11:35:39 -07:00
XTZGZoReX
7f6fe6394c
* Converted hunter spell scripts to the new format (mostly for example purposes for the rest of the team).
...
--HG--
branch : trunk
2010-08-06 19:46:02 +02:00
silinoron
c173e84f25
Move dummy effect handlers for all SPELLFAMILY_HUNTER dummy effect handlers but Scatter Shot to spell scripts.
...
--HG--
branch : trunk
2010-07-27 22:12:50 -07:00
silinoron
e7e49c56cf
Cleanup the mage spell scripts, and move SPELLFAMILY_PRIEST and SPELLFAMILY_ROGUE dummy effect handlers to spell scripts.
...
--HG--
branch : trunk
2010-07-27 21:12:40 -07:00
silinoron
5977a76d96
Move spell scripts from src/server/scripts/World to src/server/scripts/Spells
...
--HG--
branch : trunk
rename : src/server/scripts/World/spell_dk.cpp => src/server/scripts/Spells/spell_dk.cpp
rename : src/server/scripts/World/spell_druid.cpp => src/server/scripts/Spells/spell_druid.cpp
rename : src/server/scripts/World/spell_generic.cpp => src/server/scripts/Spells/spell_generic.cpp
rename : src/server/scripts/World/spell_hunter.cpp => src/server/scripts/Spells/spell_hunter.cpp
rename : src/server/scripts/World/spell_mage.cpp => src/server/scripts/Spells/spell_mage.cpp
rename : src/server/scripts/World/spell_paladin.cpp => src/server/scripts/Spells/spell_paladin.cpp
rename : src/server/scripts/World/spell_priest.cpp => src/server/scripts/Spells/spell_priest.cpp
rename : src/server/scripts/World/spell_rogue.cpp => src/server/scripts/Spells/spell_rogue.cpp
rename : src/server/scripts/World/spell_shaman.cpp => src/server/scripts/Spells/spell_shaman.cpp
rename : src/server/scripts/World/spell_warlock.cpp => src/server/scripts/Spells/spell_warlock.cpp
rename : src/server/scripts/World/spell_warrior.cpp => src/server/scripts/Spells/spell_warrior.cpp
2010-07-26 15:40:08 -07:00