Commit Graph
960 Commits
Author SHA1 Message Date
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
Shauren ade1bbdd62 Remade access_requirement table, now each difficulty mode for each instance has its own entry (for future Dungeon Finder development)
Added completed achievement as new requirement type
Removed obsolete access_id from areatrigger_teleport table
Implemented automatic downscaling of raid difficulty when requested mode does not exist
Changed dungeon_difficulty in characters table to instance_mode_mask saving both dungeon and raid difficulty in form (dungeon diff | raid diff << 4)

--HG--
branch : trunk
2010-07-29 18:11:41 +02:00
Shauren 0fbb3af7a3 Typo fix for previous revision
--HG--
branch : trunk
2010-07-28 13:00:30 +02:00
Shauren 045bf5163b Fixed spellpower coef for Lifebloom final heal
--HG--
branch : trunk
2010-07-28 12:57:00 +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
QAston e232c0e235 *Cleanup in ObjectAccessor - this should fix some crashes
--HG--
branch : trunk
2010-07-28 00:08:21 +02:00
Shauren 51400a4e15 Moved few dummy spell handlers to database
--HG--
branch : trunk
2010-07-27 19:32:21 +02:00
click 2b9275424e Fix non-PCH build
--HG--
branch : trunk
2010-07-27 04:31:27 +02:00
silinoron 297b7aac1b Move SPELLFAMILY_MAGE dummy effect handlers to spell scripts.
--HG--
branch : trunk
2010-07-26 19:05:20 -07:00
QAston fb1727abb1 *Make Potent Pheromones dispel auras for which it provides immunity.
*Remove not needed attribute modification for Light's Beacon.

--HG--
branch : trunk
2010-07-27 02:36:27 +02:00
QAston dd8d6701b8 *Implement RepRewardRate for spells.
--HG--
branch : trunk
2010-07-27 02:25:22 +02:00
QAston 8e7f30eb61 *Add debug log to trac reason of a crash in Spell::DoAllEffectOnTarget.
--HG--
branch : trunk
2010-07-26 22:57:25 +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 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