Commit graph

3277 commits

Author SHA1 Message Date
KAPATEJIb
3b47b66ba9 [8168] Fixed typo in .lookup taxinode output.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-12 16:16:18 +04:00
VladimirMangos
7f3f21ee1a [8167] Use more consistence debug command handler names and move its code to debugcmds.cpp 2009-07-12 16:00:28 +04:00
VladimirMangos
f84a68553c [8166] Add support for 32-bit hex format in addition to 64-bit version 2009-07-12 15:59:58 +04:00
ApoC
5b209bced4 [8165] Correctly add quest talent points count for characters on lvl 55.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-12 00:38:06 +02:00
Lutik
04a5a674d2 [8164] Implement engineering boots permanently enchantment 55016 effect.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-12 01:55:44 +04:00
SeT
e6d40697a1 [8163] Fixed typo and wrong check affecting threat calculation.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-12 00:18:28 +04:00
ApoC
0dc7ea6cc2 [8162] Fixed applying random enchantments to quest rewarded items.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-11 21:52:35 +02:00
ApoC
45eda48693 [8161] Partial revert and fix of my prev. commit in Aura::SetStackAmount
* Aura should be refreshed also when stackAmount == m_stackAmount
  this fixing problem that aura not refreshed if you have already full stack
  and cast "stack spell" again on target

Thanks Corfen for problem reporting and testing

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-11 19:13:01 +02:00
VladimirMangos
aed2a9f9b3 [8160] Now finally correct extraction uint16 enchantment id from uint32. 2009-07-11 19:38:16 +04:00
tomrus88
4363516299 Replaced some hardcoded values with enum. 2009-07-11 12:09:42 +04:00
tomrus88
2066de036f Updated auras enum, dbc comments. 2009-07-11 10:36:56 +04:00
tomrus88
153410971d Merge commit 'origin/master' into 320
Conflicts:
	src/game/Player.cpp
2009-07-11 07:55:53 +04:00
tomrus88
d0350c8c7d Updated map.dbc struct. 2009-07-11 07:53:38 +04:00
tomrus88
755c8a1a81 Updated to 10083 client build. 2009-07-11 07:46:50 +04:00
VladimirMangos
fcc1acfa83 [8159] Restore show item enchantments visual effects in character enum list. 2009-07-11 06:28:45 +04:00
VladimirMangos
50dbfadcb3 [8158] Update playercreateinfo_action base at UDB data for this table.
* Some fixes added for used UDB data base at not applied old mangos sql update and drop some wrong data.
* Primary key added to avoid button duplicates for (race,class) pair.
* This update expected to fix recently problems with empty action bars for new created characters

Note: This sql update not affect existed characters.
2009-07-10 22:24:04 +04:00
VladimirMangos
104158d93d [8157] Fixes and some tables support finish for pleays pdumps.
* Restore mark character with duplicate for rename at login
* Restore save mail item_text data
* Finish implementaion for propertly load item_text data.
2009-07-10 06:39:38 +04:00
VladimirMangos
1b8ad033c5 [8156] Some mail show flags use. 2009-07-10 06:38:23 +04:00
VladimirMangos
02caaf3421 [8155] Move unneeded include from header. 2009-07-10 06:37:34 +04:00
ApoC
c703ce8bfd [8154] Export only needed method from TemporarySummon class instead of whole class.
Change suggested by Vladimir

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-09 13:11:52 +02:00
tomrus88
26fa65d840 Updated spell.dbc struct. 2009-07-09 12:26:21 +04:00
NetSky
394cf9264d [8153] Fixed some implicit float->int cast warnings.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-09 11:10:28 +04:00
ApoC
44e8c3374f [8152] Class TemporarySummon exported.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-09 04:16:05 +02:00
Win32
03926619d9 [8151] Fixed some format warnings and typos.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

