Commit Graph

561 Commits

Author SHA1 Message Date
QAston
288fe6ef21 *Restore correct drop of charges after EventAi cancast fix.
--HG--
branch : trunk
2009-07-28 14:53:08 +02:00
QAston
40b9fc57ed *Do not allow to cast corpse explosion twice on one corpse - by thenecromancer.
--HG--
branch : trunk
2009-07-27 19:08:26 +02:00
QAston
1630842f03 *Spell_bonus_data for Shattering throw and Hand of Reckogning
*Do not check SPELL_ATTR_EX_CANT_TARGET_SELF for triggered spells

--HG--
branch : trunk
2009-07-27 11:07:15 +02:00
QAston
4a17224a65 *Creature eventAI cancast power check - by smellbee.
--HG--
branch : trunk
2009-07-23 18:32:32 +02:00
QAston
91c309387a *Implement attribute flag SPELL_ATTR_EX_CANT_TARGET_SELF.
--HG--
branch : trunk
2009-07-18 18:44:16 +02:00
megamage
e152ff8ec5 [8183] Some gameobject despanw related fixes Author: VladimirMangos
* Implement use `consumable` field in gameobject template for gameobject required explcit despawn at use.
    * Move gameobject template fields cech function from Gameobject to gameobject template class, and update callers.
    * Cast spells at gameobject use with gameobject guid as original caster guid, as already used in some other cases. (skipped)

--HG--
branch : trunk
2009-07-16 12:06:07 +08:00
megamage
208087ff6e [8182] Store and use Map* pointer in WorldObject instead map ids for speedup Author: Ambal
Also some code logic cleanups.
    Changes let make more cleanups in base map access and other places,
    but this chnages not inlcuded in patch.

*This patch may cause crash.

--HG--
branch : trunk
2009-07-16 11:49:00 +08:00
QAston
87ca52c2a9 *Do not allow spells having damage to break root casted by the spell.
*Typohunt: wand skill gain, Improved spell reflection aura drop from party.

--HG--
branch : trunk
2009-07-14 18:31:59 +02:00
QAston
2f5befd26a *Move target selection check for Death Coil to Spell::CheckCast - by Astellar
--HG--
branch : trunk
2009-07-14 13:26:28 +02:00
QAston
310f15e546 *Make charge-like spells with talented warbringer correctly remove movement impairing auras.
*Fix Revitalize.
*Use MaxHp of target instead of base hp for CC auras amount.

--HG--
branch : trunk
2009-07-13 21:27:05 +02:00
QAston
aee2b18160 *Set pvp flag for spells with SPELL_ATTR_EX3_NO_INITIAL_AGGRO if needed.
--HG--
branch : trunk
2009-07-13 15:38:48 +02:00
megamage
bd02855bb6 *Try to fix a crash caused by charm spells. Do not allow to apply charm aura on invalid target.
--HG--
branch : trunk
2009-07-12 17:34:37 +08:00
QAston
84644b7644 *Some improvements in procflags:
-handle proc_flag_death
 -allow trap selection in spell proc event entry for proc_flag_on_trap
*Add spell_proc_event entry for Lock and Load - by Bengan
*Add spell_proc_event entry for Improved Spell Reflection.

--HG--
branch : trunk
2009-07-11 20:06:02 +02:00
Kudlaty
a15748df60 Rewrite script for quest 12680
Add support for spells 52267 and 52264
Thanks to Drethek for patch

--HG--
branch : trunk
2009-07-11 02:03:20 +02:00
megamage
9d77c5736d [8131] Some anti-cheating server side checks. Author: Lightguard
* Loot in ghost state
    * Apply duplicate glyphs.

--HG--
branch : trunk
2009-07-10 08:34:28 +08:00
QAston
f829ee0dc0 *Correct target requirement for eyes of the beast and add some crash preventing checks to charm code.
--HG--
branch : trunk
2009-07-08 22:26:46 +02:00
thenecromancer
e208f8750d *fix some addons tracking autoshot cooldown
--HG--
branch : trunk
2009-07-08 14:34:15 +02:00
QAston
68b58c1433 *Implement attribute flag SPELL_ATTR_EX3_DISABLE_PROC - this fixes double proc of seal auras
*Add Judgement Anti-Parry/Dodge Passive spell for paladins.

--HG--
branch : trunk
2009-07-08 13:00:08 +02:00
QAston
f28810576d *Fix the bug that freezing trap has not diminished duration.
--HG--
branch : trunk
2009-07-08 00:16:51 +02:00
QAston
69f013db89 *Fix Improved Aspect of the Hawk.
--HG--
branch : trunk
2009-07-07 21:02:21 +02:00
QAston
6e3b4b5a4f *Do not apply fear diminishings for creatures.
*Remove obsolete code for blood fury - by maxdestroyer.

--HG--
branch : trunk
2009-07-07 16:40:44 +02:00
QAston
67f8ec608c *Allow dest target spells to proc spellcast.
*Allow source target spells to be triggered during spellproc if no unit target avalible.

--HG--
branch : trunk
2009-07-05 16:58:42 +02:00
QAston
3225eb9648 *Redefine procflags:
PROC_FLAG_SUCCESSFUL_POSITIVE_MAGIC_SPELL = 0x00004000
PROC_FLAG_TAKEN_POSITIVE_MAGIC_SPELL      = 0x00008000
PROC_FLAG_SUCCESSFUL_NEGATIVE_MAGIC_SPELL = 0x00010000
PROC_FLAG_TAKEN_NEGATIVE_MAGIC_SPELL      = 0x00020000
*Add procEx flag:
PROC_EX_NOT_ACTIVE_SPELL    = 0x0008000 for spells which proc on spells not doing damage and not specified by familyflags.

--HG--
branch : trunk
2009-07-02 21:32:19 +02:00
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