Commit Graph

538 Commits

Author SHA1 Message Date
QAston 7a4d99cc90 *Fix 'crazy procs' issue and shadowstep remove on stealth.
--HG--
branch : trunk
2009-07-02 14:13:30 +02:00
megamage 255d21b52b [8088] Fixed min_range checking for spell casts. Author: ApoC
Skip in check values 0.0f from DBC, this spells
    do not have min range limitation.

    This should fix some inappropriate target too close messages.

--HG--
branch : trunk
2009-07-01 17:34:09 -05:00
megamage 177297973a *Fix a crash caused by charm spells.
--HG--
branch : trunk
2009-07-01 17:30:01 -05:00
QAston fd86e6a369 *Fix possible exploits with flying paths.
--HG--
branch : trunk
2009-07-01 16:18:37 +02:00
QAston 55a4458009 *Fix a typo causing problems with triggered spell procing.
*More correct damage calculation for conflagrate - by tlexii

--HG--
branch : trunk
2009-06-30 15:45:47 +02:00
QAston 6faa99e009 *Correct typo in spellid check for Corpse Explosion.
--HG--
branch : trunk
2009-06-30 13:58:39 +02:00
QAston 24efcabdd9 Remove cooldown of spells triggered on stance change - this fixes shadowform dot crit.
--HG--
branch : trunk
2009-06-30 13:51:53 +02:00
QAston 8609527066 *Fix the issue of water elemental GCD preventing freeze to be casted - by Larva
*Correct a typo in prev commit.

--HG--
branch : trunk
2009-06-29 20:50:38 +02:00
QAston 4067989096 *Implement aura rank selection for aoe auras casted by player
*More correct level requirement checks for unit target
*Fix some visual issues with spells which are interrupted after SendSpellStart but before SendSpellGo
*Prevent adding spellmods permamently to already finished spells.

--HG--
branch : trunk
2009-06-29 20:32:56 +02:00
QAston 3909fb7f83 *Correct damage of Faerie Fire (feral)
*Trigger passive aura for shadowform.

--HG--
branch : trunk
2009-06-28 14:21:35 +02:00
megamage cf9c437d8e [8082] Update Diminishing Returns. Author: Lightguard
--HG--
branch : trunk
2009-06-27 18:24:40 -05:00
QAston 122edd64fe *Do not allow triggered spells to remove stealth.
--HG--
branch : trunk
2009-06-27 17:43:00 +02:00
QAston e7e79ff8a4 *Merge.
--HG--
branch : trunk
2009-06-27 16:37:29 +02:00
QAston da3569402d *Merge tc1 1591 - 1599, skip 1596
--HG--
branch : trunk
2009-06-27 15:51:36 +02:00
QAston 63a936b0b7 *Fix exorcism target check and crit chance calculation
*Do not apply spelldmg bonuses to conflagrate multiple times.

--HG--
branch : trunk
2009-06-26 17:16:32 +02:00
QAston 70379983c3 *Implement aura type SPELL_AURA_ABILITY_PERIODIC_CRIT (286).
--HG--
branch : trunk
2009-06-25 17:55:19 +02:00
krz e92f3cf01f Fix damage backlash from Shadow Word: Death and ranks
--HG--
branch : trunk
2009-06-25 03:11:10 +02:00
QAston 33b2917bb7 *Fix Ferocious Bite energy to dmg conversion
*Remove duplicated AP coefficients for Hammer of Wrath and Avengers Shield
*Correctly do effectaddcombopoints for spells which take them.
*Do not proc spelleffects on player login.

--HG--
branch : trunk
2009-06-24 15:58:44 +02:00
krz 13110a35c4 Do not check cooldown for triggered spells (triggered spells shouldn't trigger if they have cooldown)
--HG--
branch : trunk
2009-06-24 12:53:22 +02:00
QAston f558a785fc [8069] Fixed copy/paste mistake in achievement error output. Author: Saeba
[8070] Restore spell casting loot items and recipes.

* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without
template replace spells like clam loot spells)
  Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with
  itemtype==0

Note: required DB support in `spell_loot_termplate` Author: VladimirMangos

--HG--
branch : trunk
2009-06-23 14:44:16 +02:00
krz dd52461d40 * Allow spells to trigger ItemCombatSpells if spell is melee/ranged damage based. Original patch by freegajnja
* Tabs to spaces.

--HG--
branch : trunk
2009-06-23 04:47:46 +02:00
QAston e6d20d57de *Fix Death Pact and Corpse Explosion - original patch by Astellar, thanks for help in conversion for Azrael.
--HG--
branch : trunk
2009-06-22 23:30:17 +02:00
megamage e0553121f2 *Merge
--HG--
branch : trunk
2009-06-18 20:26:49 -05:00
megamage 4f0ae79036 [8041] Avoid send talent info many times at loading. Small cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-06-18 17:06:59 -05:00
QAston 30d0b2ed5f *Fix raise dead spell - original patch by Astellar, thanks for some help in conversion for Azrael
*Correctly apply spell cooldown for spells with cooldown starting after pet unsummon.

