VladimirMangos
f38283eba6
[7583] Use instead BasePoints+1 hardcoded formula more correct BasePoint+BaseDice hide in special helper function.
2009-03-29 22:46:32 +04:00
arrai
5dd3ce31bc
[7576] Fixed spell range check for spells with minimal distances
2009-03-28 22:27:39 +01:00
pasdVn
910d4c8155
[7569] Fix typo in spell damage/healing default bonus for staked spell
...
Signed-off-by: pasdVn <pasdVn@getmangos.com>
2009-03-28 15:16:51 +03:00
pasdVn
fa63fc96f8
Fix typo in spell block chance calc
...
Signed-off-by: pasdVn <pasdVn@getmangos.com>
2009-03-28 13:33:01 +03:00
tomrus88
963aed5e0b
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/Player.h
src/game/Unit.cpp
2009-03-26 14:28:37 +03:00
tomrus88
9bc487953e
Removed some outdated comments
2009-03-26 14:14:47 +03:00
VladimirMangos
c33eff13f4
[7540] Move most reputation/force faction reaction code to new ReputationMgr.
2009-03-26 11:28:56 +03:00
VladimirMangos
df9caf58cd
[7538] Hide some implementation details for reputation/forced faction reaction.
2009-03-25 21:28:04 +03:00
VladimirMangos
fa098236af
[7526] Use NULL for pointers instead 0
2009-03-23 17:37:23 +03:00
`win
0f6b2ab9ae
[7523] Fixed: players will now drop flag in battleground if they cast immunity buff on themselves.
...
TODO: players who carry flag in bg are imune to immunity buffs casted by friendly players. (todo added to code).
Bug: if paladin casts Hand of protection on flag carrier - flag will be dropped, but he should get "target is immune" message.
Fixed: Do not call Battleground::Update for battleground template objects.
Fixed: Do not allow immune player to click on object in battleground (not sure if this is correct in all cases).
Signed-off-by: Triply <triply@getmangos.com>
2009-03-23 10:16:44 +01:00
tomrus88
e5bde711ea
Merge branch 'master' into 310
...
Conflicts:
src/game/Chat.cpp
src/game/Chat.h
src/game/GameObject.cpp
src/game/Level2.cpp
2009-03-21 15:48:51 +03:00
AlexDereka
8a5e4706bc
[7506] Remove dual ERROR in logs
2009-03-21 11:47:57 +03:00
Lightguard
0bb15c0593
[7504] Implement glyph item 42397 bonus work.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-21 01:25:43 +03:00
Lightguard
610a040240
[7500] Not allow stacking some auras at target from different casters.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-20 00:14:59 +03:00
VladimirMangos
4bc5bf3877
[7497] Remove auras from GO owner at remove connected owned th this spell GO.
2009-03-19 21:58:31 +03:00
tomrus88
9d2acc22b4
Merge branch 'master' into 310
...
Conflicts:
src/game/GameObject.cpp
2009-03-18 07:45:29 +03:00
VladimirMangos
c99a849eb9
[7475] Move Player::IsInFeralForm to Unit::IsInFeralForm
2009-03-16 23:22:52 +03:00
VladimirMangos
5d6cb5fe80
[7468] Convert pet cast check code to use SpellCastResult and finaly fix SPELL_CAST_OK value (255 custom value now)
2009-03-16 15:40:43 +03:00
VladimirMangos
0e987bf59e
[7467] Use SpellCastResult and replace CanCast by CheckCast.
...
Note: proper way to check: if(spell->CheckCast(...)==SPELL_CAST_OK)
2009-03-16 13:17:44 +03:00
=Neo2003
9b1216f21c
[7458] Not reset/set some data at attack target switch that expected do at any target lost.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-14 23:40:57 +03:00
VladimirMangos
3a5d59c0c7
[7450] Fixes and improvements in TARGET_BEHIND_VICTIM, SPELL_EFFECT_JUMP2, SPELL_EFFECT_TELEPORT_UNITS work.
...
* Move near teleport code for player/creature in Unit::NearTeleportTo
* Allow correctly seelct target and end point orientation for script casted spells with TARGET_BEHIND_VICTIM
* Replace use BuildTeleportAckMsg by BuildHeartBeatMsg for creature teleports. BuildTeleportAckMsg
set active mover for targeted player to affected creature and "freeze" player.
2009-03-13 17:08:10 +03:00
tomrus88
31b3ee95ad
Merge branch 'master' into 310
...
Conflicts:
src/game/Level2.cpp
src/game/PetHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/game/SkillHandler.cpp
2009-03-11 12:22:58 +03:00
DiSlord
2240fc49aa
[7430] Fix warror ability heal amount
...
Signed-off-by: DiSlord <DiSlord@nomail.ru>
2009-03-09 23:01:28 +03:00
balrok
0babfec043
[7424] Codestyle: removed not needed \n in log output.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-09 14:20:10 +03:00
VladimirMangos
4dad8f40d0
[7419] Fixed some type convertion warnings.
2009-03-09 08:23:25 +03:00
VladimirMangos
44f3c15710
Revert "Flat Modifier for Glyph of Spiritual Attunement"
...
This reverts commit 332371c284a6513693786ab6c3fa933570953159.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
unexpectadly cpushed, sorry.
2009-03-09 06:43:46 +03:00
multiplexer
ba1cfbf121
Flat Modifier for Glyph of Spiritual Attunement
2009-03-09 03:39:54 +03:00
tomrus88
8f9849969b
Updated to 9658 client build, SMSG_ADDON_INFO temporary disabled
2009-03-08 01:51:23 +03:00
tomrus88
6aadc16d7d
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/QueryHandler.cpp
2009-03-06 08:03:34 +03:00
VladimirMangos
c18d20782b
Implement some death related achievements
...
* ACHIEVEMENT_CRITERIA_TYPE_DEATH (normal and arena types counting)
* ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON (instance types by man limit counting)
Note: need fixed for cases when max allowed players different from recommended count.
* ACHIEVEMENT_CRITERIA_TYPE_DEATHS_FROM (environment damage sources by types)
Fixed:
* ACHIEVEMENT_CRITERIA_TYPE_KILLED_BY_PLAYER
- self-kill counting as death from players
- same team player kill in opposition kills counter.
Also cleanup in Player::EnvironmentalDamage use DBCStructure.h comment.
2009-03-06 04:26:48 +03:00
pasdVn
0d96837d48
[7375] Typos in dynamic object registering and deleting for owner.
...
This let have more then one persistent aura in same time.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-03 23:53:28 +03:00
VladimirMangos
03273a49da
factionTemplate->faction can be 0, add appropriate checks to prevent crashes and unexpected work.
2009-03-03 17:13:11 +03:00
VladimirMangos
de51363151
[7365] Implement potion in combat delay proper work.
...
Original patch provided by miranda.conrado.
2009-03-01 11:33:08 +03:00
VladimirMangos
2b10d8fd71
[7364] Really implenent server-side anti-cheating cooldown check for spells with SPELL_ATTR_DISABLED_WHILE_ACTIVE.
...
Move apply cooldown for like spells to aura apply (GO registering for owner in GO summon spell case)
Store "infinity" cooldown for like spells, ignore it at save and reapply it at aura loading.
Note: one problem still exist for like spells: at loading/far teleport spell icon lost diabled state at client.
Need sedn some unknown data in SendInitialPacketsBeforeAddToMap or SendInitialPacketsAfterAddToMap for restore it state.
2009-03-01 10:21:47 +03:00
VladimirMangos
ed6123c804
[7363] Propertly set cooldown at server side for category spells at cooldown event send to client.
...
Also support item dependent cooldown set propetly at cooldown event send to client.
Last will used in follow potion cooldown delay in combat patch.
2009-03-01 10:14:45 +03:00
VladimirMangos
2b9eeb782e
[7362] Use IN_MILISECONDS where appropriate, other cleanups.
2009-03-01 05:22:56 +03:00
VladimirMangos
ce8bd43bef
Merge commit 'origin/master' into 310 (at [7360])
2009-03-01 01:18:20 +03:00
Triply
3560d9de54
[7351] Fixed removing normal horde groups from queue.
...
Fixed Reflective shield - patch provided by Rastik. Thx
Signed-off-by: Triply <triply@getmangos.com>
2009-02-27 11:08:57 +01:00
tomrus88
42a8ae3752
More work on update packets
2009-02-26 19:55:45 +03:00
tomrus88
a8f7f57065
New client build, SMSG_MONSTER_MOVE partly fixed
2009-02-26 11:39:00 +03:00
VladimirMangos
1349d36270
[7333] Refactoring DestinationHolder/Traveler/Unit::SendMonsterMoveWithSpeed code.
...
* Move common code in appropriate functions.
* Correct select speed and 2D/3D distance for creature/player walk/fly
2009-02-25 07:03:45 +03:00
Gommes
487a3d3dfc
[7316] Fixed spell 51556 and ranks DummyAura procing.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-21 11:14:19 +01:00
zhenya
8dc3586889
[7285] More code cleanups in static data structures use.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 17:10:24 +03:00
DiSlord
56e97b4d9e
[7280] Implement 287 SPELL_AURA_DEFLECT_SPELLS aura
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-14 19:08:06 +03:00
DiSlord
b049b4ee54
Fix chance calc added by SPELL_AURA_MOD_COMBAT_RESULT_CHANCE
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-14 19:07:22 +03:00
DiSlord
4792d20b4e
[7264] Use AP fields as signed integer
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-11 00:09:31 +03:00
DiSlord
13c5d3a33c
Fix apply SPELLMOD_MULTIPLE_VALUE for SPELL_AURA_MANA_SHIELD drain
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-10 23:58:32 +03:00
DiSlord
14be347015
[7263] Fixed AP calculation in some cases
...
Fixed use AP dynamic mods (bonuses from stats)
Apply ITEM_MOD_ATTACK_POWER for ranged AP
Implement feral AP from weapon dps for druids
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-10 21:24:45 +03:00
VladimirMangos
09bf9260cb
[7260] Fixed access to uninitilized fields in FleeingMovementGenerator and Creature::IsOutOfThreatArea.
2009-02-10 06:22:52 +03:00
ApoC
3529d084d9
[7245] Typo fix.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 15:35:15 +01:00