Commit Graph

315 Commits

Author SHA1 Message Date
megamage
02003cc338 *Merge.
--HG--
branch : trunk
2009-04-15 17:20:54 -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
8e910aca6b *Merge.
--HG--
branch : trunk
2009-04-15 12:05:59 -05: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
QAston
b966e63f73 *Fix Fan of Knives.
--HG--
branch : trunk
2009-04-14 20:21:16 +02:00
QAston
7d2e5c31a8 *Fix Haunting Spirits.
--HG--
branch : trunk
2009-04-14 20:04:01 +02:00
QAston
6c44316d8e *Correct positivity of some spells
--HG--
branch : trunk
2009-04-14 19:09:08 +02:00
megamage
7b6548f2d1 *Make AuraEffect::Update virtual.
--HG--
branch : trunk
2009-04-13 18:21:48 -05:00
megamage
57b33b244f *Add Aura::m_tickNumber to handle some script spells.
--HG--
branch : trunk
2009-04-13 18:15:26 -05:00
megamage
df35e1ad2b [7663] Cleanup spell interrupt code. Author: VladimirMangos
--HG--
branch : trunk
2009-04-13 17:36:37 -05:00
megamage
cf37e7ca4c [7661] Fixed problem with not remove health regeneration from polymorph. Author: False.Genesis
Also fixed problem with remembering transform spell in case possible stacked negative and positive transforms.

--HG--
branch : trunk
2009-04-13 17:27:23 -05:00
QAston
f46d1b3b81 *Add some debug info to procflag
*Fix Sudden Death.

--HG--
branch : trunk
2009-04-13 20:50:52 +02:00
QAston
b972327979 *Fix healing amount for Haunt
--HG--
branch : trunk
2009-04-13 19:51:37 +02:00
QAston
cbc6269b47 *Some cleanup in aura range checks.
--HG--
branch : trunk
2009-04-13 14:15:48 +02:00
megamage
772e0eb722 *Try to fix the crash caused by aura update (only add two return after m_target->RemoveAura(this))
--HG--
branch : trunk
2009-04-12 17:25:12 -05:00
QAston
b2c3413806 *Fix a typo causing all auras to be on cooldown
--HG--
branch : trunk
2009-04-12 18:31:22 +02:00
QAston
cb5b56785f Try to fix some aura update related crashes.
--HG--
branch : trunk
2009-04-12 17:53:05 +02:00
QAston
fcbdb10122 *Fix cooldown set for Reincarnation
*Change some aura interrupt flags description to handle stealth breaking correctly.

--HG--
branch : trunk
2009-04-12 16:18:55 +02:00
QAston
b1b53addcc *Fix shadowflame
--HG--
branch : trunk
2009-04-12 10:35:28 +02:00
QAston
3e87799453 *Fix totemic call mana gain
*Fix chimera shot effect with viper sting
*Fix charges display
*Fix stealth applying while using vanish

--HG--
branch : trunk
2009-04-12 01:29:56 +02: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
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
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
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
QAston
0d9cd407b9 *Fix build with vcpp80.
*Set aura charges for Sudden Death.

--HG--
branch : trunk
2009-04-09 11:13:45 +02:00
QAston
bf7499d1ce *Fix Sudden Death.
--HG--
branch : trunk
2009-04-08 23:20:06 +02:00
megamage
74d553bc4c *Merge.
--HG--
branch : trunk
2009-04-08 12:28:41 -05:00
QAston
fc7d2a5393 *Save only auras which need to be saved-this also removes error spam for duplicate entries.
--HG--
branch : trunk
2009-04-08 18:32:48 +02:00
QAston
26b856a513 *Change way of aura removing-make it safer.
--HG--
branch : trunk
2009-04-07 20:27:34 +02:00
QAston
9b908e4014 *Make amount of auras be more correct.
--HG--
branch : trunk
2009-04-08 00:55:43 +02:00
QAston
ebc7176678 *Fix auras amount after relog
--HG--
branch : trunk
2009-04-08 00:07:32 +02:00
QAston
017c838fd4 *More crashfixes
--HG--
branch : trunk
2009-04-07 22:00:32 +02:00
XTZGZoReX
cc2a089a9d * Trailing whitespace removed.
--HG--
branch : trunk
2009-04-06 21:14:51 +02:00
QAston
5e565cd777 * Fix some freezes.
* Fix freeze in HandleModMechanicImmunity- thanks for megamage for pointing this.

--HG--
branch : trunk
2009-04-07 20:09:15 +02:00
QAston
3ef20629df *Some crashfixes.
--HG--
branch : trunk
2009-04-07 18:05:56 +02:00
megamage
e00106db55 *Always delink spell and container when spell is cancelled.
--HG--
branch : trunk
2009-04-05 17:31:12 -05:00
QAston
6375f8fc8c *Set aura remove by expire only for expired auras
--HG--
branch : trunk
2009-04-06 23:27:13 +02:00
QAston
bf8877342d *Allow auras to be removed during other auras update.
--HG--
branch : trunk
2009-04-06 22:03:05 +02:00
QAston
e5bbb4d20b *Fix compile.
--HG--
branch : trunk
2009-04-06 18:27:30 +02:00
QAston
fa1df5bac3 *Fix crash and area aura remove.
--HG--
branch : trunk
2009-04-06 18:19:05 +02:00
QAston
c6c084cc45 *Fix area auras
--HG--
branch : trunk
2009-04-06 17:07:58 +02:00
QAston
9f9b4ce876 *SQL and testing for last commit is by Drahy-sorry for forgotting to mention it.
--HG--
branch : trunk
2009-04-06 13:46:52 +02:00
QAston
20c02ef760 *Update of aura system.
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
raczman
574a9bb88e Fixed typo.
--HG--
branch : trunk
2009-04-04 23:35:03 +02:00
raczman
85df8e0582 Fixed work of warrior talent 12296.
- Proper tick in 3 sec
- Replace amount calculation hack by more proved formula.
- Ignore in combat state.
Author: domingo

--HG--
branch : trunk
2009-04-04 23:32:03 +02:00
megamage
e53521d228 *Merge.
--HG--
branch : trunk
2009-04-04 13:11:03 -06:00
megamage
b922da4db1 [7611] Prevent casting owner spell/use item or gameobject by mind controlled player or creature. Author: VladimirMangos
This also prevent some crashes in like wrong case.
[7610] skipped.

--HG--
branch : trunk
2009-04-03 16:42:19 -06:00
megamage
dd2a8443d5 *Also call combatstart when applying areaaura/persistant aura
--HG--
branch : trunk
2009-04-02 22:23:51 -06:00
megamage
943d0c6e2d [7597] Fixed crash at stealing single target auras (54648 for example) Author: arrai
--HG--
branch : trunk
2009-04-02 16:44:18 -06:00