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
Ambal
5a22b8c6dd
[11368] small code refactoring: use container typedefs instead of direct container declarations to simplify code.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-16 13:42:40 +03:00
michalpolko
4b7dffcc09
[11367] Check for SPELL_ATTR_EX_UNAFFECTED_BY_SCHOOL_IMMUNE when checking school immunity
2011-04-16 11:49:26 +03:00
rsa
cd32dd9bfc
[11330] Use ObjectGuid to store Totem guids instead of uint64 and fix related rare crash.
...
Signed-off-by: Ambal <pogrebniak@gala.net>
2011-04-11 22:45:32 +03:00
VladimirMangos
633b84b235
[11324] TARGET_RANDOM_NEARBY_DEST expected targeting any random target point in radius.
2011-04-07 23:01:21 +04:00
zergtmn
0dfcbf8051
[11322] Get rid of redundant CalculateSpellDuration calls, calculate once in Spell::prepare
...
Also fix despawn time calculation of dynamic objects.
2011-04-07 13:32:29 +06:00
zergtmn
4687fa8cb4
[11299] Handle aura durations in SpellAuraHolder
...
- Unit::CalculateSpellDuration split into two functions
- CalculateSpellDuration taking into account combo points and caster-side spell mods
- Unit::CalculateAuraDuration taking into account target-side spell mods
- Diminishing is now applied before duration reduction mods
- Implement saving per-effect periodic timers to DB (required for auras affected by haste)
2011-03-30 23:29:01 +06:00
zergtmn
ee5b59b7e0
[11293] Cleanups in spell target lists
2011-03-28 01:14:36 +06:00
VladimirMangos
989d229968
[11288] Check IsPositiveEffect in IsPositiveSpell only for existed effects.
...
Thanks to NoFantasy for problem research.
Also make IsPositiveEffect use SpellEntry* arg instead spell id.
2011-03-26 03:10:26 +03:00
VladimirMangos
678cfcea78
[11276] In dest. point slection must used in world casting object (not owner of cast affects)
2011-03-22 03:25:39 +03:00
VladimirMangos
b588ea9db3
[11260] Add wrapper for creature vistual item set.
2011-03-16 20:21:45 +03:00
NoFantasy
13776fa1e4
[11245] Clarify and provide more details for errors related to table spell_script_target
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-03-14 10:15:47 +01:00
VladimirMangos
8f3d97d955
[11219] Allow work SPELL_EFFECT_PERSISTENT_AREA_AURA with 0/18 only target modes
2011-03-05 23:00:06 +03:00
VladimirMangos
06fe777f82
[11215] Replace direct code use in .npc tame by spell cast.
...
Only work different from old way: target creature despawned.
So if this not expected use .respawn to it in gm mode or area respawn.
Code simplification suggested originally by rsa.
2011-03-03 21:33:47 +03:00
Lynx3d
44fd108745
[11203] Implement creating scrolls when enchanting vellum.
...
Thanks to Lightguard and timmons for original contribution.
2011-02-24 01:23:59 +01:00