Commit graph

1077 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Foks
7204f83a55 [7804] Allow swap and move by bag slots equipped ammopouch and quiver
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-09 15:09:18 +04:00
VladimirMangos
3c057a92f5 [7803] Prevent ignore max money limit at use .modify money command. 2009-05-08 21:32:20 +04:00
VladimirMangos
fffaec6d71 [7802] Use more appropriate field types in character_achievement* tables. Better check data at loading. 2009-05-08 19:45:04 +04:00
VladimirMangos
f53d06ad70 [7801] Apply damage mods from scripts or target state not in DealDamage but in new function before send data to client.
* Fixed bug with health decrease (client side visual bug) at spell damage by target with AI::DamageTaken damage set to 0
* Fixed bug with ignore .die command and instant kill damage in some cases.
2009-05-08 17:07:40 +04:00
VladimirMangos
b9cd3ffd0d [7800] Small fixes for scripting case ActivateTaxiPathTo use:
* Allow wide mount model lookup in DBC data for script case
* Allow 0-coordinates node use in script case
2009-05-08 14:28:43 +04:00
VladimirMangos
943c76869d [7799] Use single function for SMSG_SPELLNONMELEEDAMAGELOG prepare. Merge comments, replace values by enums. 2009-05-08 12:42:58 +04:00
VladimirMangos
666b6f798e [7798] More Player::ActivateTaxiPathTo use improvements
* Provide more explicit way about spell that cast taxi flight if any
* Remove incorrect states instead error reporting in case non-taximaster flight start (cast/script)
* Remove mount_id arg from ActivateTaxiPathTo and implement support for 0 mount_id case (spell 32474)
* Implement spell 32474 (except finilize part)
* Provided Player::ActivateTaxiPathTo(uint32 taxi_path_id) function version for simplify one node to node paths use by id.
2009-05-08 01:15:53 +04:00
VladimirMangos
3989212ad1 [7797] Use DBC data for mount model selection in more cases.
* Use alt.team mount data for take player team model id if DB not provide own team creature id in spell taxi call case.
* Remove unddeded hacks for model ids from Spell::EffectSendTaxi
* Provide spell target for SPELL_EFFECT_SEND_TAXI for spell with target mode 0 for this effect.
2009-05-07 22:40:37 +04:00
VladimirMangos
a587590ab5 [7796] Implement .lookup taxinode and .go taxinode commands. 2009-05-07 19:37:14 +04:00
AlexDereka
3279b77b09 [7795] Added comments. 2009-05-07 13:39:32 +04:00
Astellar
55392c3417 [7794] Add DK pet type support for proper show it in client Pet tab.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-07 13:19:49 +04:00
DiSlord
b2d9faa1cf [7793] Add some comments to fields in Talent.dbc
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-06 22:02:35 +04:00
DiSlord
f2c514e810 [7792] Fix one rogue spell AP bonus
Signed-off-by: DiSlord <DiSlord@nomail.ru>
2009-05-06 19:18:09 +04:00
ApoC
ab170653fc [7791] Compile fix of [7789].
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 14:27:24 +02:00
Opterman
e0f5561cae [7790] Fixed proc spell for talent 49005
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 13:59:07 +02:00
Maxxie
4c29782d66 [7789] Fixed mana gain from spell effect EffectDestroyAllTotems.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 13:21:25 +02:00
DEN_North
54f29f7138 [7788] Implement item 40711 effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-06 14:48:31 +04:00
Maxxie
ac239e6178 [7787] Apply death preventing buffs after absorbing damage
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-06 14:03:04 +04:00
Elron
727268a4e8 [7786] Proper hostile zones marking for PvE servers.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-06 09:59:53 +04:00
Astellar
7355eb2f52 [7785] Allow regenerate energy for pets if this current power type.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-06 07:30:08 +04:00
VladimirMangos
75dda239d7 [7784] Skip distance to start taxi node in case node without coordinates and taxi flight started by spell. 2009-05-06 06:42:57 +04:00
DonTomika
b7417440df [7783] Fixed Night Elf death whisp form.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 00:35:32 +02:00
pasdVn
952474f22d [7782] Fixed dummy proc from spell 34074
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-06 00:25:48 +02:00
ApoC
cf4884b03a [7781] Fixed typo in my prev. commit.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-05 23:48:23 +02:00
ApoC
e8d8b1a888 [7780] Fixed Player::HasGuardianWithEntry()
Pets not contain in GUID entry but pet number so we need check
GetEntry() == entry

Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-05 23:38:19 +02:00
VladimirMangos
da04a946e7 [7779] Sort achievement criteria switch cases. 2009-05-06 01:04:24 +04:00
DonTomika
b27694f88b [7778] Implement honorable kill related achievement criteria
* ACHIEVEMENT_CRITERIA_TYPE_HK_CLASS
* ACHIEVEMENT_CRITERIA_TYPE_HK_RACE

Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-05 22:27:45 +02:00
Corfen
e70fdad6b7 [7777] Fixed talent 30299 and ranks procing also from holy dmg.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-05-05 22:05:54 +02:00