Commit graph

2134 commits

Author SHA1 Message Date
xILOSWag
8cf9dc035b [7837] Implement missed item enchant type (stat mana, stat health)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-16 12:35:43 +04:00
VladimirMangos
45b209df50 [7836] Fixes for distance range checks.
* ignore 0.0f min range limit (this correct case when 2 object overlapped)
* typo in CreatureEventAI::CanCast

Also use int32 for temporary store GetSessionDbLocaleIndex result.
2009-05-16 10:25:11 +04:00
tomrus88
6734694a90 Merge commit 'origin/master' into 310
Conflicts:
	src/game/Player.cpp
2009-05-16 00:47:37 +04:00
VladimirMangos
7a7ee86f97 [7835] Store structures (with size = uint32) insteed pointer to structure in PetSpellMap. 2009-05-15 17:22:44 +04:00
VladimirMangos
6aacc45ace [7834] Mangos string loading code cleanups.
* Better integration creature event ai strings.
* Not inclide in checks as expected max mangos strings range value to range
2009-05-15 17:01:11 +04:00
VladimirMangos
a1f4549862 [7833] Implement levelup spells for non-hunter pets.
* Use less hacky way to prepare data in SpellMgr::LoadPetLevelupSpellMap.
* Fill data for all pet families including not hunter pets.
* Fixed bug with lost/unexpected learned spells for some hunter pet families.

