Commit graph

480 commits

Author SHA1 Message Date
DiSlord
9d431700c3 [6946] Use blizzlike formula for armor reduction damage
Implement use CR_ARMOR_PENETRATION rating

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-26 00:45:33 +03:00
DiSlord
d22d08d6b2 Add all missing generic family spell to HandleProcTriggerSpell
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 19:34:33 +03:00
DiSlord
5c71f2b705 Cleanup unused spell in HandleProcTriggerSpell
Add all new scripted triggers to HandleProcTriggerSpell

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 02:51:56 +03:00
DiSlord
92c7edffe0 Fix send opcode (for 303)
Update to 303 master

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-23 19:56:08 +03:00
DiSlord
bae58eb069 Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-23 18:03:21 +03:00
Wyk3d
ed4efc317c [6928] Corrected the handling of evade and threat for creature summoned pets. Should fix some of the setVisibility crashes. 2008-12-22 12:48:19 +03:00
DiSlord
ba868910e2 [6921] Fixed level depend spell damage calculation (limit it to spell base - max level)
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-22 12:46:53 +03:00
DiSlord
061e73492e Use MiscB as stat for SPELL_AURA_MOD_SPELL_DAMAGE_OF_STAT_PERCENT
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 23:33:35 +03:00
DiSlord
5f4d5533e7 Some check, comments in HandleDummyAuraProc
Added new spell ranks for some shaman talent

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 04:19:46 +03:00
DiSlord
3604f3fa1f Fixed last comit comments, names 2008-12-17 00:41:07 +03:00
DiSlord
668c3d4b4c * Better implement 202 SPELL_AURA_IGNORE_COMBAT_RESULT based on SpellClassMask
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 23:25:27 +03:00
DiSlord
a33a7f67f7 * Implement 246 SPELL_AURA_MOD_DURATION_OF_EFFECTS_BY_DISPEL
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-16 22:43:18 +03:00
tomrus88
71b1065c8b Merge branch 'master' into 303
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/Chat.h
	src/game/Player.h
	src/game/World.h
	src/game/debugcmds.cpp
2008-12-16 07:30:23 +03:00
ApoC
a5331ab517 [6910] Implemented rewritten arenas. Original author w12x@getmangos.com
Many thanks also to:
  Balrok@github.com for long time updating.
  Triply@github.com for great work in rewriting process.
  All who I forget to name.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:17:24 +01:00
DiSlord
7c8d69e2b0 * Fix some warlock talent work
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-12 01:36:28 +03:00
DiSlord
6c02f00a93 Merge branch 'master' of git@github.com:mangos/mangos.git into procflag 2008-12-12 01:34:09 +03:00
VladimirMangos
3da9f3f4cc [6889] Backport some not client version specific changes and fixes from 303 branch. 2008-12-09 14:08:29 +03:00
VladimirMangos
52da5abf4d [6879] Not apply casting time spell bonuses mods to creature (non-pets) casted spells with 0 cast time. 2008-12-09 00:28:28 +03:00
DiSlord
1ff2b7fc8b [6876] * Not drop charge for 1120 and ranks (fix SPELL_AURA_CHANNEL_DEATH_ITEM aura work) 2008-12-09 00:28:26 +03:00
DiSlord
c78b5644c7 [6874] * Not remove spell mods for not finished spells
* Ignore self miss in drop combopoints (problems vs 5171 and ranks still exist)
* Allow cast spell on immune if spell can removeit by dispell
2008-12-09 00:28:25 +03:00
DiSlord
9b842b6fdc Work under spell mods
* Add support > 64 bit spellFamily mask
    * Remove not used fields in SpellModifier
    * Remove not used (and not correct work vs charges) GetTotalFlatMods, GetTotalPctMods
    * Use DBC based data for spell_affect
    * More better work SPELL_AURA_ADD_TARGET_TRIGGER aura

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-08 23:22:39 +03:00
VladimirMangos
43f713f660 [6879] Not apply casting time spell bonuses mods to creature (non-pets) casted spells with 0 cast time. 2008-12-06 08:05:53 +03:00
DiSlord
223fe7321f [6876] * Not drop charge for 1120 and ranks (fix SPELL_AURA_CHANNEL_DEATH_ITEM aura work) 2008-12-06 04:39:36 +03:00
DiSlord
d3b4b341a0 [6874] * Not remove spell mods for not finished spells
* Ignore self miss in drop combopoints (problems vs 5171 and ranks still exist)
* Allow cast spell on immune if spell can removeit by dispell
2008-12-06 01:26:47 +03:00
tomrus88
588edbcedb Fixed merge 2008-12-05 18:38:17 +03:00
tomrus88
af1e1d7794 Merge branch 'master' into 303
Conflicts:
	src/game/Corpse.cpp
	src/game/DynamicObject.cpp
	src/game/GameObject.cpp
	src/game/Object.h
	src/game/Unit.cpp
	src/game/Unit.h
