Commit Graph

97 Commits

Author SHA1 Message Date
megamage
a9f6f4481d *Do not allow client to interrupt instant spells. By thenecromancer
--HG--
branch : trunk
2009-04-30 09:59:16 -05:00
megamage
2649b4c44d *Do not make deep (ProcDamageAndSpellFor) static.
--HG--
branch : trunk
2009-04-20 15:54:51 -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
60736b1f7d *Fix visibility update bug of long-distance teleport.
--HG--
branch : trunk
2009-04-18 11:03:27 -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
QAston
7303f9db8b *Backport blood frenzy fix from TC2.
--HG--
branch : trunk
2009-03-22 17:10:01 +01:00
megamage
ce4c9cb2ae *Allow not to switch to charmed AI for some scripts.
--HG--
branch : trunk
2009-03-13 17:48:57 -06:00
megamage
7dd699c076 *Remove aura type by caster in some cases. New function RemoveAuraTypeByCaster.
--HG--
branch : trunk
2009-03-13 17:25:46 -06:00
megamage
1fbfc6da64 *Assign possessed AI and pet AI to charmed creatures.
--HG--
branch : trunk
2009-03-12 14:15:44 -06:00
megamage
8787c00ca3 *Disable charmed/possessed creature AI.
*Use general react states to replace charminfo react states.

--HG--
branch : trunk
2009-03-05 18:48:56 -06:00
megamage
ccde296fd3 *Fix some crash bugs.
--HG--
branch : trunk
2009-02-25 17:53:05 -06:00
megamage
34517a860f *More fix about move flag.
--HG--
branch : trunk
2009-02-23 13:14:04 -06:00
megamage
e425ba5837 *Send correct move flag to client.
--HG--
branch : trunk
2009-02-23 11:11:50 -06:00
megamage
89ba43ef3e *Merge.
--HG--
branch : trunk
2009-02-17 21:54:48 -06:00
megamage
be53cfe104 *Fix some bugs of map/grid. Hope this can fix some crashes (without introducing new crash)
--HG--
branch : trunk
2009-02-17 21:50:18 -06:00
KingPin
14234c86fa Newline added to bottom of all files.
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
bb75ff7b79 *Cleanup of charm/farsight code. Hope this can fix some crash bugs.
--HG--
branch : trunk
2009-02-15 17:33:36 -06:00
Paradox
d230302b16 Replace tabs with spaces in more files.
--HG--
branch : trunk
2009-02-09 08:16:34 -05:00
megamage
4d008f2043 Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
2009-02-04 10:33:18 -06:00
megamage
edbfb386ce *Do not check range weapon skills for paladin. This fix the bug that flying hammer miss too much.
--HG--
branch : trunk
2009-02-04 10:25:28 -06:00
megamage
9b927d1742 *Fix charge spells: do stun effect when caster arrive target.
*Some other fix about delayed spell calculation.

--HG--
branch : trunk
2009-01-30 19:00:09 -06:00
megamage
8fee06f041 *AI structure update.
--HG--
branch : trunk
2009-01-30 18:10:05 -06:00
megamage
d81d81b211 *Move SelectHostilTarget() to class Creature and return getVictim() directly.
*Fix the crash caused by mandokir script.

--HG--
branch : trunk
2009-01-21 14:17:29 -06:00
QAston
15403f0a8f *Fix bug with mindcontrol when aura interrupted on target is still on caster
*Fix bug with "stucked succubus"

--HG--
branch : trunk
2009-01-20 20:32:23 +01:00
megamage
d1f6472e2b *Fix a bug that pet attacks owner.
--HG--
branch : trunk
2009-01-19 20:08:32 -06:00
megamage
9f1409c557 *Fix a crash bug caused by motionmaster.
*Fix charge movement.

