pasdVn
5d59f03b25
[9360] Fix the damage of spell 53351 and ranks
...
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-12 06:43:45 +01:00
hunuza
0f7f7c5ada
[9354] Add spell efffects for dual spec.
...
Actual dual spec still not implemented.
Credits to EnderGT for original patch.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-10 20:54:45 +01:00
VladimirMangos
96202d7dfd
[9345] Show enchantment applied to item in trade slot to caster after apply.
...
Also more strictly check cases when in spell targets presetn item in trade slot.
2010-02-10 03:48:20 +03:00
VladimirMangos
5a7eb09bd2
[9326] Restore code style after [9286], [9322].
2010-02-08 06:14:33 +03:00
AlexDereka
4338c9105d
[9324] Fix some gcc warnings
2010-02-08 02:27:34 +03:00
VladimirMangos
2a01c79609
[9323] Fixes in code work with original caster guid.
...
* Add 2 function for 2 used way for original caster
- GetAffectiveCaster(), is posible NULL unit as source spell affects
(explcit caster, GO owner, caster of aura that trigering affect)..
- GetCastingObject(), possible NULL world object as in game spell effects
source, cast center, etc, need because original caster can store GO
guid that apply effect around. In other cases m_caster
* Use functions and avoid use explicitly m_originalCaster
* Use GetAffectiveCaster() for fix explicit GO cast at near unit, like now fixed campfire bonus.
2010-02-08 00:53:03 +03:00
Marik
a8de1c0ad4
[9322] Fix spell 69378 and 69381
...
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-07 15:58:52 +01:00
tomrus88
db547a008a
Get rid of monster movement flags, since it's really spline flags.
...
Thanks to Ralek for research.
2010-02-07 15:03:36 +03:00
VladimirMangos
87a35b0489
[9317] Call linkedtrap summon in more cases.
...
* GAMEOBJECT_TYPE_BUTTON can have linked traps
* Spell::EffectSummonObject also can summon objects with linked traps
Thanks to patman128 for research second case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-07 02:51:45 +03:00
[D4RK]Doom-Lord
bc160bd04f
[9298] Implement affect glyph 41533, talent 16187 and ranks to 5394 and ranks healing.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-04 02:29:38 +03:00
reno138
f157b101fb
[9294] Fixed typo in function name.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-03 22:43:22 +03:00
Lightguard
af3aced775
[9286] Fix spell 69377
2010-02-02 20:22:18 +01:00
VladimirMangos
60f8b3874d
[9281] Fixed client ignore spell 1464 and ranks in combat log.
2010-02-01 14:01:44 +03:00
VladimirMangos
904995c024
[9274] Implement SPELL_EFFECT_SUMMON_ALL_TOTEMS
...
This implement work spells 66842, 66843, 66844.
Patch originall writed by Arthorius, with additional fixes from darkstalker
and hack removes from me.
2010-01-31 18:40:59 +03:00
laise
9aedd3a864
[9273] Implement item 49623 triggered stacking affect.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-31 05:36:59 +03:00
Wowka321
f7b8f09bac
[9251] Restore work spell 31687 and implement work glyph 50045.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-24 19:06:12 +03:00
lutik
aab870f9b5
[9236] Set damage division for spells 70492, 72505, 72624 and 72625
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-21 23:54:23 +01:00
VladimirMangos
e1d0c1cdba
[9209] Finish synchonization walk mode for pets.
...
* Re-sync at follow mode switches
* Support sync for creature pets
Also
* Attempt fix build at *nix
* Drop unused unut state mask with typo in name.
2010-01-18 14:35:19 +03:00
VladimirMangos
6a2e8064f1
[9208] Big cleanup in UNIT_STAT_* use
...
* Re-number enums by function groups and use where possible new defined masks in code instead raw enum |-lists.
* Avoid use movement generator generic state markers like UNIT_STAT_CONFUSED for mark movement stoped.
Add special shadow UNIT_STAT_CONFUSED_MOVE/etc states for like use.
UNIT_STAT_CONFUSED in like case will be safe expect use for normal checks confused state presence
And UNIT_STAT_CONFUSED_MOVE for check real move in this state
2010-01-18 11:59:10 +03:00
NoFantasy
544d396beb
[9205] Move script call GOHello to GameObject::Use
...
This provide more accurate call in case of delay use from spell effects
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 23:44:33 +01:00
NoFantasy
16c0ff3ef7
[9204] Move remaining handling of GO from SendLoot to GameObject::Use
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 23:06:31 +01:00
NoFantasy
925ea7630e
[9203] Use CalculateSimpleValue as delay, used in spell effect 86
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 17:05:54 +01:00
NoFantasy
95f9ec5fb2
[9200] Move handling of most GO's from SendLoot() to GameObject::Use()
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 11:45:14 +01:00
VladimirMangos
2e9bf5ad6a
[9197] More propertly update walk mode for player pets.
...
* Use AddMonsterMoveFlag instead SetMonsterMoveFlags for set walk-mode
* Apply walk/run mode to all copntrolled units (except totems).
* Synchronize walk/run mode at pet creating/loading.
2010-01-17 07:51:00 +03:00
VladimirMangos
0a1dd54b7f
[9193] Implement dummy effect for 46797.
2010-01-16 22:55:00 +03:00
VladimirMangos
cc062f16ac
[9187] Fixed problem with non-attackable pes/totems at arenas
...
... and other FFA areas. Problem is result chnages in related flags work after old 3.x switch.
* Added high-level functions for FFAPvP state set for unit
* Apply FFA PvP to all controlled units also at set, and at summon/load
2010-01-16 05:41:42 +03:00
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