Commit graph

719 commits

Author SHA1 Message Date
VladimirMangos
bc5092686e [9516] Fixed talent 50391 and ranks in part apply rune cooldown expire speed.
* Apply rune cooldown buff only for spell 48265
* Implement SPELL_AURA_MOD_POWER_REGEN_PERCENT work for POWER_RUNE

Thanks to Laise for problem research.
2010-03-04 15:29:50 +03:00
przemratajczak
e892fd6a9b [9513] Fix spell 48920
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-03-04 08:11:45 +01:00
VladimirMangos
7fb5d850bf [9510] Gameobject casting improvements.
* Add IsHostileTo/IsFriendlyTo and implement expected way checks for diff. world object types.
  For controlled object check redirected to specific owner, for wild gameobject base at gameobject faction.
  If faction not set expected to be hostile to anyone.
* Update grid searchers to be usable with world object instead only unit case.
  Some grid searches lost redundent second object arg, AnyAoETargetUnitInObjectRangeCheck lost hitHidden arg
  (for hitHidden==true case added new AnyAoEVisibleTargetUnitInObjectRangeCheck)
* Updated grid searchers used with gameobject area casts now.
  Note: Gameobject area spell cast animation will still wrong show around cast triggering target instead
  center around gameobject.
* In case gameobject aura apply to target for restored use target itself as caster because
  we not have currently another way apply aura form wild gameobject.
2010-03-04 07:38:26 +03:00
VladimirMangos
c71f79584d [9501] Implement item limit category inventory mode.
* Now expected item limit categories (for example for item 5513 and related)
  correctly limited by its amount in inventory.
* Provide and use additional arg in SendEquipError for alt. way get affected
  item prototype. This let send to function item id and prevent crash client at
  limit category equip errors that required item prototype data.
2010-03-02 14:10:38 +03:00
qsa
aa13458b69 [9495] Show overheal from HoT in combat log.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-01 09:00:33 +03:00
laise
59b28e3110 [9493] Fixed wrong spell cast at talent 50391 and ranks apply case.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-03-01 07:46:01 +03:00
NoFantasy
1f329d2fb3 [9491] Restore code commenting style after 9489/9490
Adjust comment style for rest of function and some additional code style cleanup.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-03-01 03:22:22 +01:00
VladimirMangos
9ba8235649 [9490] Make common apply/remove handler for another spell group in HandleAuraDummy 2010-03-01 02:12:20 +03:00
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