--HG--
branch : trunk
2009-01-17 17:46:28 -06:00
megamage
88fd745532 *Fix some bugs about movement.
--HG--
branch : trunk
2009-01-17 13:29:26 -06:00
Paradox
2d654fdc41 Fix cross faction interaction
--HG--
branch : trunk
2009-01-15 21:29:32 -05:00
megamage
cd4b875fd4 *Deal damage in power burn.
--HG--
branch : trunk
2009-01-09 09:15:05 -06:00
megamage
ea0421919a *Try to fix the bug of visibility update.
--HG--
branch : trunk
2009-01-08 22:12:09 -06:00
megamage
2377f49ea8 *Update charm and possess code.
--HG--
branch : trunk
2009-01-08 21:48:38 -06:00
megamage
73e4623119 *Calculate spell damage bonus when spell is casted rather than when spell hits target.
--HG--
branch : trunk
2009-01-04 10:42:53 -06:00
QAston
b8a721c9ab *Fix display of auras owned by out of range raid/party members.
--HG--
branch : trunk
2008-12-30 21:33:40 +01:00
QAston
231cb0f5a7 *Remove aura slot from update fields at aura remove.
--HG--
branch : trunk
2008-12-27 22:24:29 +01:00
megamage
184b82abcc Backed out changeset: ad4f100c0a9d
--HG--
branch : trunk
2008-12-24 11:18:01 -06:00
megamage
3cb4e7c716 *Update to Mangos 6938. (Only build for VC9)
--HG--
branch : trunk
2008-12-24 09:58:26 -06:00
megamage
afc598bde2 *Spell target selection update.
--HG--
branch : trunk
2008-12-23 20:01:05 -06:00
megamage
d1a83bcaf8 *Fix the bug that proc stun aura is applied on self.
--HG--
branch : trunk
2008-12-22 11:36:13 -06:00
megamage
5fd5da0123 *Do not allow player to reset instance when he is in instance.
*Fix build bug in the last commit.

--HG--
branch : trunk
2008-12-20 13:01:41 -06:00
megamage
d7c37e157a *Fix a bug that causes crash when player data is corrupted. By Rognar.
--HG--
branch : trunk
2008-12-19 22:46:18 -06:00
megamage
7c5a88fdf7 *Fix glancing damage calculation.
*Fix double threat spells: remove mind blast and earth shock, add frost shock.

--HG--
branch : trunk
2008-12-19 20:23:34 -06:00
megamage
ac5bf63acd *Fix misdirection.
--HG--
branch : trunk
2008-12-17 20:07:25 -06:00
megamage
5244d4986a *Update miss chance calculation.
--HG--
branch : trunk
2008-12-17 19:32:16 -06:00
megamage
29f92cbd90 *Fix the bug that swiftmend does not remove HOT buff.
--HG--
branch : trunk
2008-12-13 14:49:20 -06:00
megamage
98e122b153 *Fix swiftmend healing bonus. By mobel.
*Only remove one HOT but not all HOT when using swiftmend.

--HG--
branch : trunk
2008-12-13 10:12:22 -06:00
megamage
b6c288ca9f *Update to Mangos 6902. Source: Mangos.
*Skipped rev: rev 6893, some code about waypoint movement.

--HG--
branch : trunk
2008-12-12 11:21:28 -06:00
megamage
39083f4ff8 *Add function SummonTrigger and allow to override its AI.
*Remove some trigger scripts. Use default trigger AI and db data instead.
*Small fix on eagle boss' electrical storm.

--HG--
branch : trunk
2008-12-10 20:25:47 -06:00
megamage
bcb39b263d *Allow pets to cast devour magic on both friends and enemies.
--HG--
branch : trunk
2008-12-10 15:14:49 -06:00
megamage
b5d1418b0c *Allow unit has multiple controlling auras. (Fix the bug that unit cannot be feared if stunned. Hope this will not break all controlling spells)
--HG--
branch : trunk
2008-12-09 20:28:59 -06:00
megamage
069ca8746e *Add spell target type check in Unit::CastSpell. Allow CastSpell(Gameobject*) and CastSpell(NULL).
--HG--
branch : trunk
2008-12-08 18:56:01 -06:00