--HG--
branch : trunk
2009-06-18 14:17:11 +02:00
megamage a2f10c496f [8030] Fixed spell 64901 work and related target selection code refactoring. Author: VladimirMangos
* Replace 64904 by 64901 in spellbook and action bars.
    * Implement proper max mana percent buff
    * Implement proper target selection.
    * Move group/raid targets seelction code to functions for reuse code.

--HG--
branch : trunk
2009-06-17 18:35:40 -05:00
krz 0d8a66de8c Fix disappearing casting bar when other spell triggers.
--HG--
branch : trunk
2009-06-17 00:50:11 +02:00
QAston b2745bd33c *Merge
--HG--
branch : trunk
2009-06-16 16:35:12 +02:00
megamage 74e4f3f059 *Merge.
--HG--
branch : trunk
2009-06-15 23:38:57 -05:00
megamage cc527c884e *Merge.
--HG--
branch : trunk
2009-06-15 23:35:55 -05:00
megamage 89e20ff999 *Fix build.
--HG--
branch : trunk
2009-06-15 12:34:28 -05:00
megamage b9610f27dd *Check movementflag to interrupt casting instead of checking position.
*Also some other fixes about movement flags.

--HG--
branch : trunk
2009-06-15 12:02:55 -05:00
megamage d861941477 *Remove some redundent code in spell.cpp
--HG--
branch : trunk
2009-06-14 21:06:45 -05:00
QAston e81175ec11 *Fix Hungering Cold.
--HG--
branch : trunk
rename : sql/updates/3997_world_spell_proc_event.sql => sql/updates/4000_world_spell_proc_event.sql
2009-06-15 01:10:09 +02:00
QAston 54eb0096fd *Fix Icy Talons and their improved version.
--HG--
branch : trunk
2009-06-14 23:01:16 +02:00
QAston e7910ec9d2 *Correct interpretation of procflags and update spell_proc_event due to that (some of mangos entries may be incompatibile due to that change)
*Fix siphon life.
*Fix Rapture.

--HG--
branch : trunk
2009-06-14 17:56:22 +02:00
megamage e192d8f39b *Some work on vehicle.
--HG--
branch : trunk
2009-06-14 09:57:57 -05:00
megamage 4aa530e48f *Move some aura-proc-when-reaching-stacks cases to Unit::AddAura
--HG--
branch : trunk
2009-06-13 13:28:41 -05:00
QAston 87fdc76117 *Fix a typo which caused Flame shock to be not consumed by lava burst.
--HG--
branch : trunk
2009-06-12 11:09:04 +02:00
megamage e6badd83fc [7992] added additionally check for SPELL_EFFECT_OPEN_LOCK Author: arrai
Every gameobject which may be a target of such a spelleffect
    has to have a lockid. Prior to this commit it was possible to
    exploit SPELL_EFFECT_OPEN_LOCK spells and despawn abitrary GOs

--HG--
branch : trunk
2009-06-11 19:47:58 -05:00
QAston 9278014f4d *Redefine attribute flag NO_INITIAL_AGGRO to make Mind Soothe and Soothe animal work
*Fix Glyph of Shadow Word: Death.

--HG--
branch : trunk
2009-06-12 00:02:16 +02:00
megamage e82ae5f8df *Fix spell 16007.
--HG--
branch : trunk
2009-06-11 11:35:31 -05:00
megamage 9d670fe6f5 *Switch to support client version 3.1.3
*I strongly recommend you not to use this until you get the 313 db. Now all destructible buildings cause client crash.

Source: Mangos
Thanks to TOM_RUS for most work to make this switch possible ;)

--HG--
branch : trunk
2009-06-11 00:45:59 -05:00
QAston da067afe12 *Fix Improved Spell Reflection
*Fix Glyph of Improved Scorch
*Sword And Board
*Fix Glyph of Devastate - original patch by CRAZyBUg

--HG--
branch : trunk
2009-06-10 23:44:30 +02:00
megamage 375641398a [7983] Make static Spell::SendCastResult accessable from script DLL. Author: VladimirMangos
--HG--
branch : trunk
2009-06-10 14:37:30 -05:00
QAston 926747b57e *Fix the bug that Sacred Shield doesn't increase Flash of Light critical chance.
--HG--
branch : trunk
2009-06-10 17:51:26 +02:00
QAston 507b9fb051 *Fix Heart of the Pheonix
*Fix autoshoot rotation with steady shot.
*Make Incanter's Absorption not interrupt other casts.

--HG--
branch : trunk
2009-06-09 19:33:38 +02:00
megamage 4e130dcdfd [7980] Implement item use target requirements store and check (new table item_required_target). Author: NoFantasy
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

    * Also implement this table reload
    * Static Spell::SendCastResult function for call not from spell code.
      Can be also used in scripts where need send explicitly spell cast error to client.

--HG--
branch : trunk
2009-06-08 17:25:02 -05:00
QAston 06aa0a94d4 *Fix improved sprint.
--HG--
branch : trunk
2009-06-08 21:08:27 +02:00
krz c7c092f54b Calculate spell critical hit chance at spell cast instead spell hit. Patch by thenecromancer.
--HG--
branch : trunk
2009-06-07 19:10:01 +02:00