DiSlord
7ee5dd6387
[7184] Implement more generic work for some SPELL_AURA_OVERRIDE_CLASS_SCRIPTS auras
...
Fix warlock 17804 and ranks
Implement druid 643 set bonus
Shaman 23199, 28248, 32330 item (totems)
DK 49202 and ranks, 49024 and ranks
Priest 47573 and ranks
Hunter 53241 and ranks
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-26 00:47:16 +03:00
Sarjuuk
9e52b0f748
[7183] Updated spell casting pushback system.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-25 23:26:28 +03:00
DiSlord
20ea42e0db
[7176] Implement full work priest 47580 and ranks
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-25 18:58:45 +03:00
VladimirMangos
4455716490
[7171] "Implement" SPELL_AURA_SCREEN_EFFECT (260). In fact not required code, just comments.
2009-01-25 10:19:07 +03:00
DiSlord
68b537dc30
[7164] Fixed 1 tick periodic for drink spells (remove not need code)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 23:03:55 +03:00
DiSlord
c336eef4cd
Fixed druid tree form bonus
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-24 23:02:05 +03:00
DiSlord
3f4821acfb
[7156] More generic periodic aura work
...
Implement SPELL_AURA_PERIODIC_HEALTH_FUNNEL
Apply SPELL_AURA_PERIODIC_HEALTH_FUNNEL mod to aura periodic time
Add support SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY flag
Apply duration mod to channeling spells
Fix mage 44401 and correct drop its charge
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-23 22:10:12 +03:00
freghar
11ed0e99a8
[7146] Trailing whitespace code cleanup
...
Signed-off-by: freghar <compmancz@gmail.com>
2009-01-22 18:10:16 +01:00
DiSlord
2a891a8c92
[7140] Implement 76 TARGET_DYNAMIC_OBJECT_COORDINATES
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 02:03:26 +03:00
DiSlord
d22f915c2c
[7139] Implement 227 aura SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:55:18 +03:00
DiSlord
81a866fba7
Implement 267 SPELL_AURA_MOD_IMMUNE_AURA_APPLY_SCHOOL aura
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:54:35 +03:00
DiSlord
d57baebef9
Implemement 255 SPELL_AURA_MOD_MECHANIC_DAMAGE_TAKEN_PERCENT aura
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-22 00:54:31 +03:00
DiSlord
9e1b9e56fd
[7127] Implement 271 SPELL_AURA_MOD_DAMAGE_FROM_CASTER aura
...
Allow this aura trigger and drop charges (only if caster hit target)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 01:36:17 +03:00
pasdVn
1d0d9c6fa2
[7126] Fixed typo in spell 53301 and ranks dummy tick.
...
Fixed typo in spell 53290 and ranks dummy proc.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-20 22:40:58 +01:00
DiSlord
921914f87e
[7125] Work under pet talents
...
Coorrect update Talent Points on levelup / leveldown
Unlearn other ranks of learned talent
Fix typo in Pet::HasSpell (wrong result for removed spell)
Allow .reset talents reset pet talent
Implement SPELL_AURA_MOD_PET_TALENT_POINTS aura (hunter talent)
Only reset pet talent from trainer unlearn.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-21 00:31:19 +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
c9ae3b8b5c
Apply diminishing only on 1 spell aura add/begin timing only on last spell aura removed
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-19 02:49:47 +03:00
DiSlord
2cd801a9ef
Prevent (in some cases) remove aura state flag if exist similar aura.
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-17 21:03:26 +03:00
DiSlord
7cd3fa8680
Rename some UnitFlags
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-15 19:55:26 +03:00
arrai
b19c0da601
[7088] Cleaned up Player::m_isunderwater, fixed a bug which caused SPELL_AURA_WATER_BREATHING to prevent lava damage
2009-01-15 00:42:12 +01:00
arrai
022e7ad2b5
Removed Unit::waterbreath. This information is not needed for creatures and can be obtained for players by Unit::HasAuraType(SPELL_AURA_WATER_BREATHING) in constant time
2009-01-15 00:17:02 +01:00
DiSlord
1b7b00a1f5
[7086] Revert (remove not need code) from last commit (not need apply/remove racial passive aura)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 23:09:14 +03:00
DiSlord
c38db592ba
Fix Night Elf race ability on stealth path by Kirix
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-14 21:48:36 +03:00
DiSlord
ba25093ef2
Implement AURA_STATE_FROZEN
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-13 01:17:00 +03:00
VladimirMangos
76f7a25f2d
[7071] Fixed recent problem with pacified aura for druids with flight forms. Cleanups code.
2009-01-12 01:50:03 +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
48bebc4056
[7063] Absorb auras fixes (add custom handle for some auras)
...
Fix Shaman 51474 and ranks
Fix Rogue 31130 and ranks
Fix Druid 33851 and ranks
Fix DK 49145 and ranks, 49157 (TODO: need use only on transform), 50462, 53766, 51052,
Fix 41475 - boss cast
Fix 39228, 60218 (item 27770/37220 spells)
Hidden cooldown for 53601.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-10 19:14:09 +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
VladimirMangos
3b15d1ec7e
Remove unused local variable.
2009-01-09 21:07:27 +03:00
Arthorius
fb10c7c8f2
Implement DK 43265 and ranks
...
Signed-off-by: DiSlord <DiSlord@nomail.ru>
2009-01-09 03:49:26 +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
DiSlord
32a7c35a95
Restore damage calc for some paladin seal after client switch
...
Allow proc shaman heal shield on non players
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-08 00:27:24 +03:00
DiSlord
a3f3caf25a
[7043] Remove not need code
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-07 16:24:44 +03:00
DiSlord
daf24ce90c
[7029] Some work vs aura charges
...
Move to protected: need use SetAuraCharges, GetAuraCharges, DropAuraCharge
Now m_procCharges == 0 if infinite charges, and > 0 for limit
Remove not need UpdateAuraCharges()
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-05 04:16:53 +03:00
DiSlord
39c1f547f6
Fix typo in prev commit
2009-01-04 17:31:34 +03:00
DiSlord
f893214e2b
[7019] Fix AP/RAP bonus from stat at aura apply/remove
...
Not use CLASSMASK_WAND_USERS mask for AP bonus
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-04 17:27:40 +03:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
DiSlord
ba5e3dabc6
[7012] Fix use SpellVisual data
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-03 13:08:04 +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
ApoC
48d6043eed
[7007] Fix: Using enum value instead of numeric constant.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-02 17:39:34 +01:00
DiSlord
bc0a840e6a
[6981] Fix send SMSG_PERIODICAURALOG
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-30 01:51:23 +03:00
Arthorius
27175a9ad8
[6965] Implement aura SPELL_AURA_PROC_TRIGGER_SPELL_WITH_VALUE.
...
This must let work triggering part of:
DK talents 49182, 49027, 49149, 49223, 50880, 55610 and ranks
Warrior glyph item 43418
And some boss spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 22:36:42 +03:00
DiSlord
fd5a994659
Merge branch 'master' of git@github.com:mangos/mangos into procflag
2008-12-28 00:41:47 +03:00
DiSlord
c92d146391
[6954] Add some missing in 303 dbc charge count for mods
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-27 18:35:51 +03:00
DiSlord
30908fb5ff
Merge branch 'master' of git@github.com:mangos/mangos into procflag
2008-12-27 18:29:03 +03:00
DiSlord
ae4a0032c1
[6945] Implement FORM_METAMORPHOSIS Shapeshift
...
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 22:25:31 +03:00
DiSlord
bae58eb069
Merge branch 'master' of git@github.com:mangos/mangos into procflag
2008-12-23 18:03:21 +03:00
DiSlord
b72b1a1785
Add name for 194 SPELL_AURA_MOD_IGNORE_ABSORB_SCHOOL
2008-12-21 05:20:19 +03:00