Commit graph

719 commits

Author SHA1 Message Date
VladimirMangos
4cbaa5b186 [8430] Reapply persistent passive spells at related spellmods apply/remove.
This is solve problems with talents/glyphs/etc that affect of some talent/passive ability bonus in case:
affected talent/ability spell aura already applied before spellmod apply and not affecte as must until relearn/reload.
Example: talent 14983 and later applied glyph 42971.

Also drop dead code for removed in 3.x talent 12303.
2009-08-28 06:55:43 +04:00
VladimirMangos
a3207da3d9 [8428] Implement proper amount absorbed damage for spell 62600.
Other change jus move code under "if(apply) else"
2009-08-27 15:00:33 +04:00
tomrus88
3882772658 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
2009-08-27 01:54:04 +04:00
Astellar
0c78bfba33 [8418] Implement work talent 47193.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-25 15:32:22 +04:00
VladimirMangos
208c84556e [8416] Fixed problem with double cast form passives at loading.
* Drop learning form passives at form psell learning, and cast it explictly from code in all cases.
* Drop cast form passives at learning.
* Note: talents that have dependent form time passives still work in original way: learned and casted at learn if need.
* Drop hack for spell 24907 casting at form apply: it casted fines as result normal triggered effect in related form spell.

Original patch provided by nos4r2zod.
2009-08-25 08:45:49 +04:00
tomrus88
fec1a1954c Merge commit 'origin/master' into 320
Conflicts:
	src/game/MovementHandler.cpp
2009-08-20 16:24:37 +04:00
QAston
c5bed93909 [8391] Apply for FORM_SHADOW aditionl auras from spell 49868.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-19 05:16:37 +04:00
tomrus88
373a837aa5 Merge commit 'origin/master' into 320 2009-08-18 09:30:02 +04:00
VladimirMangos
74d27294aa [8381] Some refactoring work in Unit::m_currentSpells code.
* Restrict access, use enum args, move some repeated code parts to function.
* Make m_selfContainer set only part of Unit::SetCurrentCastedSpell
2009-08-18 02:12:56 +04:00
tomrus88
f553cf2887 Merge commit 'origin/master' into 320
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/DuelHandler.cpp
	src/game/ItemHandler.cpp
	src/game/Mail.cpp
	src/game/MiscHandler.cpp
	src/game/MovementHandler.cpp
	src/game/TaxiHandler.cpp
	src/game/WorldSession.h
	src/game/WorldSocket.cpp
2009-08-17 10:31:02 +04:00
Revils
3ca16beace [8379] Fixed typos in spell 48384 and rabks code. 2009-08-17 05:52:14 +04:00
VladimirMangos
c26c7395a1 [8377] Resolve some spell_area problems in GM and non-GM mode.
* Make spell 40216 and 42016 casted/remove at aura 40214 apply/remove.
  And drop related spell_area possible existed data.
* In general restore apply area limitations to spell casting in GM mode.
2009-08-17 00:40:19 +04:00
Lutik
935d47978f [8375] Update start fall height at lost SPELL_AURA_FEATHER_FALL.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-16 10:52:23 +04:00
VladimirMangos
4b644a57a4 [8374] Implement glyph 43379. 2009-08-16 10:41:26 +04:00
tomrus88
48a470dfc1 Merge commit 'origin/master' into 320 2009-08-15 10:16:27 +04:00
NoFantasy
150d3f4c95 [8370] Implement dummy auras for spell 36730 and 44191.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-08-14 10:58:01 +02:00
VladimirMangos
6e8aca42f9 [8368] Implement 48384 and ranks work.
Original patch provided by Opterman.
2009-08-13 23:41:14 +04:00
Sarjuuk
fdfc235faa [8363] Implement spell 52610.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-13 19:27:28 +04:00
VladimirMangos
aef24b3748 [8358] Prevent crash and not appropriate boosts apply at aura boosts proccesing. 2009-08-12 19:40:58 +04:00
VladimirMangos
b4fc5a1789 [8352] More correct dazed spells selection for remove at shapeshift. 2009-08-11 21:36:32 +04:00
tomrus88
f07363e9e0 Merge commit 'origin/master' into 320
Conflicts:
	src/game/MovementHandler.cpp
	src/game/Player.cpp
2009-08-09 20:18:41 +04:00
VladimirMangos
9c387ec9fd [8341] Update hardcoded coefficients for Aura::HandleSchoolAbsorb.
Also update spell family masks.

Thanks to raftom for pointing to problem.
2009-08-09 16:05:32 +04:00
VladimirMangos
556c817865 [8335] Restore spell 19574 and 34471 addtional effects work after [8330].
Also simplify spell 61846 and ranks check in HandleSpellSpecificBoosts.
2009-08-09 08:25:54 +04:00
VladimirMangos
fe4b057dc2 [8334] Small cleanup in magic shield back damage code.
Also misc variable use consistence in aura hander (no any affect expected).
2009-08-09 08:16:20 +04:00
VladimirMangos
600f6d142d [8330] Move spell 19574 and 34471 boosts to Aura::HandleSpellSpecificBoosts.
Also small cleanup for prev. commit.
2009-08-08 12:02:01 +04:00
VladimirMangos
c8cc9b28f8 [8329] Implement aura deleting delay in case aura lock as currently used.
* Use counter for aura uses lock for recursivly mark as used in some cases.
* At aura remove add aura to deleting delayed auras list for aura target.
* Remove now unneeded hacks from aura handlers and aura tick code (maybe not all found yet)
* Use new aura delete locking for simplify proc spell event code.
* Prevent apply aura boost spells if aura deleted while adding to target by triggered spells.
* Re-implement aura list updating at auras update for target to better way skip
  removed from aura list auras while auras update.
