Commit graph

791 commits

Author SHA1 Message Date
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
VladimirMangos
89939fe7b3 Fixed mangos.sql data for branch and partly related code.
* Drop outdated data for 1535 (old totem summon, now instant area cast)
  Still need implement new way work.
* Restore work broken in branch glyph 45785 with updated functionality,
2010-01-09 06:58:50 +03:00
VladimirMangos
e15f548bed Merge branch 'master' into 330 2010-01-08 16:03:27 +03: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
NoFantasy
17c0ea7020 [9117] Add dummy effect at aura removal for spell 32286
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-07 16:17:31 +01:00
NoFantasy
ed0f04bce4 [9099] Implement periodic dummy aura for spell 55592
Also correct second cast, expected for spell 53520

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 21:26:57 +01:00
NoFantasy
f9ec746123 [9097] Implement periodic dummy aura for spell 53520
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 19:02:06 +01:00
NoFantasy
56407bdb32 [9096] Implement periodic dummy aura for spell 52441
Note speed is not really reduced as expected, this need correction in other parts of code.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 18:35:35 +01:00
NoFantasy
15193ab9c3 [9094] Implement periodic dummy aura for spell 46041
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 15:16:33 +01:00
NoFantasy
65f4e7d278 [9093] Implement periodic dummy aura for spell 48630 and 59275
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-01 13:10:23 +01:00
VladimirMangos
e5dfeea31e [9090] Implement tick counting in periodic auras.
This can be used for some tick number dependent aura effects.
Also in some cases impossible claculate tickes count pass,
for example for infinity duration auras.
2009-12-31 17:52:43 +03:00
tomrus88
33cd1a0aca Merge remote branch 'origin/master' into 330 2009-12-30 01:16:15 +03:00
NoFantasy
468295392d [9086] Limit maxTargets for spell 33711 and 38794
Also remove not strict required difficulty check for some spells and add lost comment from [9085]

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-29 20:14:48 +01:00
NoFantasy
4f54e09134 [9085] Implement periodic dummy aura for spell 50824
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-29 19:01:23 +01:00
NoFantasy
fcbd0cdaa5 [9084] Implement periodic dummy aura for spell 50789 and 59860
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-29 17:24:14 +01:00
Lightguard
9c98bd92e2 [9077] Fixes for pet work in case mounted owner.
* No unsummon temporary pet at non-fly mounting.
* Implement client side disable pet's action bar for mountted owner time

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

* implement server side action disabled case (action bar modify, aggro reaction and autocast)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-28 16:00:55 +03:00
NoFantasy
ec1e30490b [9072] Implement periodic dummy aura for spells 50792, 59859, 50801 and 59858
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-27 15:29:21 +01:00
PSZ
722634770b [9063] Add one more expected spell cast at spell 28169 debuf expire.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 16:57:59 +03:00
darkstalker
67dd48e2d4 [9061] Fixed SPELL_AURA_MOD_CRIT_DAMAGE_BONU (163) use in calculations.
* Renamed from SPELL_AURA_MOD_CRIT_DAMAGE_BONUS_MELEE
* Also apply to non-melee damage also

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 06:11:10 +03:00
yavi
9ab5276eb9 [9059] Implement expire effect for spell 28169
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-25 05:08:43 +03:00
VladimirMangos
0fec3c06d8 [9058] Implement spell 7057 2009-12-25 00:26:44 +03:00