Commit graph

729 commits

Author SHA1 Message Date
NoFantasy
dbf0fafbfe [9182] Replace 0 with NULL in a few CastSpell calls (removed where not needed)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-15 01:43:02 +01:00
NoFantasy
0d6b7f144c [9181] Rewrite parts of GameObject use for GO type 10
This implement using autoclose time for type 10 and also sending a custom animation for some.
To avoid duplicate code, remove code from SendLoot() (handled in Use() instead)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-15 01:23:45 +01:00
KAPATEJIb
799919edc5 [9153] Use in code heal amount calculation for 20165.
Thanks to MrLama for small cleanups and patch updating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-12 06:00:01 +03:00
KAPATEJIb
171a2e02d7 [9150] Fixed some paladin spell bonuses
* Use stack size in additional spell damage for 31803/53742.
* Use in code calculation for additional spell 20187/20375 damage

Thanks to MrLama for small cleanups and patch updating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-12 02:30:15 +03:00
KAPATEJIb
73a368d64a [9149] Drop code and DB data for removed 31892/53720 and related spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-12 01:08:17 +03:00
VladimirMangos
cf8b2f660c [9148] Revert "[9042] Remove double apply bonuses for spell 635/31935 and ranks"
* This reverts commit 2157bc1b2fb064bd6bf0dfa5b4152d13760450c5.
* And drop DB bonus data.

Thanks to MrLama and pasdVn for reseach problem.
2010-01-12 00:15:40 +03:00
tomrus88
a8b04f09e0 Compile fix. 2010-01-09 21:47:16 +03:00
VladimirMangos
57f495de35 [9130] Implement spell 48603 script effect.
Also apply some ordering to existed spell cases code.
2010-01-09 05:07:25 +03:00
frcoun
352c3811b2 [9125] Add dummy effect of spell 46167
SQL update included to ensure proper work (if database has existing data)

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-08 00:20:38 +01:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
frcoun
147c250a56 [9121] Implement dummy effects for spell 50926,51026,51592 and 51961
Note: Some adjustments in addition to original patch, using delay despawn.
Also provide sql update for proper work of affected spells (if already exist in database).

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-07 21:34:43 +01:00
NoFantasy
e568293d2c [9106] Add script effect for spell 47097
Also add areaflag hack to detect correct areaId

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-03 03:37:02 +01:00
awpolt
4b0ceaeb6b [9092] Fixed typo in function name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-01 14:08:59 +03:00
NetSky
2087aa2876 [9091] Add max targets limit for spell 34861 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also implement glyph 42396 work for referenced spells.
2009-12-31 19:18:38 +03:00
VladimirMangos
7d0a830bd4 [9076] Another SPELL_EFFECT_PLAYER_PULL problem fix.
If base points porvided then this is _max_ pull distance, not direct distance.
2009-12-27 23:47:47 +03:00
FunkyBit
41df9cd9ab [9075] Fixed direction of move for SPELL_EFFECT_PLAYER_PULL
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-27 22:43:48 +03:00
nos4r2zod
d990644151 [9057] Implement some damage related spell attributes support.
* SPELL_ATTR_EX4_STACK_DOT_MODIFIER
* SPELL_ATTR_EX6_NO_DMG_PERCENT_MODS

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-24 18:31:03 +03:00
MrLama
d432c34307 [9045] Implement talent 48539 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also some typos in mangos.sql field order fixes (sql updates in past ahe been correct)
2009-12-22 00:16:31 +03:00
goldberg002
817ffb7a8d [9042] Remove double apply bonuses for spell 635/31935 and ranks
One time in code and second time by DB data.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-21 01:51:53 +03:00
Maxxie
f71c4bf3ae [9030] Fixed: remove spell 30451 and ranks buffs stack at another arcane spells.
(cherry-picked from commit 8dbbc7b)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-19 23:47:07 +03:00
j4r0d
d560c657d8 [9029] Fixed spell 0451 and ranks buff apply.
In fact drop now wrong redundent code.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-19 22:32:58 +03:00
VladimirMangos
ff229af00a [9027] Restore spell bonus apply to dot damage for 17962 damage calculation.
In fact reverting wrong part of my one from prev. commits.
2009-12-19 21:45:18 +03:00
fisherman
aeaa5026f5 [9024] Fixed RAP bonus percent for spell 56641 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-19 04:16:51 +03:00
VladimirMangos
29a096a348 [9023] Fixed some hunter sting affects.
* spell 1978 and ranks RAP bonus
* spell 53209 affect from spell 3034 dot.
2009-12-19 02:51:14 +03:00
VladimirMangos
6b78ed534d [9020] Re-implement 1680 (and triggred spell for 46924) in less hack way. 2009-12-18 06:20:35 +03:00
VladimirMangos
71f8f1b5a1 [9015] Fixed spell 34914 ranks dispel damage and spell 29722 and ranks bonus damage.
In both cases not expected additional spell damage bonus apply.
2009-12-17 22:11:42 +03:00
VladimirMangos
562ad128d3 [8999] Make creature wild summoned by item 49040
This make it usable by other players, not only owner.
Also sort summon types by value in switch.
2009-12-16 13:59:06 +03:00
VladimirMangos
e17d3043ea [8997] Implement SUMMON_PROP_TYPE_REPAIR_BOT(12) support
Used only for item 49040 summon. Need DB support for proper work summoned creature.
2009-12-16 01:28:21 +03:00
VladimirMangos
1d608c482f [8978] Fix wrongly apply weapon damage mods to broken weapon. 2009-12-12 21:12:43 +03:00
VladimirMangos
ed7d561597 [8963] Make bindpoint field private and add required functions for use. 2009-12-10 12:22:17 +03:00
Quriq14
8d519d7219 [8953] Apply spell mutiplier to final damage for health calculation in Spell::EffectHealthLeech.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-09 00:29:55 +03:00
qsa
ffca4301d0 [8944] Use DBC data for summon effect functionality.
Also some more local fixes:
* Alow multiply same type guardians req. for some spells.
* Apply spell duration mods to summons

