VladimirMangos
00db6dbf28
[10844] Remove small redundency in magnet spell charges checks.
2010-12-09 07:15:23 +03:00
michalpolko
4686f905ac
[10843] Fix AuraType 138 to not affect ranged haste, and rename to SPELL_AURA_MOD_MELEE_HASTE.
...
Also type 192 had misleading name, rename to SPELL_AURA_MOD_MELEE_RANGED_HASTE.
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
2010-12-09 02:18:53 +01:00
NoFantasy
1b4209699f
[10842] Allow fill DB table spell_script_target for TARGET_AREAEFFECT_INSTANT(7)
...
Without any database entries for spell, spell will work like before.
Valid targets filled to database can only be creature type (corpse or alive).
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-08 16:17:50 +01:00
michalpolko
08b32d7d32
[10841] Implement charges counting for magnet target auras.
...
Also implement skip spell effects redirecting if magnet target can't be
targeted by this spell effect base at spell effect target data requirements.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-08 10:42:19 +03:00
kb_z
1b4210e38c
[10840] Implement server side part of SPELL_AURA_ADD_MECHANIC_ABILITIES (293) work.
...
Also fix stealth/invisibility visual affect flags changed at some 3.x switch.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-08 09:12:44 +03:00
maly32167
1fef606dd8
[10839] At far teleport fail retunr player to source point instead homebind.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-08 06:48:27 +03:00
Schmoozerd
e95aee27e0
[10838] Not report error for missing reqs for some quest timed achievements.
...
This achievements in fact not required any additional checks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-08 06:12:09 +03:00
Schmoozerd
8d5fdb300e
[10837] Implement script effect of spell 26218.
...
Also do small spells ordering around.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-08 06:03:03 +03:00
Lynx3d
29d5f56247
[10836] Again ignore EffectSpellClassMask when SchoolMask given in spell_proc_event.
...
There's just too much garbage in dbc...
Should restore some damage school based talents broken with [10830],
hopefully without excessively triggering other spells again that shouldn't.
2010-12-08 02:10:14 +01:00
Lynx3d
4cf8c0cf47
[10835] Add/correct a couple more spell_proc_event entries for trinket related spells
...
*Affected items: 45131, 45219, 50359, 50366, 50360, 50365,
50353, 50348, 50362, 50363, 50342, 50343, 50358
2010-12-08 01:31:48 +01:00
VladimirMangos
4c02094737
[10834] Cleanup shapeshift form code.
2010-12-07 14:41:59 +03:00
VladimirMangos
c3254c88ca
[10833] Avoid use unsafe remove auras in aura apply code.
...
Specailly example Aura::HandleModCharm code where old code
call RemoveSpellsCausingAura or (a) dead and not called,
or (b) will remove aura self at call.
* Added safe for aura holder context version of RemoveSpellsCausingAura
* Cleanup old simple RemoveSpellsCausingAura code also.
2010-12-07 12:31:01 +03:00
patman128
031f2b00f1
[10832] Spawn pool at aura 63471 dispel in water.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-07 05:46:58 +03:00
VladimirMangos
4ad58ecb49
[10831] Fixed crash at send mail from console
...
Inspired by patch from rsa.
2010-12-07 03:48:26 +03:00
Lynx3d
81b6cb2751
[10830] Prevent spell_proc_event entries to proc on any spell cast when SpellFamilyName is zero.
...
Now only spells that actually deal damage or heal will trigger
when neither SpellFamilyName nor ProcEx & PROC_EX_EX_TRIGGER_ALWAYS are set.
Before, setting a SchoolMask would override this check, causing many bogus procs.
2010-12-06 21:18:25 +01:00
VladimirMangos
b6ea36192e
[10829] Update SpellFamily check functions.
...
* Move SPELLFAMILY_* to DBCEnums.h and name it as SpellFamily
* Use enum in Unit::GetAura, move family mask code to new SpellEntry helper function.
* Avoid all auras scan in search of triggred spell for 20243.
2010-12-06 08:40:39 +03:00
Neo2003
695a64d42b
[10828] Fix warnings for TBB projects compilation using Visual Studio 10
...
Also fix a small typo in prev commit.
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-12-05 11:26:31 +01:00
Neo2003
14454c0572
[10827] Add VC80 projects and solutions files where missing like vmap_extractor
...
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-12-05 10:30:24 +01:00
Neo2003
c7c5449545
[10826] Fix vmap_assembler compilation after vmap folder move
...
Also make vmap_assembler compile sucessfuly with VC80.
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-12-05 10:10:48 +01:00
VladimirMangos
80712b928a
[10825] Move specific SQLStorage defines to game dir
...
This let have in shared dir only generic declarations of class SQLStorage
Not game specific details.
2010-12-05 03:29:11 +03:00
TOM_RUS
c7a4f74676
[10824] Fixed copy-paste typo in prev. commit.
2010-12-04 11:41:47 +03:00
VladimirMangos
b967848e42
[10823] Clear way access/set UNIT_FIELD_BYTES_*/PLAYER_BYTES* byte fields.
...
Fix some bugs when all uint32 field modified instead byte parts.
In some cases added byte way set/get but code line itself need additinal reserch/fix
for use correctness in line pos.
2010-12-04 11:15:19 +03:00
Vinolentus
9e071e4483
[10822] Fixed "unsigned is never < 0" warning.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-04 03:19:11 +03:00
zerg
5f099d5fc0
[10821] Restore anti-cheating check work at buy item
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-04 02:07:59 +03:00
VladimirMangos
534d43daa1
[10820] Speedup and cleanup quest counters update code.
...
* Always use QuestStatus data for current counters set
This let be sure that that we not have non sync values in client view and server state.
* Remove some access functions for quest update fields that expected to be only updated/set.
2010-12-03 06:09:00 +03:00
SilverIce
d560503a03
[10819] Fixed creature's speed recalculation, forgotten DB speed mods are used now
...
Also properly update speeds at creature entry change(in case there are aura speed bonuses), thanks to Vladimir for pointing
2010-12-03 04:11:52 +02:00
NoFantasy
49881d4215
[10818] Add dummy effect of spell 47170
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-12-02 15:26:39 +01:00
Feanordev
c8abfa4afa
[10817] Add explicit include for ObjectGuid.h in AchievementMgr.h.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-02 11:02:08 +03:00
VladimirMangos
7e7e1cb008
[10816] Remove GUID_LOPART/GUID_HIPART
...
* Now no correct way access to internal structure of guid in uint64 form.
For this always must be used ObjectGuid form.
* Guids in uint64 form still used in some cases (many) but it uses as-is
Main source of uint64 guids is non-converted opcode handlers.
* Also ofc, possible cases wrong created uint64 guids by assign uint32 to uint64.
For catch all cases need finish convertion to ObjectGuid all non-converted yet code.
2010-12-02 09:02:19 +03:00
VladimirMangos
a8a7f3c796
[10815] Use in social lists API ObjectGuid form.
...
0 GUID_LOPART uses in code. :)
2010-12-02 08:32:46 +03:00
VladimirMangos
3c0b80dada
[10814] Convert to ObjectGuid aura cast item guid access function.
2010-12-02 08:12:15 +03:00
VladimirMangos
957c9331a9
[10813] Use ObjectGuid for aura holder cast item guid.
...
Still exist 7 GUID_LOPART uses in code.
2010-12-02 08:02:22 +03:00
VladimirMangos
0a964e43a9
[10812] Use ObjectGuid for corpse owner guid.
...
Still exist 9 GUID_LOPART uses in code.
2010-12-02 07:28:17 +03:00
VladimirMangos
b305f203b9
[10811] Use ObjectGuids in chat commands.
...
Still exist 15 GUID_LOPART uses in code.
2010-12-02 07:09:11 +03:00
VladimirMangos
c6d3c5e0d6
[10810] More ObjectGuids specially in petition code.
...
Some uint64<->uin32 bugs fixed at read guids from DB in petition code.
Still exist 29 GUID_LOPART uses in code.
2010-12-02 05:17:00 +03:00
SeTM
1fbc09e1fd
[10809] Remove diplicate World::GetQueueSize and rename functions to consistence naming
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-02 02:38:44 +03:00
VladimirMangos
7657d4faf1
[10808] Small cleanup and optimization in transport current point update.
2010-12-02 02:15:50 +03:00
VladimirMangos
2277b24207
[10807] Typo fix and memory layout optimization.
2010-12-02 01:31:11 +03:00
VladimirMangos
fc35cf0d3b
[10806] Fixed typo in m_PrematureCountDownTimer initila value set.
...
Just fo note: in fact initial value assign not used because
m_PrematureCountDownTimer always init and used only in case
m_PrematureCountDonw == true
2010-12-02 00:54:47 +03:00
SeTM
29f7f05414
[10805] Remove code duplication in visibility distance check.
...
at_same_transport already include player checks at assign and
it move to common if make 3 distance cases exactly same.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-02 00:50:02 +03:00
gc
47bdcd1595
[10804] Restore build at *nix.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-12-02 00:29:51 +03:00
VladimirMangos
090bdf1dc7
[10803] Use ObjectGuid in player loading code.
2010-12-01 15:27:41 +03:00
VladimirMangos
938622bedc
[10802] Use ObjectGuid in Mail code.
...
Some catched bugs fixed in mixed uint32/guid values using cases.
2010-12-01 15:11:08 +03:00
VladimirMangos
3de8212e03
[10801] More ObjectGuid uses in battleground code.
2010-12-01 13:29:30 +03:00
VladimirMangos
6d13cd6553
[10800] Use ObjectGuid in some battleground structures.
...
Also fix some catches bugs in code in result.
2010-12-01 11:24:35 +03:00
VladimirMangos
ce7b98c45e
[10799] Add GetGuidStr() short call for GetObjectGuid().GetString() and use it.
2010-12-01 09:56:13 +03:00
VladimirMangos
2fa4cf41a7
[10798] Some more warning fixes related to BattleGroundTeamIndex/BattleGroundAVTeamIndex.
2010-12-01 02:28:01 +03:00
NoFantasy
afe50cd549
[10797] Check for valid sheath state in creature addon at startup.
...
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-11-30 09:42:51 +01:00
VladimirMangos
a2909f2674
[10796] Use regular map case in all trigger checks.
2010-11-30 11:12:46 +03:00
VladimirMangos
74d178633e
[10795] I must less press random buttons before push in monkey mode.
2010-11-30 04:43:01 +03:00