Commit graph

511 commits

Author SHA1 Message Date
VladimirMangos
7550c31138 [9489] No reason have different code for apply/remove for this spells. 2010-03-01 01:57:44 +03:00
NoFantasy
a505b8cd1c [9484] Add dummy aura effect of misc feign death spells
Please note that it may not be correct to handle them all in the same way.
Some more research should be done regarding the whole issue with creatures and faking death (cheaters) and a possible difference between the spells.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-28 21:18:09 +01:00
VladimirMangos
4dc85260c7 [9482] Implement 48266, and 50365, 50384, 50391 and ranks.
Original patch provided by laise.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-28 17:10:25 +03:00
NoFantasy
53eeb6d99a [9480] Add aura dummy effect of spell 29266
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-28 11:35:41 +01:00
VladimirMangos
e05f4b1b03 [9478] Reimplement Aura::IsNeedVisibleSlot
Rewrite base at area aura type check
* For positive area aura types show at non-caster target or caster-totem or non-passive aura at caster
* For negative area aura show at non-caster target
* For other auars show at any target if non passive auras or totem-caster
2010-02-28 08:55:05 +03:00
VladimirMangos
ded1e3c263 [9475] Add and use TotemSlot enum type 2010-02-28 07:31:25 +03:00
VladimirMangos
65d36235bf [9472] Revert "[9465] Make passive aura buffs/debuffs always show at not-casters."
This reverts commit 43f6a355e5a94c56c8fd6b881b572e1d685f046c.

Need more work.
2010-02-27 23:06:04 +03:00
VladimirMangos
844f032458 [9465] Make passive aura buffs/debuffs always show at not-casters.
This fix case when some racial party passive bufs not show for party members.
2010-02-27 07:10:25 +03:00
laise
6efb768daa [9464] Spell effects of itemset 883 and variants.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-27 06:46:21 +03:00
MrLama
b57f4a179b [9459] Make spell 47540 and ranks channeling interruptible
In fact make triggered spell replace main spell for channeling.
This also let drop hack for target death case interrupt channeling for spell.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-26 22:37:45 +03:00
NoFantasy
09b4acc53e [9458] Add exception for spell 51912 and then trigger 45668 as expected
Also remove commented code for spell 45668

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-26 19:55:53 +01:00
MrLama
530be51dc5 [9457] Implement spell/attack power bonus for 59547 and similar spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also fix build in prev. rev. in result my not added changes.
2010-02-26 03:44:41 +03:00
laise
7f6f199911 [9450] Implement item set 887, 251, 232 spell effects.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-25 06:22:10 +03:00
NoFantasy
24f2d4658f [9444] Add script call EffectAuraDummy, called at dummy aura(4) apply/remove
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-24 17:15:23 +01:00
VladimirMangos
6295275529 [9440] Store in plauer spell list structure instead pointer.
Just not reason in element persistanse storage as std::map
store pointer to structure with size < 16 bits.
2010-02-23 19:11:52 +03:00
NoFantasy
e8c2d62c19 [9420] Implement aura dummy effect for spell 35357
Also adjusting dummy spell 45990 slightly, despawn after some time instead of die instantly.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-20 14:24:04 +01:00
VladimirMangos
84080aaf60 [9411] More SpellEffectIndex using in apropriate cases 2010-02-19 06:45:11 +03:00
VladimirMangos
ff8d494ed4 [9408] Add MAX_EFFECT_INDEX to enum SpellEffectIndex and use it. 2010-02-18 23:33:16 +03:00
NoFantasy
7c555add76 [9403] Replace number with enum name where explicitly used in array/other checks
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-17 19:07:00 +01:00
VladimirMangos
f9db93e78b [9397] Fixed unexpected rounding in healamount = healamount * int32(TakenTotalMod); 2010-02-16 00:28:12 +03:00
AlexDereka
ebfb0f9835 [9389] Cleanup config data. Use proper names and expected types. 2010-02-15 15:29:06 +03:00
AlexDereka
ccfd42bf3e [9381] Fixed some compile warnings. 2010-02-14 18:16:07 +03:00
VladimirMangos
268bb3221b [9362] Make specs work at least for action bars
* Propertly add/remove required for specs work spells at 63624/63651.
* Copy current spec action bars to new spec at specs count increase, and delete action bars data at spec count decrease.
* Avoid undexpected action button data test for not active spec at loading/copy, but test action buttons data at spec activation.
* Reset active spec to default if active spec removed.
* Remove talent reset at spec switch that useless at this moment.
  Also note that for future case this also can be not correct and batter unlearn/learn only talents that different in specs.