2008-12-05 18:16:31 +03:00
tomrus88
d00a453863 Reduced number of cells (doubled max visibility distance).
Use 2D distance for visibility checks.
2008-12-05 17:42:46 +03:00
tomrus88
df3ca15c3d Use 2D distance for visibility checks 2008-12-05 02:01:05 +03:00
VladimirMangos
e58df484a2 Implement aura use in new version of racial trait 20550. Add unit stat mods for rune/runic powers.
Last change will also prevent corruption armor and holy resistence values.
2008-12-04 06:30:57 +03:00
tomrus88
700d3cf609 Some work on Runic Power and Milling Spell Effect 2008-11-30 13:53:33 +03:00
DiSlord
4a07c0c6c2 Apply procPatch 2008-11-26 22:23:10 +03:00
tomrus88
af6acab8f8 Merge branch 'master' into 303
Conflicts:
	src/game/Creature.cpp
2008-11-26 19:44:03 +03:00
ApoC
64fd2dc881 [6846] Fixed some more typos. Added post check for assistance conditions into event execute.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-24 03:03:30 +01:00
tomrus88
6baaad4ed3 Allow speed change for units 2008-11-23 17:18:54 +03:00
tomrus88
5fae2418ab Misc fixes 2008-11-23 16:18:14 +03:00
tomrus88
6224f95fd5 Merge branch 'master' into 303
Conflicts:
	src/game/ObjectMgr.cpp
2008-11-22 17:23:44 +03:00
hunuza
809bd7392f Avoid sending some unnecessary group updates. 2008-11-21 18:07:05 +01:00
tomrus88
397efd4fac Merge branch 'master' into 303
Conflicts:
	src/game/SpellEffects.cpp
2008-11-18 18:08:58 +03:00
hunuza
ac00eee418 Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap() 2008-11-17 17:24:53 +01:00
ApoC
fc0e3e87a8 [6834] Fixed typo in Unit::RemoveAura leading to crash.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-17 12:25:04 +01:00
tomrus88
52b0ab1f89 Merge branch 'master' into 303 2008-11-17 01:50:37 +03:00
VladimirMangos
0ae2133254 [6833] More correct aura cancel for channeled spells.
Remove auras at channeled target.
Cancel channeled spell at spell aura cancel.
Also move battleground resurection spell code to more appropriate place.
2008-11-16 23:33:22 +03:00
tomrus88
4e76f1ac98 crash fix 2008-11-16 17:07:11 +03:00
tomrus88
295fb07520 Merge branch 'master' into 303 2008-11-15 22:05:22 +03:00
tomrus88
efdb8e01dd Removed direct use of some updatefields 2008-11-15 22:04:00 +03:00
hunuza
5944377d94 [6826] Fixed typo in debug output. 2008-11-15 17:54:36 +01:00
tomrus88
768fa2d2de Merge branch 'master' into 303
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/Pet.cpp
	src/game/Player.cpp
2008-11-15 15:35:52 +03:00
VladimirMangos
02ec0d5233 [6821] More cleanups in spell proc event code. 2008-11-13 02:02:32 +03:00
VladimirMangos
3aa2669160 [6820] Cleanup spell proc event code. Avoid send same information by 2 ways to function. 2008-11-13 01:43:06 +03:00
tomrus88
8b55b2de78 Merge branch 'master' into 303 2008-11-12 23:49:06 +03:00