Commit Graph

512 Commits

Author SHA1 Message Date
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
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
krz 5e87f3144c Fix crash in Aura::Update.
Check if target has Invisibility or Stealth aura before checking IsVisibleForOrDetect to allow cast spells on invisible triggers and fix pet linked spells.
Send correct message to client if target is not visible for caster.
Sorry for my previous buging commits.

--HG--
branch : trunk
2009-06-07 19:06:51 +02:00
megamage 3f81e97ff5 *Remove a tc1 sql.
--HG--
branch : trunk
2009-06-07 11:59:50 -05:00
megamage 79b76f10cd *Merge. A m_casttime check is added to prevent redundent check of canseeordetect.
--HG--
branch : trunk
2009-06-07 11:59:12 -05:00
megamage 18f50212b0 *Fix a crash in spell::cast
--HG--
branch : trunk
2009-06-07 11:49:50 -05:00
megamage c48c20cb98 *Merge. Note: A better way is needed for Sanctuary effect. (interrupt all spells towards self).
--HG--
branch : trunk
2009-06-07 11:36:41 -05:00
QAston 90ef7277b5 *Do not allow judgements to proc seals.
--HG--
branch : trunk
2009-06-07 10:49:50 +02:00
megamage ebfb4c0558 [7971] Implement support exotic pets limtations related to hunter telent 53270. Author: VladimirMangos
Note: before this commit hunters can tame exotic pets like any other.
          After patch like not propertly contriolled pets will auto-dismiss at loading
          if talent not learned.

--HG--
branch : trunk
2009-06-06 20:31:23 -05:00
krz 2e4fae75a4 Fix the bug that players couldn't talk with Spirit Healer
--HG--
branch : trunk
2009-06-07 02:02:00 +02:00
QAston 39548d6822 *Update spellmod system
*Implement SPELL_ATTR_EX6_IGNORE_CASTER_AURAS
*Fix some bugs with traps proc flags

--HG--
branch : trunk
2009-06-06 08:27:36 +02:00
krz 65598fe233 Backported from TC2: allow Water Elemental to cast Freeze while casting Water Bolt
--HG--
branch : trunk
2009-06-05 02:02:50 +02:00
krz 85b68d886a Send interrupt message at spell cast end if target is not visible for caster.
--HG--
branch : trunk
2009-06-05 01:21:11 +02:00
megamage 65881812aa *Allow water elemental to cast freeze while casting water bolt.
--HG--
branch : trunk
2009-06-03 23:23:58 -05:00
megamage c70e6a003e *Use setcharmedby and removecharmedby in enter/exit vehicle functions.
*Fix build.

--HG--
branch : trunk
2009-06-03 13:51:05 -05:00
krz a29847bf84 Fix for some combat log errors.
Only Vanish and Invisibility auras will now prevent from taking damage if target is not visible for caster.

--HG--
branch : trunk
2009-06-02 20:59:13 +02:00
megamage 2c350bcb80 *Merge.
--HG--
branch : trunk
2009-06-01 15:53:03 -05:00
megamage 30544055de *Merge.
--HG--
branch : trunk
2009-06-01 15:26:44 -05:00
megamage 9ff8f1ab5e *Fix broken target 38 spells.
--HG--
branch : trunk
2009-06-01 12:42:50 -05:00
krz 7a06136a74 Do not allow to reflect AoE spells.
--HG--
branch : trunk
2009-06-01 15:10:45 +02:00
megamage f979c23820 *Fix the bug that healing pvp target does not make players enter pvp.
--HG--
branch : trunk
2009-05-31 18:31:43 -05:00
megamage 5ed5513ca8 Mangos [7911]. Author: tomrus88
Very big patch. May cause bugs.

--HG--
branch : trunk
2009-05-31 15:56:51 -05:00
krz ae5f9ac227 Missing part from thenecromancer's weapon proc patch.
Some changes in ProcDamageAndSpellFor to allow triggered spells to trigger other for victim.

--HG--
branch : trunk
2009-05-31 01:43:36 +02:00
megamage 89f4c1c444 *Add function FindNearestCreature and FindNearestGameObject to replace old FindCreature and FindGameObject
--HG--
branch : trunk
2009-05-29 16:49:28 -05:00
Paradox 3a223e0e80 Fix CRLF... please be sure to check your win32text settings, including cleverencode/cleverdecode settings before pushing to the repo
--HG--
branch : trunk
2009-05-29 08:32:59 -04:00
krz 2d69889a68 Do not allow Seed of Corruption to damage affected target and trigger from other SoC proc.
Original patch by freeganja

--HG--
branch : trunk
2009-05-29 00:07:38 +02:00
thenecromancer bc55209b3e Restore used spell mods if spell cast fails.
--HG--
branch : trunk
2009-05-28 23:05:52 +02:00
megamage 38f4a60beb *Correct some aura interrupt flags
--HG--
branch : trunk
2009-05-26 16:00:19 -05:00