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
ApoC
61443d7583
[8130] Allow stacking spell 18820 with 1459 and ranks
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 20:54:08 +02:00
ApoC
a2d9467428
[8129] More work on spell 20243
...
* No need to loop over rest of auras if correct one found
* Fixed spell not applied 58567
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 20:08:44 +02:00
Thyros
de974e5537
[8128] Typos in typos fix [8120].
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-05 21:10:07 +04:00
ApoC
572c6d99a7
[8127] Fixed detection of spell 20243
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 19:08:35 +02:00
VladimirMangos
715470a898
[8126] Improvemets in player/pet/charter name checks.
...
* Implement new config options for minimal player/pet/charter name length (2 by default)
* Better error reporting at problems in names.
* Add check from max pet/charter name length (same as for player names at client side)
2009-07-05 20:30:33 +04:00
ApoC
60fe792866
[8125] Optimized spell cooldowns remove.
...
Traverse only active cooldowns instead of whole player spell map.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:36:10 +02:00
ApoC
f064ef9c49
[8124] Fixed removing cooldown of 23922 and ranks by 50227
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:36:06 +02:00
ApoC
2273f7abe0
[8123] Introduced new method Player::RemoveSpellCategoryCooldown(uint32,bool)
...
This method removes cooldown from all spells from given category
and optionaly sends update to player. By default update is not send.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:36:02 +02:00
ApoC
91e4d7324a
[8122] Permit read-only acces to player's cooldowns via GetSpellCooldownMap()
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-05 17:35:51 +02:00
VladimirMangos
b4302d61e5
[8121] Cleanup and more safe code in Player::BuyItemFromVendor use.
...
* Move bag search by bag guid code to WorldSession::HandleBuyItemInSlotOpcode
* Really reject unexisted bag cases.
2009-07-05 17:45:45 +04:00
Thyros
c853c2e261
[8120] - Typo for Linux, thanks to win32. (cherry picked from commit 389894bcee8a60f7dd59baf06f4a75e5098e9a69)
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-05 14:15:37 +04:00
VladimirMangos
8d2dab1093
[8119] Speedup code and prevent crash at pet stats reset in time owner not in world.
2009-07-05 13:58:16 +04:00
tomrus88
54cc2dcb53
Merge commit 'origin/master' into 320
2009-07-05 13:19:54 +04:00
tomrus88
5af8fb89d0
Fix
2009-07-05 13:19:37 +04:00
Lightguard
0e1d03baeb
[8118] More diminishing returns for mage case.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-04 23:29:42 +04:00
ApoC
24f13bdcb7
[8117] Fixed spell 6343 and ranks, now getting bonus from AP
...
signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 21:26:56 +02:00
VladimirMangos
9798dbe5e2
[8116] Fixed low ranks relearn bug, correctly show tlanes at command spell learn.
...
* Bug showup as paladin talents reset. Thanks to ApoC for reseach problem.
* Now at .learn command use for learn some talent this talent must correctly show as learned in talent dialog.
2009-07-04 23:06:35 +04:00
VladimirMangos
bc0397695c
[8115] Replace table contecnt by expected data from mangos.sql
...
For finally fix problem with new crated characters in addition to [8107].
2009-07-04 21:36:16 +04:00
ApoC
cece592b5f
[8114] Fixed uint16 to uint32 for spell id in SkillDiscoveryEntry
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 17:29:49 +02:00
m4cm4n
7c5f254012
[8113] Fixed setting mover for Posses/Charm auras and Vehicle enter/exit.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-04 12:51:15 +02:00