Commit Graph

607 Commits

Author SHA1 Message Date
megamage
4e1143c990 *Fix a crash of vehicle.
--HG--
branch : trunk
2009-04-21 12:55:26 -05:00
megamage
fc7e1db9fb [7690] Move GetCreature/GetGameobject to class Map. Author: VladimirMangos
* This let get objects at map without reference to player or another object.
    * Simplify future implementation for per-map storage for like objects

--HG--
branch : trunk
2009-04-20 20:28:19 -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
QAston
cc5414f925 *Correct check range for totem area auras.
--HG--
branch : trunk
2009-04-20 16:48:35 +02:00
QAston
4ac0914d81 *Change totem cast handling, use owner guid as m_originalCaster by default.
*Check range for formal caster instead of original one

--HG--
branch : trunk
2009-04-20 14:23:00 +02:00
QAston
9ddd7cf660 Implement attribute flag SPELL_ATTR_EX2_TRIGGERED_CAN_TRIGGER, fix improved fire nova totem.
--HG--
branch : trunk
2009-04-20 12:38:35 +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
QAston
b190b51d4f *Missing part of last commit
--HG--
branch : trunk
2009-04-20 00:57:14 +02:00
QAston
9e5276fe16 *Fix healing amount of Earthliving.
*Fix a typo causing freeze-thanks to megamage

--HG--
branch : trunk
2009-04-20 00:23:32 +02:00
QAston
caf9b7d356 *Prevent crash in EffectDispelMechanic.
--HG--
branch : trunk
2009-04-19 22:21:40 +02:00
QAston
b1360dc1e8 *Remove stealth when unit gets hit
*Drop radius check for channeled auras, use range only.

--HG--
branch : trunk
2009-04-19 21:38:30 +02:00
megamage
e6868e73f1 *Always remove aura when charge becomes 0 in dropcharge.
--HG--
branch : trunk
2009-04-19 12:10:53 -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
QAston
73749e13fe *Send overkill messages to client.
--HG--
branch : trunk
2009-04-19 15:44:11 +02:00
QAston
568879e109 *Send overheal amount to client.
*Fix potion cooldowns.

--HG--
branch : trunk
2009-04-19 14:44:16 +02:00
megamage
7f8cf6c5fe *Update castcustomspell(). Allow change other spell values than basepoints.
--HG--
branch : trunk
2009-04-19 00:54:01 -05:00
QAston
c75e467513 * Turn proc flag on periodic heal spells back on.
* Fix Glyph of Rejuvenation.
* Fix a typo in bladestorm handling.
* Use Player's Crippling Poison for Deadly Brew instead of mob one to make it not stackable(dunno if it's correct)

--HG--
branch : trunk
2009-04-19 01:32:22 +02:00
QAston
8dc8babfb7 *Add coeficient for lifebloom final healing and temporary set amount of it to not increase while spell is stacked, proc improved mana shield with riptide.
--HG--
branch : trunk
2009-04-19 00:25:12 +02:00
QAston
08976f5c6e *Fix a typo in latest rev
--HG--
branch : trunk
2009-04-18 22:43:35 +02:00
megamage
db65f3c111 *Merge.
--HG--
branch : trunk
2009-04-18 11:05:35 -05:00
megamage
5d2968792f *Try to fix a crash by not allowing trap grid visit creating new grid.
--HG--
branch : trunk
2009-04-18 10:37:15 -05:00
QAston
c9290eac28 *Allow imp to learn Phase Shift
*Correct bonus damage for Unstable Affliction
*Correct some procflags.

--HG--
branch : trunk
rename : sql/updates/2685_world_spell_proc_event.sql => sql/updates/2774_world_spell_proc_event.sql
2009-04-18 17:32:04 +02:00
QAston
8af353f34a *Correct display of creatures teleported by spells.
--HG--
branch : trunk
2009-04-18 02:31:19 +02:00
megamage
8b7fb65c36 *Fix incorrect threat calculation of taunt spells.
--HG--
branch : trunk
2009-04-17 18:08:52 -05:00
megamage
c7d78b5ff9 *Some work on vehicles.
--HG--
branch : trunk
2009-04-17 15:08:58 -05:00
QAston
dca6d6bb01 *Use safer method to check if any auras were removed while aura update
--HG--
branch : trunk
2009-04-16 22:53:52 +02:00
QAston
00e64ac82b *Remove auras with interrupt flags by expire-this allows them to proc(and fixes master of subtlety/overkill)
--HG--
branch : trunk
2009-04-16 22:11:35 +02:00
megamage
e9272c9e84 *Fix a typo of the last commit.
--HG--
branch : trunk
2009-04-15 19:01:32 -05:00
megamage
479b312e60 *Fix a typo.
--HG--
branch : trunk
2009-04-15 18:26:59 -05:00
megamage
bf7b203e86 [7670] Revert "Not apply/remove passive auras on aura state change (not need)" Author: Lightguard
This reverts commit d5f6eefd1bb3c64797e54d19cc58ccc8c4cf8a4f.

    Some 3.0.x talents not work without this like 44441

