Commit graph

6084 commits

Author SHA1 Message Date
VladimirMangos
b5c3ec952f [11533] Fixed wrong call IsFitToFamilyMask in my prev commit.
Also prevent like wrong usage in future by additional check.
2011-05-24 18:08:45 +04:00
VladimirMangos
da06d09c45 [11532] Prevent triggering some spells at 0 damage hit. 2011-05-24 16:33:23 +04:00
SilverIce
1b709c8ff8 [11531] Normalize gameobject's quaternion, thanks to zergtmn for pointing 2011-05-24 13:12:48 +03:00
breakwater
d02bee5127 [11530] Fixes for talent 47201 and ranks
* Update triggering source spells.
* In code overwrite wrong family mask data for spell mod.
  If more cases will be maybe will better restore spell_affect table.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-24 06:00:47 +04:00
SilverIce
7c86d3f477 [11529] Pack and send to client all gameobject's quaternion components which allows place gameobjects cornerwise.
Update '.gobject turn' command, now you have to specify 3 rotations to turn gameobject: rotation angles around z, y and x axes.
Note to DB devs: use QuaternionCompressed::Unpack to extract rotations from the data that came with UPDATEFLAG_ROTATION.
2011-05-24 03:49:13 +03:00
blueboy
ab50a7d3e9 [11528] typeid usage req. include <typeinfo> for GCC build.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-24 03:53:10 +04:00
SilverIce
7d889c0821 [11527] Check rotation0 and rotation1 fields at gameobject data loading 2011-05-24 02:27:45 +03:00
VladimirMangos
f98144e89d [11526] Make ChatHandler accessable from script DLL as expected by recently added AI call. 2011-05-24 01:15:45 +04:00
VladimirMangos
dcac3b8fa0 [11525] Fixed stacking talent 46951 and ranks triggered spell with glyph 43424 triggered. 2011-05-23 07:07:50 +04:00
VladimirMangos
d5675ba3bd [11524] Avoid adding auction item to player inventory update queue.
Also not set ITEM_FIELD_CONTAINED before real adding item to inventory.
No known porblem with last but code cleanup.
2011-05-23 05:33:21 +04:00
Schmoozerd
4ba5aa83e3 [11523] Implement .npc aiinfo
Comamnd show information about used AI and scripts for targeted creature.
AI classes (including from script DLL) can provide additinal info about own state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-23 03:05:05 +04:00
jethro84530
ae2a9e1c6a [11522] Replace code expression (!a > 0) to safe version.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-22 02:02:14 +04:00
Iriskin
5876afb0a4 [11521] Fixed typo in chat command help.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 23:55:03 +04:00
VladimirMangos
40fb57e461 [11520] Fixed service/daemon calls order. Mixed wrongly in my prev. related fix. :/
Provide more information at windows service (un)install errors.

Note: by some reasons i have sometime problems with start windows service using '-s run' command
but it start fine by manual from services control applet. Maybe related to used by me win7 x64
2011-05-21 23:47:36 +04:00
NoFantasy
b46237b643 [11519] Fix player totem icons (those under player portrait)
SMSG_TOTEM_CREATED must be sent before totem added to map.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-21 10:32:07 +02:00
NoFantasy
569d7cdc42 [11518] Add script effect of spell 48810 and 48811, dummy aura of 48143
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-21 08:15:12 +02:00
VladimirMangos
f2cdfcf9b2 [11517] Restore work glyph 43350 2011-05-21 06:04:49 +04:00
laise
36857cadc9 [11516] Druid T10 Balance 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 04:49:36 +04:00
przemratajczak
95b980690a [11515] Implement spell 62679.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 04:21:25 +04:00
przemratajczak
927a577590 [11514] Periodic summon spells 53035, 53036, 53037.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-21 00:04:31 +04:00
Vinolentus
19ff7f0a8b [11513] Not pass command list as format %s value.
This let avoid not nice command list text length limitation.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-20 23:14:06 +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
TOM_RUS
489dc80875 Fixed typo. 2011-05-20 20:08:18 +04:00
LordJZ
ad524d43fe [11511] Fix opcode names after recent update
Signed-off-by: zergtmn <zerg@myisp.com>
2011-05-20 21:54:41 +06: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
VladimirMangos
b7cc436571 [11509] Trigger 35541 and ranks only at success offhand hit. 2011-05-18 23:05:01 +04:00
NeatElves
87d6cf2367 [11508] Restore build with GCC (so make sources real C++ from VC++)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-18 20:45:04 +04:00
VladimirMangos
6ed4dfe827 [11507] Fixed problem with too later config read in recent added posix daemon support.
Restore read config _after_ option parsing in any cases.
2011-05-18 19:43:21 +04:00
VladimirMangos
945466934d [11506] Fixed warning at added in prev commit code. 2011-05-18 18:41:06 +04:00
VladimirMangos
f3e3e53634 [11505] Clarify check cases "health drops below" in spell proc code.
Avoid repeating triggering at health exactly at bound and 0 damage apply.

