Commit Graph

579 Commits

Author SHA1 Message Date
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
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
QAston
7f5a9de703 *Make maim be breakable by damage
*Fix a typo causing freeze

--HG--
branch : trunk
2009-04-11 00:27:30 +02:00
QAston
05dcc56288 *Add forgotten line to Unit::Update
--HG--
branch : trunk
2009-04-11 00:05:45 +02:00
QAston
8f3a1ec546 * Fix consume shadows.
* Change handling of bladestorm and auras with similar immunity to it.

--HG--
branch : trunk
2009-04-10 23:44:37 +02:00
Rat
1e61dffc89 *added creature extra flag No Crit (CREATURE_FLAG_EXTRA_NO_CRIT)
*added function to disable reputation gained from monsters
*tabs2spaces in affected files

--HG--
branch : trunk
2009-04-10 18:11:09 +02:00
QAston
5cd251088f *Apply spellhaste mod only for magic spells with spellfamily.
--HG--
branch : trunk
2009-04-10 14:50:36 +02:00
QAston
9ba44b7eb8 *Make shattered barrier and prayer of mending work again, Refresh aura when recasted on target with full stackamount.
--HG--
branch : trunk
2009-04-10 14:35:17 +02:00
megamage
c88b194e0a *Do not allow boss to be dazed by other creatures.
--HG--
branch : trunk
2009-04-09 18:48:57 -05:00
QAston
e0e39f26b4 *Take charges for Finger of Frost and Sudden Death correctly.
*Clearcasting for Arcane Potency - From KAPATEJIb's cumulative patch package

--HG--
branch : trunk
2009-04-09 23:15:56 +02:00
megamage
102e37daca *Change some assert to better debug.
--HG--
branch : trunk
2009-04-09 13:48:36 -05:00
megamage
5a71d93bd2 *Update vehicle code.
*Show correct visual effects to other players.
*Do not allow attack players on vehicle.
*Only dismiss vehicle when it is summoned.

--HG--
branch : trunk
2009-04-09 13:39:23 -05:00
QAston
ba4e54f2f7 *Allow to use ice block while affected by CC and fix compile warning.
--HG--
branch : trunk
2009-04-09 18:49:48 +02:00
QAston
2b9d09255e *Fix bladestorm.
--HG--
branch : trunk
2009-04-09 18:24:01 +02:00
megamage
031fe61a53 *Fix a crash when a player with a charmed target removes the pet.
--HG--
branch : trunk
2009-04-08 23:05:17 -05:00
megamage
9079c18f06 *Merge.
--HG--
branch : trunk
2009-04-08 19:00:54 -05:00
megamage
add9a820d2 *Fix a typo that causes crash.
--HG--
branch : trunk
2009-04-08 18:56:03 -05:00
megamage
e3272f2b0a *Merge.
--HG--
branch : trunk
2009-04-08 17:34:01 -05:00
megamage
a7e04a252f *Add unit to notify when unit is add to world (including load grid case).
*Add some check in remove object function.

--HG--
branch : trunk
2009-04-08 17:23:57 -05:00
megamage
e88aa95846 Removed some outdated comments Author: tomrus88
--HG--
branch : trunk
2009-04-08 16:37:35 -05:00
megamage
70d0ca7f31 [7635] Spell hit chance cap change to 100% in 3.0.x Author: Tassader
--HG--
branch : trunk
2009-04-08 16:35:37 -05:00
megamage
5f3947b62a [7629] Update paladin talent 25988 work to 3.0.x Author: Lightguard
--HG--
branch : trunk
2009-04-08 16:27:30 -05:00
QAston
bf7499d1ce *Fix Sudden Death.
--HG--
branch : trunk
2009-04-08 23:20:06 +02:00
QAston
b3e71cfd64 *Calculate proc chance for aura, instead auraeffect
--HG--
branch : trunk
2009-04-08 21:18:52 +02:00
megamage
ce9211a5bc *Fix build.
--HG--
branch : trunk
2009-04-08 13:37:11 -05:00
QAston
d94a23e61a *Fix a typo causing freeze in RemoveSpellbyDamageTaken
--HG--
branch : trunk
2009-04-08 15:57:56 +02:00
QAston
6cd7985fe8 *Fix ressurecting while in bg.
*Fix imp leader of the pack.
*Fix fishing.

--HG--
branch : trunk
2009-04-08 15:51:23 +02:00
megamage
fe7a8e1bc9 *Fix a dead loop in aura update. Sorry. Thanks to QAston for pointing out the mistake.
--HG--
branch : trunk
2009-04-07 15:34:17 -05:00
QAston
741b51cc47 *Merge
--HG--
branch : trunk
2009-04-07 20:40:00 +02:00
QAston
26b856a513 *Change way of aura removing-make it safer.
--HG--
branch : trunk
2009-04-07 20:27:34 +02:00