Laise
4f397bf7aa
[11757] change target of end cast procs to always be the caster, also not allow skill update when proc is called from cast end part
2011-07-27 08:49:44 +03:00
Laise
e178c79d51
[11748] Replace SpellModifier struct by direct aura access (this should fix charge drops of 36032) also revert [11740]
2011-07-20 15:41:39 +03:00
rowman
222612fa51
[11740] Restore spellmod charges used by fail spell cast
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Also
* Prevent more one charge use for same spell cast
* Cleanup enum SpellState from unused cases
* Propertly remove spellmod charges at spell finish in case pet/totem caster
2011-07-16 10:14:03 +04:00
zergtmn
f4802ab4c4
[11735] Spells 64844 and 64904 can target caster
2011-07-13 03:58:55 +06:00
Laise
6a597ae755
[11708] add negative auras, channeled and regeneration spells immunity for totems
2011-07-03 12:26:53 +03:00
Amaru
8f0c5d88b1
[11699] fix reflect damage if caster can reflect too
...
Signed-off-by: Laise <fenrisse@gmail.com>
2011-06-28 19:17:52 +03:00
Laise
178654bbba
[11697] fix damage and duration of reflected spells
2011-06-28 18:57:27 +03:00
Schmoozerd
26ccba0a8a
[11694] Implement spell 28560
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 16:24:02 +04:00
Den
8b4a85ac19
[11677] Paladin T10 Holy 2P Bonus
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-26 03:02:59 +04:00
Den
80b0c4c148
[11676] Implement glyph 42746
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-26 02:17:37 +04:00
Warlord123
85a13fcc33
[11666] Warrior T10 Protection 4P Bonus
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-24 05:53:52 +04:00
VladimirMangos
0413ff9c34
[11662] Spell 37433 targeting only non-swiming players.
...
Original patch provided by anti-freak.
2011-06-22 18:23:28 +04:00
VladimirMangos
5cf1a1a6b5
[11660] Fixed glyph 43427 apply.
...
Now must affect targets amount only for ability main spell.
2011-06-21 23:47:34 +04:00
zergtmn
ba7ce1d7c3
[11655] Add script effect of spell 62678 and 62688
...
Target 91 may require further adjustments.
2011-06-19 22:00:41 +06:00
VladimirMangos
fc88429972
[11647] Implement glyph 43427.
2011-06-19 01:52:56 +04:00
zergtmn
3443a97a28
[11633] Implement function Unit::HasAffectedAura
2011-06-17 22:06:22 +06:00
VladimirMangos
c686697c2d
[11623] Implement ClassFamilyMask as wrapper for uint64+uint32 spell family masks
...
Inspired by patch suggested by darkstalker
Also
* Remove existed enums for family masks as contra-productive for developement.
* Drop one from horrible hack checks in SpellMgr::IsNoStackSpellDueToSpell
(spells for any fimilies with exactly 0x800 mask) I fail find useful cases
for current spell data with this check. All cases expected work correct without it.
If will some problems detected with this please report for fix in less strange way.
2011-06-11 21:20:42 +04:00
C:/Program Files (x86)/git/dev/rsa
9ae4d59540
[11618] Fixed targets seelction for spell 48045 and ranks.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-06 19:03:34 +04:00
PSZ
3a60c4ae3b
[11610] Select proper spell difficulty subtitution.
...
Fix mostly affect cases when absent 25-man difficulties spell version.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 21:52:56 +04:00
Den
a59dc76774
[11605] Prevent use talent 33206 in stun without glyph 45760
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-05 19:42:45 +04:00
C:/Program Files (x86)/git/dev/rsa
cae9e9c29f
[11596] Correct some hunter spells, casted from pet.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-04 14:57:48 +04:00
Janu
f45b03f256
[11571] Fixed P2 Hunter T10 effects (limit to owner and pet only)
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-31 00:08:29 +04:00
VladimirMangos
4a087e6bda
[11557] Duel related fixes
...
* Implement duel allowed check base at proper area flag AREA_FLAG_DUEL (0x00000040)
This allow duels for example in capital area 4570 and allow/fogbid correctly some other zones and areas.
* Implement duel cancel at leave duel allowed area
* Fixed code for duels work in sunctuary if area allow duels.
2011-05-29 03:57:15 +04:00
breakwater
7205023415
[11556] Implement spell 42005 proper target seelction.
...
Also
* added TargetDistanceOrderFarAway ordering function and
* renamed TargetDistanceOrder -> TargetDistanceOrderFarAway
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-29 01:13:22 +04:00
NoFantasy
6b3359575b
[11554] Add some "tail" data for SMSG_CAST_FAILED and SMSG_PET_CAST_FAILED
...
Not all SPELL_FAILED_* are used currently (but ok for future implementation)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-28 13:06:03 +02:00
Xfurry
b4c354eff6
[11548] Fixed target amount for spell 64218
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-27 02:54:11 +04:00
VladimirMangos
21a1240811
[11547] Fixed spell 24604 targets.
...
Fix based at DENNO's idea.
2011-05-27 02:44:03 +04:00
breakwater
6b66f12a67
[11541] TARGET_CURRENT_ENEMY_COORDINATES/TARGET_ALL_ENEMY_IN_AREA_INSTANT pair code duplication.
...
Default way proccessing will work fine, so drop special case in code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-26 04:14:53 +04:00
VladimirMangos
2b79599986
[11540] Fixed spell 59752 and some other impossibility cast in stun like states.
...
Original patch provided by darkstalker.
2011-05-26 03:47:03 +04:00
VladimirMangos
78a4460501
[11535] More wide use IsFitToFamilyMask
...
Simplify check for one from cases base at recheck spell data.
2011-05-25 04:06:55 +04:00
VladimirMangos
8022cef6a7
[11512] Fixes for channeled spells casting.
...
* Set as expected caster channeling target to created dynamic object
at persistent aura area spell casts for channeled spell.
* Select correct caster/target for triggered spell in case channeled perioding trigger aura.
2011-05-20 22:53:30 +04:00
VladimirMangos
0564b622c2
[11510] Implement SPELL_AURA_MOD_PARRY_FROM_BEHIND_PERCENT (288) and related spell 19263.
...
Original patchs provided by KAPATEJIb and Roshnak.
2011-05-19 03:50:30 +04:00
Den
61f82dc5fc
[11504] Druid tier 10 2p bonus affect work
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-18 05:56:43 +04:00
laise
440e80b5ae
[11503] Warrior t10 dps set bonuses.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-18 05:07:29 +04:00
VladimirMangos
249fb836ca
[11490] Alow implicit cast ObjectGuid->uint64 and only explicit uint64->ObjectGuid
...
Now safe allow this casts in like way after completed convertion to ObjectGuid use.
Also simplify code in result allowed auto cast to uint64.
Please _not_ add new uint64 storages (local and in structures) for guid values.
2011-05-15 22:04:57 +04:00
VladimirMangos
116b053be8
[11478] Prevent overwrite main target at spell cast check for TARGET_PET
...
I also not find cases when first effect (safe mostly case) need like overwrite.
If some pet related spells stop work after commit please report.
2011-05-12 21:51:41 +04:00
VladimirMangos
ef6a48fe03
[11465] non-ObjectGuid guids in random places.
...
Only ChannelMgr code wide use uint64 guids now, and Map object stores.
2011-05-10 21:27:49 +04:00
TOM_RUS
4181b8f28b
Added spell cast flags research.
2011-05-10 16:12:33 +04:00
VladimirMangos
31c34a940d
[11462] Missing ObjectGuids in spell code.
2011-05-10 13:05:39 +04:00
VladimirMangos
44f2c26389
[11459] More ObjectGuid using in Aura/SpellAuraHolder code.
...
Also fix build in PetAI code. Thanks to rsa for fix code.
2011-05-09 23:17:39 +04:00
NoFantasy
8ee769a3cd
[11447] Make SPELL_AURA_MIRROR_IMAGE work also for TARGET_SCRIPT
...
Not the best solution though, and should figure out a more nice way to deal with it.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-08 23:05:38 +02:00
NoFantasy
b62c7f17f0
[11444] Replace some poo with good shit, improvements related to [11443]
...
Thanks Zergtmn!
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-08 19:21:10 +02:00
NoFantasy
4c3b61d4f5
[11443] Implement SPELL_AURA_MIRROR_IMAGE (247) and related receive/reply packets
...
Inspired by different patches posted in forum, thanks guys for the help it was :D
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-08 18:58:01 +02:00
Den
0bc434c16f
[11440] Restore itemset 650 4p bonus affect work
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-08 06:53:11 +04:00
VladimirMangos
30aae7b14e
[11424] Cleanups and fixes in FillAreaTargets
...
* Drop redundent and possible conflicting center point coordinates in FillAreaTargets/SpellNotifierCreatureAndPlayer call.
* Calculate proper coordinates base at PUSH_* and spell data in SpellNotifierCreatureAndPlayer
and provide its to Cell::VisitAllObjects also for use sync values in both.
* Use castingObject coordinates as caster in SpellNotifierCreatureAndPlayer that fix some GO casting cases.
Thanks to SeTM for original problem research.
2011-05-03 00:59:27 +04:00
VladimirMangos
3d90d921cc
[11402] More info about spell effect targets in debug output.
...
After deep past switch to per-target apply spell effects at cast
old debug output has been non-informative for multi-target spells.
2011-04-27 16:13:24 +04:00
TOM_RUS
730a907252
Use enum InventoryResult as return type for few functions.
2011-04-24 02:48:35 +04:00
zergtmn
2835aa5f20
[11385] Add support for static vehicle spawns
...
Signed-off-by: zergtmn <zerg@myisp.com>
2011-04-20 23:23:47 +06:00
VladimirMangos
c6dee6c2d6
[11375] Move holder-wide code from effect loop in immune cast checks.
2011-04-17 06:37:49 +04:00
zergtmn
85e7bbaad5
[11369] Restore visuals for infinitely channeled spells
...
Thx Schmoozerd for pointing problem and testing.
2011-04-17 00:02:03 +06:00