Commit Graph
196 Commits
Author SHA1 Message Date
QAston 66d8255625 *Set angle of cone based targets to 90 degrees - by akadabeer.
--HG--
branch : trunk
2010-07-26 16:27:34 +02:00
QAston 7b87ab4de7 *Add more Player::CanUseAttackType checks in places where item bonuses are applied.
--HG--
branch : trunk
2010-07-26 16:08:55 +02:00
Shauren f3e97bfaae Fixed ticking of periodic auras when m_periodicTimer for some reason became negative
--HG--
branch : trunk
2010-07-26 14:27:22 +02:00
click 33e079489b Set flag for offhand melee spells to allow proper triggering of weapon-specific effects (fix by Lynx3d)
--HG--
branch : trunk
2010-07-25 17:06:12 +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
Shauren 32ceff1267 Modified spell_scripts table, it is now possible to add different scripts for each spell effect
Allow SPELL_EFFECT_DUMMY spells to use spell_scripts

--HG--
branch : trunk
2010-07-24 21:51:25 +02:00
click 8c76ea2f7c Ensure that Scatter Shot does not share diminishing returns with other spells
Closes issue 3013

--HG--
branch : trunk
2010-07-24 07:19:59 +02:00
click 8df1dba022 Fix: Do not ignore CD for Hunter-based triggered spells (and thanks to QAston for the spell-lesson)
Fixes 1155

--HG--
branch : trunk
2010-07-24 05:12:36 +02:00
Shauren 903a3cbe76 Shaman totem models are now different depending on race
--HG--
branch : trunk
2010-07-22 17:31:27 +02:00
Shauren a23f4a0f45 sigh, i did the same compile error mistake
--HG--
branch : trunk
2010-07-22 13:02:47 +02:00
Shauren f03d5a874b Add proper check to EffectQuestComplete preventing completion of quest if we already did that
--HG--
branch : trunk
2010-07-22 13:01:33 +02:00
QAston 34b75bca95 *Backout second change from last commit (CanCompleteQuest check) Thanks to Shauren for info.
--HG--
branch : trunk
2010-07-22 12:56:32 +02:00
QAston 002e6e1029 *Remove not needed dummy effect handler for spell 28006 - by azazel_kon
*Add CanCompleteQuest in Spell::EffectQuestComplete - thanks to azazel_kon for research.
*Fixes issue #3011

--HG--
branch : trunk
2010-07-22 12:48:11 +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
QAston 543bba9949 *Implement SPELL_AURA_OPEN_STABLE(292) - original patch by Ceris, modified by VladimirMangos
*Improvements in error messaging for stable related opcodes - by VladimirMangos

