Commit graph

746 commits

Author SHA1 Message Date
tomrus88
1f87157edf Merge commit 'origin/master' into 310
Conflicts:
	src/game/UpdateData.cpp
2009-06-07 21:42:02 +04:00
VladimirMangos
5ac6b2f34b [7971] Implement support exotic pets limtations related to hunter telent 53270.
Note: before this commit hunters can tame exotic pets like any other.
      After patch like not propertly contriolled pets will auto-dismiss at loading
      if talent not learned.
2009-06-06 21:21:27 +04:00
tomrus88
cffbb8661b Merge commit 'origin/master' into 310
Conflicts:
	src/game/Player.cpp
	src/game/SpellAuras.cpp
2009-06-02 15:01:26 +04:00
yad02
afdcc2bbfe [7944] Replace 10 by MAX_UNIT_ACTION_BAR_INDEX in packet size of SMSG_PET_SPELLS.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-02 12:42:39 +02:00
yad02
469e8713b2 [7942] Fixed typo: proffesion->profession
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-02 12:27:45 +02:00
tomrus88
907cc45b44 Fixed compile error. 2009-05-31 13:48:51 +04:00
tomrus88
cae3f0a532 Merge commit 'origin/master' into 310
Conflicts:
	src/game/SpellAuras.cpp
2009-05-31 12:16:25 +04:00
VladimirMangos
af54fbf715 [7927] For achievement criteria type ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM check also items equip at loading. 2009-05-31 10:29:38 +04:00
VladimirMangos
6e9339b093 [7924] Not teleport player to non-player caster at ressurection. 2009-05-31 06:28:13 +04:00
VladimirMangos
2a27a44e2a [7918] Improve portability in work with uint64 string format specifiers and in code literals.
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
  I64FMTD renamed to UI64FMTD for more clear name.
* Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
  Please always use UI64LIT(0x00001) instead less portable 0x00001LL
2009-05-30 22:44:20 +04:00
tomrus88
e454cb693d Merge branch 'master' into 310
Conflicts:
	src/game/GameObject.h
	src/game/MiscHandler.cpp
	src/game/Player.cpp
	src/game/QueryHandler.cpp
	src/game/QuestHandler.cpp
	src/game/SkillHandler.cpp
	src/game/SpellAuras.cpp
	src/game/SpellEffects.cpp
	src/game/Unit.cpp
	src/game/WorldSession.h
2009-05-29 19:15:43 +04:00
tomrus88
42f8ce5f3e [7911] Applied coding style. 2009-05-29 19:07:28 +04:00
tomrus88
84ed071e16 Merged and fixed some whitespaces. 2009-05-29 10:40:13 +04:00
VladimirMangos
b83f32fc19 [7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state.
Also related cleanup code in field cases and player Player::SetSheath.
2009-05-29 01:05:39 +04:00
tomrus88
f6e2b55e2c Merge branch 'master' into 310
Conflicts:
	src/game/Player.cpp
2009-05-28 10:16:02 +04:00
VladimirMangos
4d8adefe70 [7901] Refactoting pet action bar related code. Fixed some related bugs.
* Correctly update action bar at loading and other cases when listed unlearned/not existed spells
* Avoid send data by PetSpellInitialize() many times while pet loading
2009-05-27 19:43:57 +04:00
VladimirMangos
1abe4c0d79 [7900] Now really allow recieve account bounded items by mail reciver. 2009-05-27 10:58:23 +04:00
VladimirMangos
d2e25491a2 [7898] Improve client error output at different mail send errors, cleanup code. 2009-05-27 01:14:17 +04:00
tomrus88
2f15546120 Merge commit 'origin/master' into 310 2009-05-25 21:57:59 +04:00
VladimirMangos
32a66d2bd2 [7890] Fixed memory leak in result one from my old commits. 2009-05-24 23:00:20 +04:00
tomrus88
afd82229d7 Merge commit 'origin/master' into 310
Conflicts:
	src/game/SpellAuras.cpp
	src/game/SpellEffects.cpp
2009-05-24 10:11:26 +04:00
VladimirMangos
3d1b055e9e Fixed bank bag slot amount achievement statistic. Cleanup related code. 2009-05-23 18:50:46 +04:00
VladimirMangos
f72a8bc6dc Merge commit 'origin/master' into 310 2009-05-23 01:55:33 +04:00
VladimirMangos
bc4611e8c0 [7877] Correctly set totem PvP state at loading and owner PvP state change, including GM totem case.
* Also set PvP state in proper way at pet loading if owner in PvP state.
2009-05-23 00:37:49 +04:00
tomrus88
c802504304 Applied coding style. 2009-05-21 19:45:18 +04:00
tomrus88
ebb03b7b9f Merge commit 'origin/master' into 310
Hope it works with live 3.1.2.9901 client
2009-05-20 10:53:55 +04:00
DonTomika
ab3eb09669 [7842] Set and stop combat for pets at player enter to GM-mode.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-17 22:48:06 +04:00
SilverIce
b7f09eb37c [7841] Fixed: Prevent loading maps/vmaps when building enum.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-17 19:58:43 +04:00
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
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
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
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
788cdf9b3a [7826] Avoid use GetDistance* that used slow sqrt call where possible, other related speedups. 2009-05-14 18:51:13 +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
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
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
tomrus88
5ab735d374 Merge commit 'origin/master' into 310 2009-05-10 21:46:26 +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
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
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
tomrus88
b5548f9f12 Small fixes. 2009-05-08 18:09:53 +04:00
VladimirMangos
d739502fcc Fixed equipment set save problem after deleted recently added equipment set. 2009-05-08 17:48:59 +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