2009-08-08 11:31:29 +04:00
tomrus88
f97da77cbd Merge commit 'origin/master' into 320 2009-08-05 14:52:29 +04:00
VladimirMangos
f05ac51b8a [8300] Re-enable in more clear way anti-crash client protection at enslave demon.
Report about DB data problem related to prevented crash
2009-08-03 15:30:53 +04:00
nos4r2zod
39eca7d43a [8298] Use new Aura::HandleSpellSpecificBoosts for apply/remove dependent auras.
This provided more clear place where dependent auras can be applied/removed,
if expected manual apply _with_ aura remove at parent aura expire.
This can be used for more cases.

In current state it implement additional effects for
29836 and ranks, 61846 and ranks, 31869, 53379 and ranks, 20254 and ranks,
20138 an ranks, 48263, and 48265.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-03 02:27:30 +04:00
tomrus88
b99565ef42 Merge commit 'origin/master' into 320 2009-08-01 09:22:30 +04:00
NoFantasy
a56f9ea6de [8281] Add spellId to error output in UnregisterSingleCastAura().
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-31 12:23:43 +02:00
tomrus88
be8eaf4e46 Just merge commit 'origin/master' into 320
Conflicts:
	src/game/MiscHandler.cpp
2009-07-28 17:05:38 +04:00
Neveragain
ee2fcde901 [8263] Implement talent 48411 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-28 13:22:40 +04:00
Astellar
793ce2259a [8257] Avoid remove daze and croud control spells except polymorph at druid form change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-27 16:39:57 +04:00
tomrus88
299f40ac0c Merge commit 'origin/master' into 320 2009-07-26 10:52:21 +04:00
VladimirMangos
f6f4b29465 [8242] Propertly use aura target instead aura caster.
That same infact but nore slow for access and less safe.
2009-07-25 00:04:58 +04:00
VladimirMangos
7c2ff6cfcb [8241] One more cleanip and crash prevention :/ for prev. commits. 2009-07-24 23:52:43 +04:00
VladimirMangos
aa23cf729c [8240] Small additional cleanup comments 2009-07-24 23:46:20 +04:00
VladimirMangos
c248c358be [8239] Implement talent 44745 and ranks.
Thanks to KAPATEJIb for proper rank and chance selection.
Thanks to raftom for proper aura remove mode detection
Thanks to me for proper triggered spell casting affect diminitshing return group selection.
2009-07-24 23:42:32 +04:00
ApoC
6b2b58cec9 [8236] Implemented explicit remove of Aura by pointer to it (used for single cast auras).
* This can prevent removing single cast aura of same id and effect
  but different caster what can cause assert in next code.

Thanks Vladimir for hints.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-23 21:45:13 +02:00
VladimirMangos
6c395cf79c [8232] Implement talent 48438 and ranks in target seelction and per-tick heal amount.
Original patch has been suggested by Beaste.
2009-07-23 00:15:52 +04:00
tomrus88
4c709772c1 Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
	src/game/Totem.cpp
2009-07-21 08:22:30 +04:00
VladimirMangos
e16a784ae8 [8223] Simplify code for AURA_STATE_CONFLAGRATE remove at aura remove. 2009-07-21 01:24:05 +04:00
VladimirMangos
36605805b4 [8218] Final part of talent 17962 and ranks fixes.
* Support correct aura state at server set for different casters effects
* Correctly check this telent (per caster) aura state at cast
* Correctly show per-caster aura state for cleitns.
2009-07-20 11:47:59 +04:00
rechapa79
680ab810e0 [8216] More fixes in spell 47897 and talent 17962 and ranks work.
* Implement DoT apply for 47897 and ranks.
* Implement propertly aura state update at add/remove 47897/348 and ranks
* Update checks for 29722 and ranks for bonus damage

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 07:26:19 +04:00
Astellar
e2d40fecc1 [8210] Implement talent 53302 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-20 03:23:28 +04:00
NoFantasy
c59dac48ff [8208] Add part support for spell 33525.
Also let spell 33652 trigger when aura from 33572 reach full effect.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-19 11:23:14 +02:00
nos4r2zod
9b2b2b09ec [8206] Partly revert [8173] in part per tick bonus coefficient.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-19 07:57:21 +04:00
tomrus88
ca2a2195be Merge commit 'origin/master' into 320 2009-07-17 13:26:56 +04:00
XTZGZoReX
a538fa621c [8191] Drop code related to use long time empty spell_affect table.
After switch to 3.x.x all data get explcitly from ClassMask fields in spell.dbc
and no need in custom values.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-17 04:29:33 +04:00