--HG--
branch : trunk
2010-07-22 03:12:28 +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
QAston dd89c54c6e *Move target handling of TARGET_DEST_CASTER_FRONT_LEAP out of SPELL_EFFECT_LEAP handler, this fixes spells with SPELL_EFFECT_LEAP using other target types.
--HG--
branch : trunk
2010-07-21 02:06:51 +02:00
click e4a008ca75 Branch merge
--HG--
branch : trunk
2010-07-21 01:35:57 +02:00
thenecromancer a94afe82ca Small improvement in spell mechanic check (do not include effect mechanic in mask when there's no associated effect)
Fixes issue #63

--HG--
branch : trunk
2010-07-21 01:30:25 +02:00
click 4484b75b8f Fix: Warlock Drain Soul effect - use correct spell for soulshard creation (fix by manisamja, thanks ogeraisi for testing)
Closes issue 1931

--HG--
branch : trunk
2010-07-21 01:28:39 +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
thenecromancer c9860e3b9f Some spells with special proc state, some talents like it
--HG--
branch : trunk
2010-07-21 01:15:27 +02:00
QAston c0f9ef6059 *Implement SPELL_EFFECT_CREATE_TAMED_PET(153).
--HG--
branch : trunk
2010-07-20 22:55:28 +02:00
QAston a7c52864b4 *Implement SPELL_EFFECT_DISCOVER_TAXI(154).
--HG--
branch : trunk
2010-07-20 18:27:18 +02:00
QAston b59b21fa69 *Implement SPELL_EFFECT_QUEST_START (150).
--HG--
branch : trunk
2010-07-20 16:11:49 +02:00
Xanadu 37c79360b4 Moved SpellEffects.cpp where it belongs.
--HG--
branch : trunk
rename : src/server/game/Spells/Auras/SpellEffects.cpp => src/server/game/Spells/SpellEffects.cpp
2010-07-20 05:21:15 +02:00
QAston 6d54f02bb4 *Implement SPELL_EFFECT_REMOVE_AURA(164)
*Rename SPELL_EFFECT_KNOCK_BACK_2 to SPELL_EFFECT_KNOCK_BACK_DEST

--HG--
branch : trunk
2010-07-20 04:29:17 +02:00
QAston f906976837 *Remove assertion from packet handler. Assertions should not be put in such places because we can't trust clients nor network.
*Do not allow to charm mounted units.

--HG--
branch : trunk
2010-07-20 01:42:14 +02:00
QAston b5f7ac86ea *Implement SPELL_EFFECT_FORCE_CAST_WITH_VALUE(141).
--HG--
branch : trunk
2010-07-19 22:52:21 +02:00
QAston 7eaaa06375 *Rename SPELL_EFFECT_JUMP2 to SPELL_EFFECT_JUMP_DEST, split the handler of effect from SPELL_EFFECT_JUMP handler
--HG--
branch : trunk
2010-07-19 21:24:09 +02:00
QAston b1fab8caaf *Correct typo in CastSpeedSlow spellgroup - by tassader1000, thanks azazel_kon for sql
*Fix a compile typo in prev commit.

--HG--
branch : trunk
2010-07-19 19:28:54 +02:00
QAston e1e16310ec *Rename SPELL_EFFECT_CHARGE_2 to SPELL_EFFECT_CHARGE_DEST, fix its implementation.
--HG--
branch : trunk
2010-07-19 19:22:05 +02:00
click 84c6fa001c Allow HOT/DOT-stacking for spells with PERIODIC_DUMMY spellauras (QAston working as a teacher)
Closes issue 2645

--HG--
branch : trunk
2010-07-19 13:57:28 +02:00
QAston 9c9bc32d09 *Add missing 295 aura effect handler lost somewhere in 33x repo merge to handler table - this fixes crash with access to 316 aura and binds correct handler to aura 305.
--HG--
branch : trunk
2010-07-17 00:48:31 +02:00
QAston 0ed0b1f7f5 *Fix for Six demon Bag - patch by pxlcreations and antihrists.
--HG--
branch : trunk
2010-07-16 18:37:43 +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 d005e14faf *Update spell_proc_event entry for Everlastin Affliction - by francesco.buldo.
*Manually add corruption to list of spells affected by Everlasting Affliction.

--HG--
branch : trunk
2010-07-16 17:25:14 +02:00
QAston a7b7073cc5 *Item - Coliseum 25 Heroic Caster Trinket - patch by microbius51
--HG--
branch : trunk
2010-07-16 15:48:31 +02:00
QAston 7e8c61c95a *Remove hack for Divine Storm from Unit::DealDamage
*"Zip" some data in SpellMgr::LoadSpellCustomAttr
*Add MaxAffectedTargets for Divine storm heal effect
*Move Divine Storm to correct spellfamily switch-case block in Spell::EffectDummy
*Some ordering fixes of case blocks in Spell::EffectDummy

--HG--
branch : trunk
2010-07-16 14:42:24 +02:00
QAston b406321c01 *Prevent possible problems with application of negative auras with 0 duration, now only spell hits which were diminished are immuned.
*Remove old code of SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE forgotten in c84e55b632.

--HG--
branch : trunk
2010-07-16 14:23:03 +02:00
QAston 719f13874e *Rename SPELL_AURA_RANGED_AP_ATTACKER_CREATURES_BONUS to SPELL_AURA_MOD_CREATURE_AOE_DAMAGE_AVOIDANCE, and reimplement that aura type.
*Some more research about new aura types.

--HG--
branch : trunk
2010-07-16 13:20:50 +02:00
QAston 5ca1748326 *Implement aura type SPELL_AURA_SHARE_DAMAGE_PCT(300), somewhat based on patch by joshwhedon
*Add some guess comments about unknown aura types

--HG--
branch : trunk
2010-07-16 01:08:06 +02:00
QAston 0252202504 *Correctly set basepoints of Learn spells - patch by Toni.Shocker.
*Make sure that Spell::m_currentBasePoints are used correctly in any other place of the code.

--HG--
branch : trunk
2010-07-15 23:20:41 +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
Shauren 6385a48b45 Fixed base points for Heart of the Wild however this does not fix its incorrect amount as the issue is somewhere else
Add forgotten Stances and StancesNot fields to data insert in world sql

--HG--
branch : trunk
2010-07-14 09:51:18 +02:00