Commit Graph

1423 Commits

Author SHA1 Message Date
megamage
a72f23f56b *Some update of vehicle code.
--HG--
branch : trunk
2009-04-25 08:58:16 -05:00
megamage
d407325b77 [7709] Cleanups in AI()->AttackedBy use. Author: VladimirMangos
* Remove redundent AI()->AttackedBy call at melee cast in state update (called in cast)
    * Move attacks state update call after first attack instead after all extra attack state updates.

--HG--
branch : trunk
2009-04-24 11:51:44 -05:00
megamage
d4c15bb11a [7703] Implement heal/damage total counters and related BG achievments. Author: Trazom
* ACHIEVEMENT_CRITERIA_TYPE_DAMAGE_DONE
    * ACHIEVEMENT_CRITERIA_TYPE_HEALING_DONE

--HG--
branch : trunk
2009-04-23 22:07:37 -05:00
megamage
e991397971 [7702] Implement some damage/healing achievement statistics. Author: Trazom
* ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HIT_DEALT
    * ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HIT_RECEIVED
    * ACHIEVEMENT_CRITERIA_TYPE_TOTAL_DAMAGE_RECEIVED
    * ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HEAL_CASTED
    * ACHIEVEMENT_CRITERIA_TYPE_TOTAL_HEALING_RECEIVED
    * ACHIEVEMENT_CRITERIA_TYPE_HIGHEST_HEALING_RECEIVED

--HG--
branch : trunk
2009-04-23 22:07:04 -05:00
megamage
892053938e [7701] Move explicit healing repeating code to DealHeal functions. Author: Trazom
--HG--
branch : trunk
2009-04-23 22:02:41 -05:00
QAston
066af701d3 *Fix frenzy and Ferocious Inspiration proc.
*Add command .reset all pet_spells - use it if you still have problems with pet talents after recent revs changes (like pets with all talents for example)

--HG--
branch : trunk
2009-04-23 20:57:17 +02:00
megamage
bce871f253 *Fix a client crash caused by transport.
--HG--
branch : trunk
2009-04-23 00:12:29 -05:00
megamage
3b49bfb1ff [7697] Interrupt casting at enter to evade mode. Author: VladimirMangos
--HG--
branch : trunk
2009-04-22 17:58:46 -05:00
megamage
3a316370b1 [7696] Fixed compile warnings Author: AlexDereka
--HG--
branch : trunk
2009-04-22 17:56:59 -05:00
megamage
1cd8ea8c1a *Fix some bugs about vehicle.
--HG--
branch : trunk
2009-04-22 17:50:26 -05:00
megamage
06667c40dd *Fix some bugs about vehicle.
--HG--
branch : trunk
2009-04-21 15:43:03 -05:00
megamage
c25158f836 *Fix the bug that unit cannot enter vehicle.
--HG--
branch : trunk
2009-04-21 15:12:59 -05:00
megamage
e643d3994c *Fix the bug that some mount spells show two mounts, one on the other.
--HG--
branch : trunk
2009-04-21 14:20:00 -05:00
megamage
297498f1f7 *Fix the bug that all vehicles are broken.
--HG--
branch : trunk
2009-04-21 14:05:54 -05:00
megamage
4e1143c990 *Fix a crash of vehicle.
--HG--
branch : trunk
2009-04-21 12:55:26 -05:00
megamage
fc48248221 *Fix a typo in ProcDamageAndSpellFor. Note: in TC2 this function is handled in a better way, and do not need this.
--HG--
branch : trunk
2009-04-20 21:15:33 -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
megamage
2649b4c44d *Do not make deep (ProcDamageAndSpellFor) static.
--HG--
branch : trunk
2009-04-20 15:54:51 -05: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