Many summon spells must start work.

Great work qsa! :)

Thanks The_Game_Master for updaing patch to recent sources.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 23:40:10 +03:00
Nick Nitro
65f1d6ba14 [8941] Limit used energe as expected for spell 22568 and ranks.
Thanks also to Sarjuuk for code simplification.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-07 18:08:02 +03:00
VladimirMangos
4ee8cb3504 [8937] Small lost change, just more correct code by form. 2009-12-07 14:47:24 +03:00
VladimirMangos
b0a6993031 [8936] Implement spell 48743 2009-12-07 14:12:47 +03:00
QAston
8b0ce112ba [8922] Implement telant 46859 and ranks additional debuff apply.
Thanks to xXxRRLxXx and KAPATEJIb for patch prepering.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 02:52:44 +03:00
nos4r2zod
bfaeddbc4b [8921] Implemement talent 53583 and ranks refresh part for spell 54428
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-06 01:14:32 +03:00
VladimirMangos
f8d0496407 [8915] Fixed rage calculation for spell 5308 and ranks. 2009-12-04 04:53:29 +03:00
VladimirMangos
76ad6efef0 [8913] Fixed typo in recent Spell::EffectDispel code changes.
Also some code cleanup.
2009-12-03 13:46:44 +03:00
VladimirMangos
94147f2b5a [8910] Implement spell 62124 damage part. 2009-12-03 02:03:49 +03:00
VladimirMangos
03e16dd08b [8905] Dispel work with aura stacks fixes.
* Implement set of remove aura functions for remove single aura from stack.
  Also some order function declarations for more clear show different aura remove functions.
* Change Spell::EffectDispel to dispel single aura instead all similar auras from caster.
2009-12-02 22:07:50 +03:00
VladimirMangos
68581bd918 [8901] Implement rage save part of talent 29723 buff and ranks.
Original patch provided by Wojta with improvments from darkstalker.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add `spell_check` data for code changes.
2009-12-01 16:39:27 +03:00
LordJZ
47cda41d93 [8879] Re-implement buff selection for item 47499.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-27 14:42:10 +03:00
VladimirMangos
ce92d2e1d2 [8877] Revert "[8876] Fixed spell 724 and ranks."
This reverts commit 5b96e3a2250755dec615e683c54a2ed056739370.

Spells expected summon creatures. This proved by related data.
2009-11-26 11:58:45 +03:00
pasdVn
949dae6d1c [8876] Fixed spell 724 and ranks.
Required Db support (gameobject templates)

(backported from commit 6a4fd16)
2009-11-26 02:44:52 +03:00
Splinter
e636d63fdb [8869] Implement talent 15273 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add data for SpellEffect.cpp last weeks changes to `spell_check` table.
2009-11-24 12:34:48 +03:00
Splinter
487a8de692 [8843] Drop support removed in 3.2.x spells 31892, 53720.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-20 13:19:41 +03:00
Splinter
55e715dddd [8824] Implement 3.2.x changes for spell 5308 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-17 08:39:37 +03:00
balrok
6199396b69 [8821] removed some redundant player->SaveToDB calls
SaveToDB will already be called at "SpawnCorpseBones"
so no need to do this twice
2009-11-15 20:08:57 +01:00
Splinter
22fb22ee5e [8800] Implement item 47499 work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-11-10 21:24:49 +03:00