Spp
9e4357c9ad
Core: Fix more warnings
...
--HG--
branch : trunk
2010-08-24 14:44:56 +02: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
c3343638cb
Core: Remove lots warnings:
...
- All "'xxx' will be initialized after 'yyy' when initialized here"
- Some "unused variable"
- Some "enumeration value 'xxx' not handled in switch"
--HG--
branch : trunk
2010-08-21 20:08:47 +02:00
QAston
6714feb3ee
*Add script hooks for SpellScript class - now you can use BeforeHit, OnHit, AfterHit hook lists.
...
--HG--
branch : trunk
2010-08-21 20:18:54 +02:00
QAston
30bcf8c659
Scripts/Spell: extend SpellScript class: add target aura accessors and functions which prevent various effects of the spell from being executed. Check out SpellScript.h for details
...
--HG--
branch : trunk
2010-08-19 14:31:31 +02:00
azazel
66fcd52106
Add more methods to SpellScript.
...
Spells cleanup: move spells from the core to scripts.
* Shaman spells: 39610 Mana Tide Totem, 1535 Fire Nova (and ranks)
* Death Knight spells: 55090 Scourge Strike (and ranks), 49158 Corpse Explosion (and ranks), 50524 Runic Power Feed
* Druid spells: 54846 Glyph of Starfire
* Warlock spells: 6201 Create Healthstone (and ranks), 47422 Everlasting Affliction, 47193 Demonic Empowerment, 63521 Guarded by The Light
* Hunter spells: 37506 Scatter Shot, 53412 Invigoration, 53209 Chimera Shot
* Quest spells: 45449 Arcane Prisoner Rescue (quest 11587), 46023 The Ultrasonic Screwdriver (quest 11730). Closes issue #3068
Clean old code for hunter's Heart of the Phoenix, move script effect of hunter's Master's Call to corresponding script.
Move DK's Hungering Cold to spell_scripts table (needs DB support)
--HG--
branch : trunk
2010-08-18 00:20:23 +06: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
click
2b9275424e
Fix non-PCH build
...
--HG--
branch : trunk
2010-07-27 04:31:27 +02:00
QAston
fce1f5b014
*Extend API of SpellScript by Dest and Damage/Heal setters and getters.
...
*Make some SpellScript function names shorter.
--HG--
branch : trunk
2010-07-25 16:23:57 +02:00
QAston
7308c112bb
*Add some more comments to SpellScript methods
...
*Remove forgotten error log
--HG--
branch : trunk
2010-07-25 02:05:12 +02:00
QAston
cdd56dc2b6
*Really fix *nix build. Thanks to Visagalis for testing.
...
--HG--
branch : trunk
2010-07-25 00:36:32 +02:00
QAston
2352fc7cdf
*Add base scripting interfce for spells - thanks to Brian for help in making it compile with GCC.
...
*Add hook for handling spell effects in new scripting system.
--HG--
branch : trunk
2010-07-24 22:41:42 +02:00