Commit graph

6024 commits

Author SHA1 Message Date
NoFantasy
94080a2d77 [11474] Adjust text of some log messages related to spell target
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-12 08:21:47 +02:00
Vinolentus
5c8797743a [11473] Avoid unexpected uint64->ObjectGuid convertion in ObjectGuid::GetString
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-12 09:32:49 +04:00
Xfurry
2355b0bfde [11472] Implement spells 23184/25041 periodic trigger code.
Also implement classes PlayerListSearcher and AnyPlayerInObjectRangeWithAuraCheck

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-12 00:09:04 +04:00
Xfurry
4bdf829064 [11471] Implement dummy effect 21147
Also simplify addThreatPercent but in same time avoid rounding in -100% case.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-11 23:06:04 +04:00
VladimirMangos
719e298795 [11470] Final cleanup uint64 guid cases
Also drop logout player update fields cleanup that in any cases not saved.
2011-05-11 21:36:27 +04:00
breakwater
a2b6a6fde5 [11469] Fix unapply of SPELL_AURA_MOD_THREAT auras when caster dies or logs off
Signed-off-by: zergtmn <zerg@myisp.com>
2011-05-11 18:43:03 +06:00
VladimirMangos
5ff698f53a [11468] Finally remove all uses Object::GetGUID from core sources.
GetGUID() is now depricted function and will removed soon.
Still exist just for give time for update patches/scripts.
2011-05-11 01:47:34 +04:00
VladimirMangos
1e38db574a [11467] Reorder class Channel sections to default used in mangos 2011-05-10 22:50:46 +04:00
VladimirMangos
b8bb108757 [11466] Use ObjectGuid in Map::m_objectsStore 2011-05-10 22:25:06 +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
VladimirMangos
a925db80fa [11464] Some item related guids convertion to ObjectGuids 2011-05-10 16:37:34 +04:00
TOM_RUS
4181b8f28b Added spell cast flags research. 2011-05-10 16:12:33 +04:00
Den
6e1988bfc7 [11463] Cleanup codestyle in PetHandler.cpp
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-10 13:10:45 +04:00
VladimirMangos
31c34a940d [11462] Missing ObjectGuids in spell code. 2011-05-10 13:05:39 +04:00
VladimirMangos
4989ffba9d [11461] Use ObjectGuid in GuardAI also... 2011-05-10 11:20:34 +04:00
VladimirMangos
b4f2e3d1a0 [11460] Use ObjectGuids in last missing cases in AI classes. 2011-05-10 11:06:26 +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
VladimirMangos
151e5eae9c [11458] Non-item related uint64 guids replaced by ObjectGUids in Player.h
Also let ObjectAccessor::FindPlayer optimize empty guid case work.
2011-05-09 21:54:09 +04:00
VladimirMangos
1d781cd431 [11457] Use ObjectGuid way work with PLAYER_DUEL_ARBITER. 2011-05-09 20:40:21 +04:00
VladimirMangos
7318bb0864 [11456] Some ObejctGuid uses in Pet code. 2011-05-09 20:22:03 +04:00
VladimirMangos
51031c2d24 [11455] Use ObjectGuid in HashMapHolder 2011-05-09 20:04:32 +04:00
VladimirMangos
b647835469 [11454] Use ObjectGuid in class Loot 2011-05-09 19:17:38 +04:00
Den
706c97c943 [11453] Fixed tier 8 4p bonus affect work
Also small spells ordering fix in `spell_proc_event`.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-09 05:50:24 +04:00
stfxpi
0c33b7bedf [11452] Implement spell 14537 effects.
Also re-add in correct way sql update for prev. commit.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-09 05:30:46 +04:00
bwsrv
917e832fed [11451] Fixed proc talent 63156 and ranks from 6353 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-09 04:19:57 +04:00
Most_Mangos
ad4c234e04 [11450] Aloow stacking some warlock DoTs
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-09 03:03:03 +04:00
NoFantasy
fac122184f [11449] Correct script effect of spell 50218
Also for related copy weapon/copy offhand weapon

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-09 00:06:30 +02:00
VladimirMangos
a4e91c3593 [11448] Fixed typo as source for recent crashes at quest start.
Also more stricjed typecheck for Object::isType arg value.
2011-05-09 01:21:24 +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
VladimirMangos
605fb79847 [11446] Reimplement corpse enter to instance.
* Resurrect player _before_ enter to instance with corpse
* In case corpse in more deep instance teleport to corpse instance inner entrance.
* If by some reason player can't enter to corpse instance it will just resurrected before entrance.