--HG--
branch : trunk
2009-04-15 17:24:01 -05:00
QAston
441d042d5c *Set correct healing bonus for spells using coefficient.
*Always reapply aura mods as 'real' when adding aura to stack.
*Make blood frenzy expire when duration ends.
*Correct procflag for T.N.T once again.

--HG--
branch : trunk
rename : sql/updates/2685_world.sql => sql/updates/2702_world_spell_proc_event.sql
2009-04-15 20:34:52 +02:00
raczman
4fb720c7d1 Update to creature formations.
This is a big merge, it may cause problems. Use with caution, report bugs.

--HG--
branch : trunk
2009-04-15 15:46:02 +02:00
megamage
ceae9b8e0f [7668] Cleanup In CreatureAI function descriptions and AttackStart/AttackedBy use. Author: VladimirMangos
* Use AI::AttackStart calls only in case explicit request creature attack from core or AI code "attack it if can".
      Like taunt, pet handler attack command.
    * Use AI::AttackedBy for reaction at hostile action "do something at hostile action"
      Like non-dot damage, swing, negative spell landing, or fade fear/etc.
      And provided by default call AttackStart if no current target.

    This fix some problems, like:
    * Civilian will react propertly at attack by another creature (not pet or player).
    * Will not cases (at least triggred by core) when attack target start run to attacker before any real hostile action apply.

*Note: AttackBy is still disabled until proved useful to TC.

--HG--
branch : trunk
2009-04-14 21:07:52 -05:00
megamage
2af6eb9882 *Fix a crash caused by memory corruption introduced in 2665.
--HG--
branch : trunk
2009-04-14 15:39:33 -05:00
megamage
df35e1ad2b [7663] Cleanup spell interrupt code. Author: VladimirMangos
--HG--
branch : trunk
2009-04-13 17:36:37 -05:00
QAston
0583b4bd04 *Prevent item trade exploit - by Iskander.
*Do not set cooldown for triggered spells.
*Do not allow to kill unit twice.

--HG--
branch : trunk
2009-04-13 21:59:44 +02:00
QAston
f46d1b3b81 *Add some debug info to procflag
*Fix Sudden Death.

--HG--
branch : trunk
2009-04-13 20:50:52 +02:00
QAston
a13e6537e9 *Fix T.N.T proc chance
--HG--
branch : trunk
2009-04-13 18:56:29 +02:00
QAston
beab3e0125 *Fix some problems with ProcFlag
--HG--
branch : trunk
2009-04-13 15:52:59 +02:00
megamage
c1c5a707ff [7657] Implement function for access to gameobject owned by unit and created by some spell. Author: VladimirMangos
--HG--
branch : trunk
2009-04-12 17:41:46 -05: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
megamage
22529d80a4 *Fix build.
--HG--
branch : trunk
2009-04-11 15:34:31 -05:00
megamage
d697fbd158 *Merge.
--HG--
branch : trunk
2009-04-11 15:03:34 -05:00
megamage
3120221deb *Note: this patch may do not have any use for TC.
[7645] Fixed problems wit temporary unsummoned pets and cleanup code. Author: VladimirMangos

    * Save temporary unsummoned pet to current slot (instead non_in_slot mode) and
      prevent save as current pet summoned while temporay unsummon (arena)
    * Prevent overwrite temporary summoned pet data
    * At player loading set temporary unsummoned pet data instead pet loading
      if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc)
    * Restore proper pet at arena leave and unsummon in arena summoned.

--HG--
branch : trunk
2009-04-11 14:47:38 -05:00
megamage
9378a9cf21 *Add function GetPlayer and GetCreature for scripts. Please try to not use GetUnit in the future.
--HG--
branch : trunk
2009-04-11 13:42:34 -05:00
Rat
80e1a5faac *fix melee hit crit and add it to debuglog if disabled
--HG--
branch : trunk
2009-04-11 19:31:20 +02:00
QAston
2e0ffba0bc *Fix beacon of light.
*Fix a crash in Spell::CanAutoCast.

--HG--
branch : trunk
2009-04-11 18:58:34 +02:00
megamage
d1c2d98015 *Merge.
--HG--
branch : trunk
2009-04-10 18:01:15 -05:00