Shocker
4da71ac657
* Fix a crash in Culling of Stratholme
...
* Typo fix from previous rev
--HG--
branch : trunk
2010-08-25 03:53:43 +03:00
Shocker
d3c6edeb4a
Correct usage of basePoints in various locations
...
--HG--
branch : trunk
2010-08-25 03:21:22 +03: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
John Holiver
ad5c8cadf1
Fixes Mage T10 bonus. Thanks to Dr.Tenma. Close issue #3423
...
--HG--
branch : trunk
2010-08-23 13:26:25 -03:00
silinoron
5cbae843d5
Core/Game: fix all warnings related to converting doubles and floats.
...
--HG--
branch : trunk
2010-08-22 12:39:39 -07: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
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
XTZGZoReX
9083271a2f
* Some singleton renames for consistency:
...
accmgr -> AccountMgr
objmgr -> ObjectMgr
auctionmgr -> sAuctionMgr
spellmgr -> sSpellMgr
CreatureEAI_Mgr -> sEventAIMgr
achievementmgr -> sAchievementMgr
gameeventmgr -> sGameEventMgr
sInstanceSaveManager -> sInstanceSaveMgr
poolhandler -> sPoolMgr
--HG--
branch : trunk
2010-08-08 05:25:45 +02:00
QAston
bc8c74475e
*Fix a crash in Aura::UnregisterSingleTarget.
...
--HG--
branch : trunk
2010-08-04 20:03:33 +02:00
QAston
c5a9d3b463
*Add m_duringRemoveFromWorld lock to prevent adding single target auras during or after remove from world process.
...
--HG--
branch : trunk
2010-08-03 06:11:03 +02:00
QAston
18dd177308
*Search for aura caster in our out of world in Aura::UnregisterSingleTarget().
...
--HG--
branch : trunk
2010-08-02 18:05:07 +02:00
Xanadu
cf4d89990e
Don't save Call Stabled Pet aura on player save, since it is impossible to open the stable dialog when player is loaded.
...
--HG--
branch : trunk
2010-07-31 03:23:14 +02:00
QAston
48b360097c
*use ASSERT macro instead of regular assert for better output.
...
--HG--
branch : trunk
2010-07-30 20:04:28 +02:00
QAston
d666ba26c1
*Thread safe player searcher in scripts.
...
--HG--
branch : trunk
2010-07-30 15:51:07 +02:00
thenecromancer
a71d11149f
Make passive auras always visible when they've got some area effect.
...
--HG--
branch : trunk
2010-07-21 01:22:52 +02:00
QAston
974e120235
*Remove no longer needed check in Arcane Potency script - by A.Metaphysical.Drama.
...
--HG--
branch : trunk
2010-07-16 18:05:25 +02:00
QAston
d59cc55351
*Typofix
...
--HG--
branch : trunk
2010-07-14 17:09:30 +02:00
QAston
a43ec3f158
*Add SpellMgr::CalculateSpellEffectAmount function for consistency of effect amount calculations in core
...
*Remove SpellEntry::CalculateSimpleValue function and use the new cuntion instead
*Remove some workarounds made because of incorrect effect amount calculations
*Since now aura effect amount problems should be gone.
--HG--
branch : trunk
2010-07-14 16:57:13 +02:00
QAston
c783cacbe6
*Remove unsafe call of Aura::CheckTarget() which was causing aura list corruption on some units.
...
*Change the function name to Aura::CheckAreaTarget()
*Move some functions in SpellAuras.cpp to match order from SpellAuras.h
--HG--
branch : trunk
2010-07-13 21:41:21 +02:00
click
673c652ba6
change "IN_MILISECONDS" to proper english "IN_MILLISECONDS"
...
--HG--
branch : trunk
2010-07-12 00:30:17 +02:00
Shauren
2484df3918
Revert revision 4b8a7a570412 until properly fixed, caused auras to get stuck at client sometimes
...
--HG--
branch : trunk
2010-07-07 09:42:18 +02:00
Shauren
9ba91d50d0
Fixed sending aura remove packet at stack modification
...
--HG--
branch : trunk
2010-07-06 13:22:24 +02:00
click
c834a45ba5
Initialize m_flags after m_isNeedManyNegativeEffects, as m_isNeedManyNegativeEffects is used in _CheckPositive()
...
Thanks to ge0rg and his valgrind-running
--HG--
branch : trunk
2010-07-04 16:57:26 +02:00
Machiavelli
95ddfbd9e2
Remove some redundant explicit NULL checks for pointers before ´delete´ or ´delete[]´ calls since this check is done implicitly when deleting.
...
Also fixes a memory leak in .reload creature_template command
--HG--
branch : trunk
2010-06-21 23:20:58 +02:00
Tartalo
1c42795081
Backed out changeset 444ae3a9769f
...
Going to use a spell_linked_spell based better approach
--HG--
branch : trunk
2010-06-20 11:44:18 +02:00
Tartalo
77565846c6
Fix Spell 20066 (Paladin, Repeteance), by maxdestroyer
...
Now removes Righteous Vengeance
--HG--
branch : trunk
2010-06-20 06:05:16 +02:00
Tartalo
fb7dc51826
Fix spells 50811 & 61547 (Krystallus shatter), by microbius51
...
--HG--
branch : trunk
2010-06-19 23:51:33 +02:00
Machiavelli
7120513afe
Fix logic.
...
--HG--
branch : trunk
2010-06-07 20:12:14 +02:00
Machiavelli
f260a4d4ad
Attempt to trace down a crash issue related to Aura::__UnapplyForTarget
...
--HG--
branch : trunk
2010-06-07 09:06:17 +02:00
Rat
75b80d9f5b
rearranged core files
...
--HG--
branch : trunk
2010-06-05 23:40:08 +02:00