Commit graph

5980 commits

Author SHA1 Message Date
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
rsa
81bd108174 [11425] Remove duplicate SetSheath call for hunter pet.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-03 01:04:57 +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
b997f4925d [11423] Support localization into auction sorting. 2011-05-02 22:06:51 +04:00
NoFantasy
0b2f34f93b [11422] Fix bug in spell dummy for 46485, looking up by wrong field
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 19:28:13 +02:00
NoFantasy
73985bca70 [11421] Minor adjustment of spell dummy effect for 46797
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 18:28:06 +02:00
rsa
5ae833022e [11420] Fixed non-PCH build.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-02 20:01:57 +04:00
VladimirMangos
dc1fd2b6cb [11419] Resolve some problems with auction sorting. 2011-05-02 19:39:35 +04:00
NoFantasy
df1376b14b [11418] Add CreatureAI call JustSummoned version for GameObject*
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 10:18:11 +02:00
NoFantasy
9aaa8069e2 [11417] Add dummy effect of spell 45583
Another dummy that need static Gameobject spawns in database.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 08:39:51 +02:00
NoFantasy
ed6bc11c76 [11416] Add dummy effect of spell 46171
Another case of respawning GO from database, DB devs be aware.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-02 00:37:30 +02:00
VladimirMangos
864ec71941 [11415] Better server side error reporting to player for bid adding cases
Sometime to client can sedn bid infor near to same time.
In like cases client fail prevent bid apply attempt at self side
and need send proper error from server side instead just ignore packet.
2011-05-02 02:06:23 +04:00
VladimirMangos
ea8821ae8d [11414] Fixed auction expire mail subject.
Just undo typo in recent auction changes.
2011-05-01 23:01:21 +04:00
NoFantasy
d8ea895a20 [11413] Extend dummy effect for spell 52369 and 52371
Search for gameobject near target and respawn if not already spawned.
Att. DB devs: gameobject should be added to database, with negative spawntimesecs.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-01 16:49:19 +02:00
NoFantasy
f076575a7b [11412] Add dummy effect of spell 52369 and 52371
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-01 10:38:51 +02:00
VladimirMangos
a9ec4f1094 [11411] More comment to more clear place after prev. commit. 2011-05-01 03:22:58 +04:00
VladimirMangos
6bdd55bd14 [11410] Move class and some other field set to Pet::InitStatsForLevel
This let use it also at pet first summon case as expected.
2011-05-01 03:06:18 +04:00