Commit Graph

272 Commits

Author SHA1 Message Date
thenecromancer
d7740fcd17 Correctly interpret SPELL_AURA_MOD_COMBAT_CHANCE DBC values
as % modificators instead of flat values.

--HG--
branch : trunk
2009-05-20 22:59:22 +02:00
thenecromancer
6ebfe2f580 Correct behavior of Add Extra Attact spelleffect.
Correctly send attack gain in spell log.
Attack right after processing effect
Ignore effect if target not in melee range/angle

--HG--
branch : trunk
2009-05-20 22:39:52 +02:00
krz
cc85d9e1c4 Properly check if triggering spell can stack with player's aura.
That should fix e.g. water shield.

--HG--
branch : trunk
2009-05-17 12:03:54 +02:00
raczman
10ee81ef13 Moved most randomisation functions usage from static version into Map object.
--HG--
branch : trunk
2009-05-16 10:50:39 +02:00
krz
ee40287ef7 Do not allow to proc spells if they can't stack with already active auras.
this fixes 13048 and 12292.

--HG--
branch : trunk
2009-05-14 14:35:09 +02:00
Muhaha
62c5720227 * avoid loot/exp when the mobs are killed by npc. Authore: KAPATEJIb @ getmangos.org
--HG--
branch : trunk
2009-05-13 10:34:55 +02:00
QAston
51b5f2aa64 *Allow Hots to proc-this should fix talents like 33776 effect from hots.
--HG--
branch : trunk
2009-05-11 23:46:45 +02:00
QAston
53b3c9a6dc *Fix trap radius calculation in some cases-by krz
--HG--
branch : trunk
2009-05-10 19:21:39 +02:00
QAston
fcf0fdc1c1 *Item enchancment/proc patch - original code by Thenecromancer
--HG--
branch : trunk
2009-05-10 18:06:22 +02:00
megamage
54c514eee5 *Backport a crash fix from TC2. Fix a crash caused by stealing single target aura. Source: Mangos.
--HG--
branch : trunk
2009-05-06 10:02:40 -05:00
Anubisss
0373704851 *Fix Healing Way stack counting in Healing Wave's script.
--HG--
branch : trunk
2009-05-04 20:21:14 +02:00
megamage
f303ee08c5 *Update spell selection.
--HG--
branch : trunk
2009-05-02 11:28:11 -05:00
megamage
a102098eb2 *Send stop packet iff necessary. Hope this can fix the bug that cannot immediatly remove confuse movement and face wrong direction after charging.
--HG--
branch : trunk
2009-05-01 21:04:02 -05:00
megamage
5a66774008 *Fix the bug that shapeshift can remove blind.
--HG--
branch : trunk
2009-05-01 15:36:32 -05:00
megamage
eb9328e4db *Fix the calculation of isInLine.
--HG--
branch : trunk
2009-04-30 16:13:57 -05:00
megamage
a9f6f4481d *Do not allow client to interrupt instant spells. By thenecromancer
--HG--
branch : trunk
2009-04-30 09:59:16 -05:00
megamage
98cda77146 *Cleanup InterruptNonMeleeSpells. Backported from TC2. Source: Mangos.
--HG--
branch : trunk
2009-04-29 18:10:00 -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
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
8b7fb65c36 *Fix incorrect threat calculation of taunt spells.
--HG--
branch : trunk
2009-04-17 18:08:52 -05: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
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
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
megamage
c88b194e0a *Do not allow boss to be dazed by other creatures.
--HG--
branch : trunk
2009-04-09 18:48:57 -05:00
megamage
add9a820d2 *Fix a typo that causes crash.
--HG--
branch : trunk
2009-04-08 18:56:03 -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
raczman
5fb720d117 Crashfix. <3 QAston, you damn beast.
--HG--
branch : trunk
2009-04-05 12:11:28 +02:00
raczman
607741569c Fix build.
--HG--
branch : trunk
2009-04-05 10:31:28 +02:00
megamage
9a03bb1e5f *Backport some contents from TC2.
--HG--
branch : trunk
2009-04-04 20:31:29 -06:00
megamage
f2e88cae51 *Fix some visibility bug.
--HG--
branch : trunk
2009-04-02 20:27:10 -06:00
megamage
dd5faef024 *Do not interrupt channel when persistent aura is removed.
--HG--
branch : trunk
2009-03-26 20:32:28 -06:00
megamage
b95f1a2ff4 *Fix broken single spell immune.
--HG--
branch : trunk
2009-03-26 11:18:43 -06:00
megamage
581ae2719d *Do not allow to add/remove obj to/from world more than once.
--HG--
branch : trunk
2009-03-25 15:54:23 -06:00
megamage
fe08615d17 *Try to fix a crash bug.
--HG--
branch : trunk
2009-03-24 22:25:22 -06:00
QAston
7303f9db8b *Backport blood frenzy fix from TC2.
--HG--
branch : trunk
2009-03-22 17:10:01 +01:00
megamage
abe53c5cb6 *Fix a bug that mobs do not return home after wipe.
--HG--
branch : trunk
2009-03-15 10:50:10 -06:00
megamage
a2d1130804 *Fix a crash.
First set m_currentSpells to NULL, then cancel spells.

--HG--
branch : trunk
2009-03-14 20:54:08 -06:00
megamage
e82dd549b8 *Fix a typo that causes crash.
--HG--
branch : trunk
2009-03-14 09:01:55 -06: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
146b2560aa *Call stopmoving in moveidle.
--HG--
branch : trunk
2009-03-13 14:42:57 -06:00
megamage
1fbfc6da64 *Assign possessed AI and pet AI to charmed creatures.
--HG--
branch : trunk
2009-03-12 14:15:44 -06:00
QAston
234a4d9707 Fix crash.
--HG--
branch : trunk
2009-03-10 23:20:01 +01:00
QAston
fdbcfc548d *Another crashfix.
--HG--
branch : trunk
2009-03-10 20:30:43 +01:00
QAston
78407665b7 *Fix crash.
*Fix charge mod apply on auras.

--HG--
branch : trunk
2009-03-10 18:21:57 +01:00
QAston
8ba090d0b4 *Fix mounts.
--HG--
branch : trunk
2009-03-10 17:11:10 +01:00
QAston
19af8f62ad *Fix a typo.
--HG--
branch : trunk
2009-03-10 00:47:59 +01:00
QAston
1fe1d6c094 Update stacking code.
--HG--
branch : trunk
2009-03-10 00:34:03 +01:00