After this changes specs must fully work in action bar part without unexpected another effects.
2010-02-12 09:29:50 +03:00
laise
c579b7dfc1 [9361] Correct the health increased by spell 55233
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-12 06:53:45 +01:00
Splinter
7bfaf42185 [9328] Implement spell 772 (high ranks) additional damage bonus.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-08 15:54:25 +03:00
AlexDereka
4338c9105d [9324] Fix some gcc warnings 2010-02-08 02:27:34 +03: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
Blackhawk
ceca56cf69 [9316] Restore build after [9313]
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-06 20:01:26 +03:00
pasdVn
c179509df3 [9313] Fix spell 53511 and ranks
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-06 15:25:21 +01:00
Wowka321
e2fe17034a [9295] Implement SPELL_AURA_MOD_BLOCK_CRIT_CHANCE
This fixes talent 47294 and ranks

Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-03 20:54:46 +01:00
tomrus88
b85417df73 Movement packets cleanup. 2010-02-01 17:03:04 +03:00
VladimirMangos
7bb40630e5 [9279] Move reapply spellmods code in own function. 2010-01-31 22:54:59 +03:00
VladimirMangos
26d71e3328 [9278] Prevent reapply charged/noaffect spellmod to persistent auras. 2010-01-31 22:10:11 +03:00
laise
dfd5299d7e [9276] Prevent gain/lost health/powers form death persistent periodic affects.
This must solve bugs with inconsistent death states also.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-31 20:12:02 +03:00
Splinter
72a52af93e [9259] Implement talent 52795 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-26 23:02:43 +03:00
Laise
c0dd79e125 [9253] Update AP bonus for item 2892 and ranks DoT.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-24 20:02:19 +03:00
XTZGZoReX
0ff9250de2 [9245] Remove CellLock class and all cell-level thread locking.
* It was wasting CPU power as cell-level locking is not needed.
* Future multithreading will be on map-level.
* CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
* Some minor cleanup in Cell::Visit/Map::Visit.
2010-01-23 21:36:15 +01:00
VladimirMangos
bf9cccfd5b [9243] Some spell rune code fixes
* Also replace check/take functions for runes by single 2 mode function
* Implement proper check for dead runes case
* Implement proper rune selection for Aura::HandleAuraConvertRune
2010-01-23 20:08:09 +03:00
VladimirMangos
75381e31f8 [9240] Implement spell 24834. 2010-01-23 13:38:04 +03:00
VladimirMangos
40c1e6e772 [9239] Apply second part of spell 50397. 2010-01-23 00:59:54 +03:00
VladimirMangos
707c36bb73 [9237] Implement spell 12479. 2010-01-22 11:07:39 +03:00
laise
627d74f192 [9217] Fixed spell 34471 applying from 34692.
(based on commit 7a9dc4e from insider42/mangos)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 07:00:19 +03:00
VladimirMangos
98adbbc3d3 [9206] Some code cleanups.
* UNIT_STAT_SEARCHING not used
* Remove some commented wrong code
* WaypointMovementGenerator<Creature>::Initialize() not have code
2010-01-18 09:13:50 +03:00
VladimirMangos
6704929d56 [9186] Templated functions for apply some code to all controlled units.
Also fix some related problems with not updates totems/etc
2010-01-16 04:41:44 +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
sixsixnine
b29f53e6e9 [9162] Allow SPELL_AURA_PERIODIC_LEECH to crit if able to.
This allow DoT crits from 2944 and ranks for example.

(based on commit be72957)

Also included improvement from Lynx3d for resilence and crit threat affect.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-12 14:29:40 +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
VladimirMangos
a0c6850553 [9138] Implement glyph 45783. 2010-01-10 09:31:45 +03:00
VladimirMangos
dc643371c8 [9136] Merge branch '330' - Switch to support client version 3.3.0A
You need extract new dbc.

Also recommended extract new map/vmaps.

And apply ofc sql updates that including character convertion.

Special thanks to TOM_RUS for continue work at next client versions support :)
2010-01-10 07:29:44 +03:00
laise
96fbeab3e9 [9133] Fixes in talent 11129 work.
* Restore after client switch talent triggering.
* Propertly remove triggred auras stack or main spell aura at expire/cancel.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-10 00:45:29 +03:00