click
d5fbd223c6
Core: Fix non-PCH build
2011-08-21 17:07:32 +02:00
QAston
fc5e924138
Core/Spells: Implement recently discovered target check attributes and move most of target checks to SpellInfo::CheckTarget function.
2011-08-19 14:54:15 +02:00
Spp
1c882084f3
Core: Cosmetic changes in Threat related code (per request) and remove of extra call to SpellMgr singleton inside that singleton
2011-08-04 13:16:09 +02:00
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
QAston
72ea9c9fa8
Core/Spells: Add a base for brand new proc system, this is a WIP and doesn't affect currently working code.
2011-07-10 13:13:02 +02:00
Spp-
f0c28cb398
Cosmetic: Define PetAuraMap
2011-07-06 13:28:59 +02:00
Spp-
e3729950b9
Core: Rename GetDispellMask to GetDispelMask
2011-07-06 13:21:39 +02:00
QAston
3963d6eeb2
Typo in enum name, thanks Nayd for pointing this
2011-07-04 23:26:36 +02:00
QAston
0bc23239d8
Core/Spells: Remove some incorrect spell attribute checks and add custom attributes instead - it's better to know that there is no attribute for something than to pretend there's one and do ridiculous checks.
2011-07-04 23:14:20 +02:00
QAston
faaba1aa65
Core/Auras: Improvements in spell_linked_spell table handling, now auras with using this table have linked stack amount, also linked aura removal is called now when aura is removed on target death.
2011-06-26 19:31:11 +02:00
QAston
ac88fa026f
Database/Spells: Add spell_proc table which is a replacement for spell_proc_event table. This is the initial patch from series of patches changing the way we currently handle procs in the core, and doesn't interfere with existing code in any way.
2011-06-26 13:54:44 +02:00
QAston
3137a82c7c
Core/Spells: Cleanup in Spell.h:
...
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters
- Move IsQuestTameSpell function to SpellMgr.h
- Move UnitList typedef to Unit.h
Additionally - add missing copyright notice to SpellAuraEffects.h
2011-06-23 13:28:52 +02:00
Lopin
0d2c8f7a96
Core/Spells: Conservator's Grip is now marked as a debuff, Fists of Stone as a buff. Also small coding-style change around
2011-06-17 12:00:11 +02:00
click
158966dc79
Core: Codestyle cleanup
2011-06-11 22:35:29 +02:00
QAston
3c93cccdb1
Core/Auras: Prevent assertion fail due code in AuraEffect::HandleAuraLinked, also improve the sync between auras linked by this aura type.
2011-05-29 15:49:32 +02:00
Shauren
63f7a6d3d9
Core/Spells: Use SpellDifficulty.dbc to check casterAuraSpell, excludeCasterAuraSpell, targetAuraSpell and excludeTargetAuraSpell
...
Scripts/Icecrown Citadel: Fixed Mutated Abomination not being able to eat ooze on heroic mode
Scripts/Icecrown Citadel: Removed some obsolete code
Closes #523 , #1447
2011-05-17 13:17:42 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
leak
6d1924cee8
Removing SQLStorage class leftovers
2011-04-28 23:03:02 +02:00
Shauren
8898db8b27
Core: Corrected NULL usage, it should only be used with pointers, not integers
2011-04-23 15:53:48 +02:00
Shauren
64caf2cdf2
Core/Spells: Add default handler for apply aura spell effect when both ImplicitTargets are 0, removed unused structure
2011-04-09 19:57:32 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Shauren
9710c41a40
More warning fixes
2011-03-08 19:11:02 +01:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Shauren
52620db629
Core/Auras: Fixed enchant proc stack rules
...
Closes issue #5222 .
--HG--
branch : trunk
2010-12-27 22:27:11 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Shauren
0948fc5bbe
Core: Converted (hopefully) all remaining singletons to use ACE_Singleton class
...
--HG--
branch : trunk
2010-12-22 20:52:47 +01:00
Shauren
5809c1fa3b
Core/Auras: Fixed auras incorrectly stacking with different item casters introduced in r19f21916a940
...
Closes issue #5218 .
--HG--
branch : trunk
2010-12-21 11:40:20 +01:00
linencloth
59da698189
Core: Rename spell attributes, use more general names
...
--HG--
branch : trunk
2010-12-19 05:15:47 +01:00
click
2642894342
Core: Add new system for parallelizing client packet processing. Handle WorldSession updates in Map::Update() where we are safe to proceed. Patch by Ambal.
...
(And clean up tabs and whitespace while rummaging around in there)
Closes issue 5084.
--HG--
branch : trunk
2010-12-13 22:37:56 +01:00
QAston
7db1b39224
Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific sollution for the problem.
...
--HG--
branch : trunk
2010-12-05 20:43:09 +01:00
Machiavelli
b9fb7554c5
Core/Disables: Add flags SPELL_DISABLE_MAP and SPELL_DISABLE_AREA for sourceType DISABLE_TYPE_SPELL.
...
This will allow you to disable spells on certain maps/areas. Note that you must have at least flag SPELL_DISABLE_PLAYER or SPELL_DISABLE_CREATURE or SPELL_DISABLE_PET set too, as they take preference.
The parameters for mapIds and areaIds are defined in new columns params_0 and params_1 respectively, in a comma-seperated string.
Example:
INSERT INTO disables VALUES(0, 8921, (1+16+32), "571,1", "1519", "Moonfire Example");
This will disable spell moonfire for players in maps 571,1 and area 1519.
--HG--
branch : trunk
2010-12-04 18:29:14 +01:00
Shauren
4e0735196e
Core/Spells: Spell id being cast by player can now be changed depending on map difficulty
...
--HG--
branch : trunk
2010-12-01 14:12:08 +01: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
QAston
e5e53498ce
Core/Spells:
...
- Add more descriptive enumerator of procflags - now clearly pointing out that proc flags are dependant to the spell dmg class of the spells causing procs.
- Define and implement PROC_FLAG_DONE_MAINHAND_ATTACK.
--HG--
branch : trunk
2010-10-08 19:17:49 +02:00
click
613b81f36f
REALLY fix the CRLF-crap...
...
--HG--
branch : trunk
2010-10-07 15:54:07 +02:00
click
8ea4b32fab
Update copyright headers (following the same standard in all files = good)
...
--HG--
branch : trunk
2010-10-07 12:41:56 +02:00
Shocker
78803c9f09
Magic numbers cleanup:
...
- Replace many magic numbers with constants
- Use enum for vehicle flags/seat flags
- Correct structure for ItemRandomSuffixEntry
--HG--
branch : trunk
2010-09-28 08:21:51 +03:00
QAston
a8de57559b
*Allow channeled spells to be casted on dead target
...
*Define relted spell attributes
--HG--
branch : trunk
2010-08-30 17:32:51 +02:00
QAston
91233b9ba8
*Fix size of SMSG_SPELLHEALLOG and build (rage!!!)
...
--HG--
branch : trunk
2010-08-27 21:07:33 +02:00
QAston
30d31ca40a
*Fix usage of EffectValueMultiplier in spell code.
...
*Remove some obsolete code from spell class.
*Rename some spellmod and dbc column names to be more accurate.
--HG--
branch : trunk
2010-08-26 19:07:55 +02:00
QAston
2ffe785765
Core/Spells: add SPELL_ATTR_CU_IGNORE_ARMOR to the avalible custom attribute list, make some spells use the attribute. Research made with JohnHoliver and Shauren
...
--HG--
branch : trunk
2010-08-18 19:26:07 +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
d5e33bf4ba
*Use spell_ranks table in spell scripts to not duplicate data.
...
--HG--
branch : trunk
2010-08-01 03:23:14 +02:00
QAston
c44b601ac7
*Allow some spell effects to target units not in caster's map - fixes SPELL_EFFECT_SUMMON_PLAYER
...
--HG--
branch : trunk
2010-07-29 19:48:40 +02:00
QAston
fc4087cd98
*Resurrection sickness and similar debuffs are no longer dispelable.
...
--HG--
branch : trunk
2010-07-26 19:27:28 +02:00
QAston
13a2a1afc6
*Fix amount calculation for spell effect with EffectDieSides set to 0.
...
--HG--
branch : trunk
2010-07-22 12:21:11 +02:00
Shauren
14b6a68857
Added new spell disable flag - core will not check if that spell exists in dbc, used for blizz deprecated items/quests
...
Fixed loading of access_requirement
--HG--
branch : trunk
2010-07-21 15:17:29 +02:00
Shauren
6a539270ec
Added global disable system and moved all disable fields/tables/configs into it
...
NOTE: instance disables were not converted for new system! if you had some then you need to fix that using new system
--HG--
branch : trunk
2010-07-21 12:14:23 +02:00