Use less hackky way for
2009-05-15 06:26:19 +04:00
VladimirMangos
b722e75d90 [7832] Better check at petcreateinfo_spell loading for errors and redundend data. 2009-05-15 06:19:11 +04:00
VladimirMangos
e134b5383b [7831] Prevent have hunter pet with level greater player levels at level changes. Propertly set hunter pet xp values at level update. 2009-05-15 05:33:46 +04:00
byeolpyo
ac67ac8c28 [7830] Spell chain data for 54424 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-14 23:41:21 +04:00
VladimirMangos
8858aacfb0 [7829] Rename 3d (x,y,.. versions of IsWithinDist/IsWithinDist functions with adding 3d explict posfix to name for avoid wrong use. 2009-05-14 21:42:32 +04:00
VladimirMangos
42d74d811f [7828] Add 2d/3d versions for WorldObject::IsInRange(x,y,... and WorldObject::IsWithinDist(x,y,... 2009-05-14 20:55:06 +04:00
VladimirMangos
592db69c0c [7827] dd support 2d version for WorldObject::GetDistanceOrder. 2009-05-14 20:10:11 +04:00
VladimirMangos
788cdf9b3a [7826] Avoid use GetDistance* that used slow sqrt call where possible, other related speedups. 2009-05-14 18:51:13 +04:00
BombermaG
ff80f14d2d [7825] Fixed typo in comment and var. name.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-14 12:36:14 +04:00
DiSlord
1f3210b0ca [7824] Implement use ArmorDamageModifier bonus for armor
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-14 12:06:47 +04:00
DiSlord
640d46ce1f [7823] Fix ScalingStatValue field size in item_template table.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-14 11:49:06 +04:00
Foks
dbf1f4323b [7822] Avoid declined names form show in case disabled config option with russian client at non-russian realm.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-14 11:31:04 +04:00
KAPATEJIb
28c7c95b87 [7821] Fixed typo in comment and var. name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-14 10:45:44 +04:00
VladimirMangos
4edbdb02f6 [7820] Fixed typo in [7819] that not allow correct work non-scalling item stats. 2009-05-14 10:40:11 +04:00
VladimirMangos
167e8c86f6 Code style and cleanups in item equip checks. 2009-05-14 10:37:23 +04:00
tomrus88
f499a8cba3 Updated to latest PTR build 9901. 2009-05-14 02:14:34 +04:00
DiSlord
bfe2e187a6 [7819] Correct use item ScalingStatValues data (ScalingStatValues.dbc):
- ScalingStatDistribution stats multiplier
 - Armor bonus from ssv
 - Damage from ssv
 - Feral AP from ssv
 - Feral AP from ssv dps bonus
Use item->StatsCount in apply mods
Not allow equip item if level > ScalingStatDistribution->maxlevel field

TODO find more info about ScalingStatValuesEntry->spellBonus
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-14 00:16:21 +04:00
DonTomika
fd71c2bd6f [7818] Implement SPELL_AURA_MOD_FACTION_REPUTATION_GAIN.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-13 23:34:53 +04:00
Brueggus
f81cc0bf6a [7817] Add missing sql-updates to mangos.sql (7776, 7777, 7782) (cherry picked from commit dd26ba3edf339277a94301aa10caf26d33aab576)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-13 17:27:10 +04:00
VladimirMangos
dcec7c88c4 Record in NEWS recent changes in dep. libs. 2009-05-13 16:40:19 +04:00
Ambal
ae52a1b782 [7816] ACE thread priority values verification.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-13 16:19:07 +04:00
VladimirMangos
803a815fa4 [7815] Apply mangos code style: Replace tabs by spaces in recent added code. 2009-05-13 15:48:23 +04:00
tomrus88
fdba3188d1 Merge commit 'origin/master' into 310 2009-05-13 12:37:28 +04:00
tomrus88
8b163cca52 Updated OpenSSL lib to OpenSSL 0.9.8k 2009-05-13 12:33:05 +04:00
tomrus88
3353055d9b No real changes. 2009-05-13 12:25:29 +04:00
XTZGZoReX
938a1e4096 [7814] Fixed typo in loading of Visibility.Distance.Object.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-12 17:41:07 +04:00
AlexDereka
cf0e3c7a4b [7813] Fixed build x64 debug on win. 2009-05-12 13:49:21 +04:00
tomrus88
9b2266f7a5 Merge commit 'origin/master' into 310 2009-05-12 01:20:45 +04:00
tomrus88
92401853c5 Updated to latest PTR build. 2009-05-12 01:20:12 +04:00
Derex
8b9b480c05 [7812] Fixed compile ACE aio in linux.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-11 18:53:01 +04:00
tomrus88
6440087588 Updated DBC structure. 2009-05-11 15:57:37 +04:00
tomrus88
c86290fa50 Merge commit 'origin/master' into 310 2009-05-11 15:11:02 +04:00
Ambal
a4eab7e9f2 [7811] do not reload already loaded map coordinats at runtime.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-11 13:01:56 +04:00
Ambal
2aff48cc5d [7810] Moved ZThread related code on ACE framework.
Remove ZThread source code from mangos.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-11 12:14:22 +04:00
tomrus88
5ab735d374 Merge commit 'origin/master' into 310 2009-05-10 21:46:26 +04:00
tomrus88
12bd33afc6 Removed unsupported client build. 2009-05-10 13:04:57 +04:00
tomrus88
0db4ccc692 Partly fixed MSG_LOOKING_FOR_GROUP opcode. 2009-05-10 00:46:11 +04:00
VladimirMangos
f117ce3420 [7809] Replace repeating "remove cooldown and send update to client" code by function call. 2009-05-09 19:32:24 +04:00
Astellar
09046df744 [7808] Move corpse search code in function with template arg for class-check.
This let reuse code for other similar near corpse target selection spells.
Also provided currently not used class-checks for 2 spells

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-09 18:48:18 +04:00
VladimirMangos
1feff6365f [7807] Drop dead code after switch to 3.0.x. 2009-05-09 17:45:02 +04:00
NoFantasy
829649aac6 [7806] Defines for known gossip icon value cases.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-09 16:50:08 +04:00
Nezemnoy
00820846e9 [7805] Refactoring batleground rewards code for cleanup and useful state for custom reward reuse.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-09 16:20:13 +04:00
tomrus88
ef7656a554 Compile fix. 2009-05-09 16:04:04 +04:00
tomrus88
3c43e9dd52 Merge commit 'origin/master' into 310 2009-05-09 16:03:32 +04:00
tomrus88
5e26a2a152 Just a few renames. 2009-05-09 16:01:31 +04:00