Commit graph

6134 commits

Author SHA1 Message Date
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
BThallid
8f634dc90a [11409] Fixed value typo in ITEM_FLAG_UNK30 define.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-05-01 02:13:00 +04:00
NoFantasy
d68e8368f7 [11408] Do not ignore SHEATH_STATE_UNARMED when 0 defined in database *_addon
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-30 14:00:46 +02:00
Xfurry
4bdc02509a [11407] Add dummy effect of spell 17950
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-30 10:55:54 +02:00
NoFantasy
c1ab3c4be4 [11406] Add dummy aura effect (removal) of spell 42454
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-29 09:45:08 +02:00
VladimirMangos
4e2a476d7d [11405] Fixed trailing spaces in LfgJoinResult. 2011-04-28 17:56:11 +04:00
NoFantasy
b4a22a6879 [11404] Revert [11403] Adjust dummy aura of spell 51329.
Place spell where it belongs instead, along with other spells doing the same. Spell will add/remove the correct flags this time.
git blame: Hasty research, lack of coffee, broken brain

Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-28 12:14:52 +02:00
NoFantasy
4ca4118d5a [11403] Adjust dummy aura of spell 51329, apply/remove only expected flags.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2011-04-28 11:45:35 +02: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
invalid-email-address
8c91b6509d [11401] Correct bug with displaying reputation on new characters.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-27 04:26:59 +04:00
VladimirMangos
5cd9f234f5 [11400] Add missing file to shared.vc*proj 2011-04-26 22:36:06 +04:00
Neo2003
e512fc9081 [11399] Make CMake a bit more usefull for Win/MSVC
Also make the -DPREFIX work on Win/MSVC

Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2011-04-26 18:48:46 +02:00
unknown
82367bbdea [11398] Get rid of 2 useless timers and drop a problematic diff in session update
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr)>
2011-04-26 18:39:04 +02:00
VladimirMangos
66598c8815 [11397] Prevent happens one from cases "alive ghost" state.
Sometime levelup possible for dead player, prevent reset health in this case.
2011-04-26 04:48:15 +04:00
TOM_RUS
66ba7d2c49 [11396] Auction: server side sorting and get all auctions feature. 2011-04-26 04:05:23 +04:00
DasBlub
0f7aaa865a [11395] minor code cleanup for spell 26275 2011-04-24 23:09:33 +02:00
DasBlub
dd0b464a87 [11394] the spell ids 26275 and 38358 were out of order in the switch(). moved them to the correct place.
thanks to vladimir for pointing out!
2011-04-24 23:05:49 +02:00
Schmoozerd
25fc13f64c [11393] add whitespace rules to .gitattributes
Signed-off-by: DasBlub <DasBlub@gmail.com>
2011-04-24 22:56:01 +02:00
megamage
119d7d9f48 [11392] implement spell 38358 which casts 38353
Original patch created by megamage, modified by stfx and Schmoozerd. Thanks!

Signed-off-by: DasBlub <DasBlub@gmail.com>
2011-04-24 22:33:08 +02:00
TOM_RUS
e1f345c49f SQL fix. 2011-04-24 22:22:37 +04:00
TOM_RUS
e39a8b55a0 [11391] Auction: multi sell, sale pending list and other fixes. 2011-04-24 21:57:49 +04:00
TOM_RUS
730a907252 Use enum InventoryResult as return type for few functions. 2011-04-24 02:48:35 +04:00
Lynx3d
23a861e4a6 [11390] Fully fix equipment set save...hopefully. 2011-04-23 08:21:17 +02:00
zergtmn
a030d46ef0 [11389] Fix mangos.sql after [11385] 2011-04-21 19:19:25 +06:00
SilverIce
eb678ce092 [11388] Don't add MOVEFLAG_ROOT in case creature has no moving state
need unroot unit before move or not use that flag at all
2011-04-21 15:00:38 +03:00