Thank you to boxa for pointing to problem.
2011-05-18 18:33:46 +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
9c65b04f5b [11502] Fixed windows service run after adding posix daemon support 2011-05-18 03:57:05 +04:00
VladimirMangos
eb61995f7e [11501] Implement item 46098/46348 enchanting work. 2011-05-18 03:15:24 +04:00
finomen
d00592f692 [11500] Allow run mangos as daemon (linux/other posix)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-17 19:33:10 +04:00
VladimirMangos
b022e398b7 [11499] Clarify quest giver object state after Player::AddQuest. 2011-05-17 01:18:27 +04:00
breakwater
7f957eb88e [11498] Allow stacking some paladin DoTs at target.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-17 00:54:11 +04:00
VladimirMangos
d111d1a4b3 [11497] Fixed another source of crash at accept quest from item.
OnQuestAccept script calls moved into Player::AddQuest before
remove/replace quest starting item.
Its still called only at quest accept ofc (questGiver object != NULL only in like case.
2011-05-17 00:42:07 +04:00
NoFantasy
4b00269ccc [11496] Add dummy aura effect (removal) of spell 12774
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-16 19:03:12 +02:00
VladimirMangos
6237c115a5 [11495] Implement damage taken reduce part of spell 20911, 25899. 2011-05-16 20:47:14 +04:00
VladimirMangos
575584ad9b [11494] Implement spell 1842 and similar. 2011-05-16 17:17:14 +04:00
zergtmn
d001ce2d2e [11493] Add comment for prev. commit 2011-05-16 02:28:57 +06:00
zergtmn
05cfb8d36b [11492] Fix possible crash at guardian pet unsummon 2011-05-16 01:59:04 +06:00
VladimirMangos
55cc1ea37f [11491] Step back to implicit ObjectGuid(uint64 const& guid) in wait code users updating.
Must be reverted with drop GetGUID() when code ready.
2011-05-15 23:37:01 +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
NoFantasy
ecdb435b1e [11489] Remove the old and custom UNIT_NPC_FLAG_GUARD for creatures.
Existing data moved to flags_extra field, with value CREATURE_FLAG_EXTRA_GUARD (0x400 / 1024).
Remove isGuard() from Unit class to a new IsGuard() function in Creature class.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-05-14 19:17:13 +02:00
zergtmn
639cac83a3 [11488] Add ObjectGuid::operator !() for use as shorter form of IsEmpty() 2011-05-14 22:08:25 +06:00
SilverIce
7d6b52641b [11487] Fix WorldTimer code (previous code causes server time flow speed to be on ~ 1-2% slower than real time) 2011-05-14 16:59:21 +03:00
VladimirMangos
6833efe12e [11486] Revert recent changes in BattleGroundMgr::DeleteAllBattleGrounds
Reason added in comment to code line.
2011-05-14 17:09:49 +04:00
zergtmn
c6b5064725 [11485] Move mail opcode handlers to separate file 2011-05-14 17:57:23 +06:00