Commit Graph

286 Commits

Author SHA1 Message Date
krz
97e4a59a75 * Author of CastItemCombatSpell part was freeganja. Sorry for typo.
* Some cleanup

--HG--
branch : trunk
2009-06-23 04:59:28 +02:00
krz
738f3567ca * Missing part from previous commit.
* First DealDamage then call ProcDamageAndspell.
* Correctly trigger SPELL_EFFECT_ADD_EXTRA_ATTACKS from spells.
* Some changes for SPELL_EFFECT_ADD_EXTRA_ATTACKS to allow proc self if there is no hidden cooldown (for example 12815)

--HG--
branch : trunk
2009-06-23 04:52:39 +02:00
Iskander
a8d305c8c2 * fix of Spiritual Attunement
--HG--
branch : trunk
2009-06-20 21:53:59 +02:00
Muhaha
eab85d9d6e * Added LowerPlayerDamageReq function from TC2
* Akama is summoned after the illidari council has been deafeated. (remove your akama spawn from creature db)
* Dampen Magic timer
* Merging mother from TC2

--HG--
branch : trunk
2009-06-20 02:54:03 +02:00
raczman
19225e8880 Added basic support for multithreaded map updates using openmp standard.
Windows users need to install Platform SDK to use this feature,
linux users have everything they need in gcc.
Number of threads used to update world is set by confiuration file,
and can be changed dynamically without restarting core.
Thanks to megamage and Jeniczek for testing and helping out with this.

--HG--
branch : trunk
2009-06-15 09:07:51 +02:00
krz
4fd99adaa5 Fix Crusader Strike.
It will correctly refresh all judgements on target.

--HG--
branch : trunk
2009-06-11 22:35:48 +02:00
krz
c7c092f54b Calculate spell critical hit chance at spell cast instead spell hit. Patch by thenecromancer.
--HG--
branch : trunk
2009-06-07 19:10:01 +02:00
krz
a29847bf84 Fix for some combat log errors.
Only Vanish and Invisibility auras will now prevent from taking damage if target is not visible for caster.

--HG--
branch : trunk
2009-06-02 20:59:13 +02:00
krz
ae5f9ac227 Missing part from thenecromancer's weapon proc patch.
Some changes in ProcDamageAndSpellFor to allow triggered spells to trigger other for victim.

--HG--
branch : trunk
2009-05-31 01:43:36 +02:00
krz
78228818b7 Calculate mechanic resist chance for melee abilities.
--HG--
branch : trunk
2009-05-30 20:40:05 +02:00
tvaroh
a3a7996fd1 Do not remove poison enchantment auras when entering arena battle.
--HG--
branch : trunk
2009-05-30 18:27:08 +02:00
krz
861aad532b Don't unsummon pet while mounting in arena.
Disable pet's interface instead.

--HG--
branch : trunk
2009-05-29 04:52:03 +02:00
krz
2d69889a68 Do not allow Seed of Corruption to damage affected target and trigger from other SoC proc.
Original patch by freeganja

--HG--
branch : trunk
2009-05-29 00:07:38 +02:00
lukaasm
39dd09532b Calculate armor reduction only for attacks with SPELL_SCHOOL_MASK_NORMAL
--HG--
branch : trunk
2009-05-28 22:10:20 +02:00
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