Commit graph

293 commits

Author SHA1 Message Date
VladimirMangos
e188a0a505 [7115] Sort spells by spellfamily cases for speedup most common (check fail) case. 2009-01-19 15:55:24 +03:00
VladimirMangos
9e590f7ceb [7114] Code cleanups.
Remove redundant `inline` for in-class function definitions.
Fixed float -> int implicit casts.
2009-01-19 15:13:57 +03:00
DiSlord
17004d59d4 [7111] Fixes in Spell Effect immunes
Correct totem immunes for dot/leech/Fear/Transform auras (immune only to effect)
Correct log if all effects immuned by Effect Immune
Move check for IMMUNITY_STATE to Unit::IsImmunedToSpellEffect

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-19 02:57:50 +03:00
DiSlord
a17dd3c0a0 Fix one palain seal damage calculation (remove dead code)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:31 +03:00
VladimirMangos
ed14e59de4 Fixed typo in log output and misc code cleanups. 2009-01-16 18:11:58 +03:00
DiSlord
31722c1c0c [7085] Restore work 12975 after client switch, patch by MaS0n
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 21:49:37 +03:00
DiSlord
b64ce9ea34 Fix pladin some abiblty - patch by Kirix
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 21:48:26 +03:00
DiSlord
7b6b0bb816 [7082] Implement paladin 53407, 20271, 53408
Remove dead code

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 02:00:21 +03:00
DiSlord
5378d766f0 Fix typo (now power gain % log correctly)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 01:59:34 +03:00
DiSlord
246d45dc80 Add AP bonus for warrior 5308 and ranks, also use 58367 dummy bonus
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 01:59:20 +03:00
DiSlord
08864a7288 [7078] Restore work rogue 14185 after client switch
Add data to proc table
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-13 22:04:55 +03:00
DiSlord
fa9daa3fb7 [7076] Implement shaman 60103 dummy
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-13 01:17:40 +03:00
DiSlord
ae1f60c27f Use CastSpell(x,y,z ... for EffectTriggerMissileSpell
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-12 21:21:00 +03:00
DiSlord
dd2a59f56d [7068] Use area aura duration for apply aura on unit in area
Allow remove SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE spells by 31224

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-11 21:15:45 +03:00
DiSlord
7162d82a4d [7064] Fix warrior 46968 and ranks damage from AP
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 21:24:43 +03:00
DiSlord
cb66f99fc2 Fix priest 47540 and ranks
Also stop chanelling mage AM/priest 47540 if target die
Set DK cast 52212 as triggered from aura.

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 00:56:42 +03:00
DiSlord
b968b36979 [7058] Add 669 summon type
Fix typo in mangosd.conf (by SergiK_KilleR)

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-09 19:29:07 +03:00
DiSlord
71b33ca2f1 [7056] Proc system add
Add use autorepeat flag and set more corect triggers flag for ranged autorepeat spells
Restore work paladin 20210 and ranks after client switch
Add 6-7 scripted paladin shock spell (also add it in dummy and fix flag)
Hidden cooldown and hacky (need more fixes in triggers) fix for 33953
Remove not used code

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-09 00:59:28 +03:00
GriffonHeart
e1499bcdd9 [7054] Missing update to 7041
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 16:26:01 +03:00
DiSlord
e573bd9ea8 [7051] Implement some mage dummy triggers (fix typo)
44546 and ranks
44449 and ranks
54747 and ranks

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 03:53:21 +03:00
DiSlord
c2741b50e7 [7049] Work vs Auras
Allow stack some auras from some caster in one
Move apply/remove aura state on apply/remove aura (on 1 add / on last remove)
Correctly fill aura flag and send duration update to client
Not use m_procCharges for store satack amount, used m_stackAmount
Fixes in HandlePeriodicDamage (use m_stackAmount, fix formulas to 303, optimisation)
Fixes in Spell::EffectSchoolDMG (use m_stackAmount, fix formulas to 303)
Remove unused uint32 m_PeriodicEventId from aura struct
Add Unit::RemoveSingleSpellAurasFromStack for remove one Spell auras from stack
Add Aura::RefreshAura() for refresh aura duration

Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 01:12:52 +03:00
GriffonHeart
e30f8dd816 [7041] Add 7-8 rank warlock stone
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-06 19:43:09 +03:00
DiSlord
8caa11da65 [7035] Disable wrong use some spell effects (changed in 303)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-06 01:27:07 +03:00
DiSlord
d65458b0de [7025] Restore work/add new spell post effects
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 02:02:08 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
VladimirMangos
ee505ec9da [7015] Implement support -1 in item_template.stackable and item_template.maxcount fields.
Also disable incorrect used vanity pets/currences/quest items special slotes. All items in its will be send by mail to characters at re-login.
Fixed code for item stacks operations with size > 255.
2009-01-03 19:19:53 +03:00
VladimirMangos
c88dfbccb3 [7009] Fixed spell 6991 work.
Also fix max power limits in some miscvalue checks.
2009-01-03 00:08:36 +03:00
DiSlord
dc8649a86a [7008] Remove not used in 303 aura states from code
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-02 23:44:08 +03:00
DiSlord
d49e934d41 Fix debug message from last commit 2009-01-02 00:17:26 +03:00
DiSlord
59f5472e3a [6998] Add new formula for warlock 1454 and ranks
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-02 00:10:09 +03:00
DiSlord
a1494d29dc [6980] Add some fixes to trigger system
Allow proc from every kill
Fix (and remove hack) priest 32379 and rank (backfire damage after 1 sec)
Remove not need stack overflow protection

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 01:49:28 +03:00
arrai
e2b744f016 [6971] Implemented summon type 1161. This will fix spell 51533 2008-12-29 14:19:32 +01:00
VladimirMangos
15bb2d0f03 [6963] Fixed crash at glyph item use.
Prevent double deleted cast item in spell effect.
Thanks to GriffonHeart for testing.
2008-12-28 20:04:50 +03:00
DiSlord
30908fb5ff Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-27 18:29:03 +03:00
False.Genesis
82c94b4101 [6948] Fixed unattackable NPC summoned pets.
Not set player's pet only UNIT_FLAG_PVP_ATTACKABLE flag for creature's pets.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-26 15:18:10 +03:00
VladimirMangos
3488c1fee3 Prevent using loading pet from DB code for non-player pets. 2008-12-26 12:47:03 +03:00
GriffonHeart
e3576ebff5 [6942] Provided mount data for new spell taxi path.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-25 03:23:41 +03:00
DiSlord
bae58eb069 Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-23 18:03:21 +03:00
DiSlord
15d809e61d Add/change some spell effect names, add/fix comments
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-22 01:43:23 +03:00
DiSlord
98c2cc9e7b * Remove/rename spell effects changed in 303
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 22:28:52 +03:00
DiSlord
381e801b7c Add SPELL_EFFECT_SCRIPT_EFFECT for Hunter 53209
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 21:43:19 +03:00
DiSlord
70c2f2201a Fix mask typo from last commit 2008-12-20 04:32:38 +03:00
DiSlord
0125787414 Added new AP, RAP, SPH damage depends for all found SPELL_EFFECT_SCHOOL_DAMAGE spells
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-20 04:15:07 +03:00
GriffonHeart
11c45937b3 Implement quest completing at spell 53341, 53343 cast. Also implement item 38607 using cast.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-19 07:23:58 +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
VladimirMangos
09e8ea2ae6 Update effect 155 name -> SPELL_EFFECT_TITAN_GRIP 2008-12-14 22:18:00 +03:00
TERRANZ
558909614a Implement one hand wielding two-hand weapon ability (warrior talent 46917)
Signed-off-by: TERRANZ <TERRANZ@mangos.ru>

Small slot checking fixes and make dual wielding dependent from related ability.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-14 19:29:31 +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