Original patch and research done by Den.
2011-05-09 00:58:42 +04:00
NoFantasy
6d28c7dfd0 [11445] Correct a possible crash, if caster of aura has disconnected after aura applied
A small code adjustment in addition, no need for caster at aura remove.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-08 19:48:40 +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
d98b9b9670 [11442] Cleanup codestyle in WorldSocketMgr.cpp & WorldSocketMgr.h
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-08 20:02:04 +04:00
zergtmn
d0a0479749 [11441] Add positiveness detection for SPELL_AURA_MOD_RESISTANCE auras 2011-05-08 15:49:42 +06: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
Den
ec10183e1d [11439] Cleanup codestyle in Bag.cpp & Bag.h
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-08 06:04:27 +04:00
VladimirMangos
a5fe00d6f6 [11438] Clarify code for quest start/source/req items adding/remove at quest start.
* Fix problem with complete quest when quest start item == quest source item.
  And source item not have max items amount setting.
* Avoid remove start item for case when it will re-added at next code line as source item
2011-05-08 05:56:33 +04:00
VladimirMangos
1cd48649c2 [11437] Fixed cases where forgotten that bags have TYPEID_CONTAINER != TYPEID_ITEM
Script case low chance affect real cases but for mail send from item can fix some problems.
2011-05-08 04:10:07 +04:00
BThallid
7237fe7f62 [11436] Really save/load item 5/6 objectives counters in quest status.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-08 01:55:32 +04:00
VladimirMangos
06ba42ccba [11435] Fixed IsPositiveEffect triggered spell case and some cleanups
Mostly found in time 400 update.
2011-05-08 01:43:02 +04:00
Lynx3d
3f531024f7 [11434] Implemented diminishing returns (DR) for dodge and parry chances.
Also updated base dodge and agility=>dodge conversion values for 3.2 and later

Base stats and percentage based talents/buffs are not affected by DR,
it basically prevents items and stat buffs becoming disproportionally
powerful in terms of survivability as characters approach 100% avoidance.

TODO: implement DR for chance to be missed from defense rating
2011-05-07 20:19:53 +02:00
VladimirMangos
8807af4a18 [11433] Remove remains 'internalItemHandler' as default in past item script name. 2011-05-07 18:38:42 +04:00
VladimirMangos
341379e1ab [11432] Provide access to some script data (names, count) for script DLL 2011-05-07 18:27:43 +04:00
zergtmn
3ecf19a05a [11431] Make gcc happy again 2011-05-06 22:18:42 +06:00
zergtmn
6498941ead [11430] Introduce GuildMgr
Move all guild-related functions from our overpowered ObjectMgr to GuildMgr.
Thx leak for idea.
2011-05-06 19:27:36 +06:00
VladimirMangos
e47031b55c [11429] Cleanup code for m_ClientBattleGroundIds. 2011-05-04 15:29:54 +04:00
Denn
75a9379fa7 [11428] Small cleanup in LoadAuctions.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-04 14:02:16 +04:00
NoFantasy
18605354f7 [11427] Add dummy effect of spell 48790
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-03 19:06:44 +02:00
NoFantasy
635d132ea8 [11426] Call JustSummoned (gameobject case) also from EffectSummonObject
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 23:55:55 +02:00