Commit Graph
121 Commits
Author SHA1 Message Date
QAston 4a17224a65 *Creature eventAI cancast power check - by smellbee.
--HG--
branch : trunk
2009-07-23 18:32:32 +02:00
megamage 9c9c9f5078 [8089] Implement SPELL_EFFECT_CHARGE2(149), more correct monster flags use in charge effects. Author: VladimirMangos
Last fix let for example correct charge for flight creatures...

--HG--
branch : trunk
2009-07-01 17:36:34 -05: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 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
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
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
megamage 74e4f3f059 *Merge.
--HG--
branch : trunk
2009-06-15 23:38:57 -05:00
megamage 9055f25030 *Fix a bug that dark rider of dk quest cannot be attacked.
--HG--
branch : trunk
2009-06-15 12:12:22 -05:00
QAston 425863abd9 *Fix dead loop in proc system.
*Fix curse of doom.

--HG--
branch : trunk
2009-06-15 17:15:19 +02:00
megamage 314a4f8f00 [8008] Fixed SMSG_RAID_INSTANCE_MESSAGE opcode. Author: tomrus88
--HG--
branch : trunk
2009-06-14 10:06:41 -05: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
megamage 4e130dcdfd [7980] Implement item use target requirements store and check (new table item_required_target). Author: NoFantasy
Signed-off-by: VladimirMangos <[email protected]>

    * 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
Machiavelli 91e9b27449 * Fix bug that potions and other energize effects make client display twice as much of a gain, by nos4r2zod.
* Rename 'EffectEnergisePct' to 'EffectEnergizePct'

--HG--
branch : trunk
2009-06-08 21:19:34 +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
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
megamage c2588042e9 *Move some random generator functions to map class: functions in map/object/movementgenerator/spell
--HG--
branch : trunk
2009-05-25 12:05:23 -05:00
megamage 4ed847a6e3 *Implement spell effect wmo damage.
--HG--
branch : trunk
2009-05-21 10:01:03 -05:00
megamage 6f8dc61871 *Record target live state at filltarget and check live state at doeffect.
--HG--
branch : trunk
2009-05-20 12:58:38 -05:00
QAston 7c6757d7ee *Update proc system.
--HG--
branch : trunk
2009-05-17 18:00:33 +02:00
megamage a5df3c9e72 *Do not allow positive AOE affect totem.
--HG--
branch : trunk
2009-05-16 15:28:58 -05:00
megamage 047cc95388 *Add some distance check functions. By VladimirMangos.
--HG--
branch : trunk
2009-05-14 16:50:47 -05:00
megamage 904300b4c2 *Use better summon positions for summon spells with more than one summons. (Still a temp fix)
--HG--
branch : trunk
2009-05-10 22:47:03 -05:00
megamage b8e82a23a6 [7808] Move corpse search code in function with template arg for class-check. Author: Astellar
This let reuse code for other similar near corpse target selection spells.
    Also provided currently not used class-checks for 2 spells

--HG--
branch : trunk
2009-05-10 14:47:56 -05:00
megamage 979073cebd *Update some spell attr flag. Use better way to check IsRangedSpell and UnaffectedByInvulnerability
--HG--
branch : trunk
2009-05-08 00:49:02 -05:00
megamage 84fc76439c *Fix a crash caused by feedpet.
*Also have delay for jump spells.

--HG--
branch : trunk
2009-05-03 16:29:33 -05:00
megamage eeeae2e349 *Merge.
--HG--
branch : trunk
2009-05-02 19:45:55 -05:00
megamage 9fef44790f *Update spell selection.
--HG--
branch : trunk
2009-05-02 13:42:36 -05:00
megamage 9f0f239e60 *Merge.
*Also fix build in VC7 and VC8.

--HG--
branch : trunk
2009-05-02 13:30:55 -05:00
megamage f303ee08c5 *Update spell selection.
--HG--
branch : trunk
2009-05-02 11:28:11 -05:00
megamage 35aa361589 *Simplify function dospellhitontarget.
--HG--
branch : trunk
2009-04-30 16:19:35 -05:00
QAston 7897fc16f0 *Trigger spells after dealing damage by spell.
*Take ammo for autorepeat spells.

--HG--
branch : trunk
2009-04-29 18:05:39 +02:00
megamage 220dcb65dd *Allow custom spell to change radius mod.
--HG--
branch : trunk
2009-04-29 00:11:15 -05:00
megamage 34599a46f7 *Some update of summon effect code.
--HG--
branch : trunk
2009-04-27 18:12:45 -05:00
QAston a00563a127 *Fix deadly brew.
*Some changes in flag SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY.

--HG--
branch : trunk
2009-04-25 18:53:29 +02:00
megamage 0f57808238 *Fix build.
--HG--
branch : trunk
2009-04-22 18:02:41 -05:00
megamage 7b2443c1f9 [7699] Avoid implicit convertion enum constant value to 'uint32 const&' in templated code. Author: VladimirMangos
This triggering wrong code generation in release mode for VS2003/VS2005.

--HG--
branch : trunk
2009-04-22 18:01:35 -05:00
QAston 7139aa19d8 *Move unsummon statue and pet code to spell::finish
*Move m_formalCaster from Aura to AuraEffect
*Interrupt channeled spells in spell::update instead of unit::_deleteauras

--HG--
branch : trunk
2009-04-20 23:08:03 +02:00
megamage 68fd41d2c8 *Fix a bug that pet/charmed cannot AOE neutral creatures.
--HG--
branch : trunk
2009-04-19 19:45:54 -05:00
megamage 2a875fb5e0 [7686] Implement aura SPELL_AURA_ADD_CASTER_HIT_TRIGGER (111). Author: Lightguard
--HG--
branch : trunk
2009-04-19 11:42:16 -05:00
megamage 0c27856ee4 *Merge.
--HG--
branch : trunk
2009-04-19 11:10:07 -05:00
megamage 7f8cf6c5fe *Update castcustomspell(). Allow change other spell values than basepoints.
--HG--
branch : trunk
2009-04-19 00:54:01 -05:00
megamage 5629168dbb *Fix some spells with TARGET_FLAG_CASTER.
--HG--
branch : trunk
2009-04-18 10:46:30 -05:00
QAston 829b7a4536 *Fix power update after spellcast - by w12x
*Some cleanups in Player::UpdateManaRegen.

--HG--
branch : trunk
2009-04-14 17:22:35 +02:00
QAston b972327979 *Fix healing amount for Haunt
--HG--
branch : trunk
2009-04-13 19:51:37 +02:00
QAston 7409df2dc9 *Take combo points for delayed spells
*Fix a typo in spellsteal handling and a typo causing freeze while removing spellmods.

--HG--
branch : trunk
2009-04-12 13:12:08 +02:00
megamage dda2fdff33 *Implement spell Disengage and Death Grip.
--HG--
branch : trunk
2009-04-11 22:41:15 -05:00
QAston 20c02ef760 *Update of aura system.
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
megamage ebf53a4820 *Summon all creatures by summon properties.
--HG--
branch : trunk
2009-03-25 16:20:30 -06:00
megamage 8f627853df *More work on summon system.
--HG--
branch : trunk
2009-03-20 14:01:46 -06:00
megamage 5b73a59f15 *Set totem slot to 4 but total summon slot to 6.
*Fix build.

--HG--
branch : trunk
2009-03-19 15:45:22 -06:00