SOme changes rewrited with using [8150]
2009-07-09 01:09:12 +04:00
VladimirMangos
e0ddcd6ead [8150] Provided short name for portable format specifier for size_t values 2009-07-09 00:26:57 +04:00
XTZGZoReX
8b82154988 [8149] Use formula instead hardcoded value for CENTER_GRID_CELL_ID calculation.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-08 23:25:32 +04:00
yad02
d583fd7f54 [8148] Remove zthread.vcproj GUID references from mangosdVC80.sln & mangosdVC90.sln files
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-08 22:54:23 +04:00
tomrus88
87930a6d07 Merge commit 'origin/master' into 320 2009-07-08 22:08:09 +04:00
tomrus88
c9258deb5a Updated to 10072 client build. 2009-07-08 22:03:53 +04:00
VladimirMangos
3bfe549a2b [8147] Some fixes and cleanups in mind control and charmed code. Mind control stil not finished.
* Allow command to mind controlled unit attack target at client. Rename related flag to UNIT_FLAG_PLAYER_CONTROLLED.
* Move code for pet action bar remove at client side to new function Player::RemovePetActionBar
* Not allow cast spells with SPELL_AURA_MOD_POSSESS and SPELL_AURA_MOD_POSSESS_PET by non-players and simplify related code base at this.
2009-07-08 20:09:33 +04:00
ApoC
1ad013e25b [8146] Fixed handling of eventchance for CreatureEventAI.
Check event chance after timers advances othewise event is
not scheduled to next time period and event chance is again
checked on next AI update.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 23:01:28 +02:00
Ambal
2d25d7f8bc [8145] Use constant name instead not-safe explicit value.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-07 23:04:02 +04:00
ApoC
17d0cda637 [8144] Forgotten uninitialized value fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 19:42:10 +02:00
ApoC
4b4eb0a6d5 [8143] Fixed Aura::IsCritFromAbilityAura
* If not applied critical damage bonus don't clasify tick as critical.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 19:36:37 +02:00
ApoC
5d4b581009 [8142] Remade precast spell system to be more similar to trigger spell system.
* Removed runtime allocation of list
* Methods and defines from precast spell system and trigger system moved closer
  to each other

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 16:15:30 +02:00
QAston
42300153ce [8141] Comment fix.
I would like to also appology to QAston for not mentioned him in
my prev. commit (db13c2fe18ff3953851eaaf86922ee57510e556a) as patch author.
I am sorry.
ApoC

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 14:50:17 +02:00
ApoC
afdfa4f564 Cast 61987 also with 25771 as precasts.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 02:59:30 +02:00
ApoC
6002d7ea2c Implemented precast spell store as dynamicaly allocated list of precasts.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 01:39:56 +02:00
ApoC
0f6d312e59 [8140] Fixed dummy spell proc for 31876 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-07 00:53:55 +02:00
ApoC
fccba20c9d [8139] Implemented aura SPELL_AURA_ABILITY_PERIODIC_CRIT(286).
This commit affects spells 49868, 58435, 63068, 63091, 63503,
64915, 64925.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-06 22:48:34 +02:00
VladimirMangos
c8bb0c75a3 [8138] Prevent stacking pet mind control auras. Thanks to NetSky for reset. 2009-07-07 00:13:39 +04:00
VladimirMangos
0b9e41332c Allow cancel mind control spells while control target. 2009-07-07 00:12:18 +04:00
hunuza
38197b539f [8137] Init player display id + native display id on login.
* Temporary reset of display id on save no longer needed.
* Players always have the right model for their gender.

Signed-off-by: hunuza <hunuza@gmail.com>
2009-07-06 18:18:01 +02:00
hunuza
a295979484 Minor optimizations to MSG_QUERY_NEXT_MAIL_TIME handler.
* Do not search for more unread mails when already found 2.
* Do not call time(NULL) every iteration.

Signed-off-by: hunuza <hunuza@gmail.com>
2009-07-06 16:57:18 +02:00
ApoC
84e46d76e3 [8136] Fixed aura refresh on modify stack by negative amount.
When decreasing stack amount of aura, aura should not be
refreshed to full time. This should only happen on increasing
stack.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-06 15:36:49 +02:00
VladimirMangos
5d8bd14d38 [8135] Cast quest rewarded spells after mark spell as completed.
Some spell have spell_area requirement for cast (for later re-apply)
2009-07-06 16:13:51 +04:00
VladimirMangos
ef6b3f978d [8134] Fixed typo in ACTION_T_MORPH_TO_ENTRY_OR_MODEL check. 2009-07-06 11:26:06 +04:00
ApoC
08f1c95874 [8133] Do not scale with level damage for SPELL_AURA_MOD_DECREASE_SPEED.
May be other auras will need to be excluded also (auras modify AP,
Armor ...) but this one is the most annoying :)

This commit should fix non-movable behavior after being hitted by some
NPC spell with slowing effect.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-06 03:30:31 +02:00
Lightguard
ac051d10e9 [8132] Use real caster in some cases in Spell::DoSpellHitOnUnit.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-05 23:41:59 +04:00
Lightguard
6a574896f5 [8131] Some anti-cheating server side checks.
* Loot in ghost state
* Apply duplicate glyphs.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-05 23:06:58 +04:00