Commit Graph

475 Commits

Author SHA1 Message Date
megamage
d971d0121f *Do not consider possessed creatures as pet. Also fix the bug that possessed creature does not display spells.
--HG--
branch : trunk
2009-05-25 22:52:08 -05:00
megamage
8140543de4 *Rewrite some OPvP functions.
*Apply tenacity buff for outnumbered players in wintergrasp.

--HG--
branch : trunk
2009-05-24 17:26:44 -05:00
QAston
1c505261bc *Remove auras with duration lower than 30 sec on arena start.
*Do not remove rougue poisons and dk runes on arena start.
*Apply healing bonus for healing stream totem.
*Do not duplicate damage bonus in code with the one in db for Seal of Vengenance/Corruption

--HG--
branch : trunk
2009-05-24 22:54:13 +02:00
megamage
2fadf3dd77 Fixed bank bag slot amount achievement statistic. Cleanup related code. Author: VladimirMangos
--HG--
branch : trunk
2009-05-24 11:17:03 -05:00
megamage
a75446579b *Do not allow to use flying mount on wintergrasp.
--HG--
branch : trunk
2009-05-23 01:44:32 -05:00
Kudlaty
3bd9858417 Add a column to npc_spellclick_spells table to check if quest is completed/rewarded or incompleted
1: completed or rewarded; 3: incompleted; default 3

--HG--
branch : trunk
2009-05-22 17:43:14 +02:00
megamage
3641be039b *Set pvp flags for units controlled by player.
*Reset pvp flags when unit is uncharmed.
*Remove walk flag when unit is charmed.

--HG--
branch : trunk
2009-05-22 03:12:35 -05:00
QAston
1403419164 *Fix reckonging
*fix Sword and Board
*Fix Vigilance
*Rollback sw:death fix.

--HG--
branch : trunk
2009-05-21 20:02:22 +02:00
megamage
1a4378572b [7861] Update visibility check to make possible have invisible for owner pets/totems (need for some spells) Author: Astellar
--HG--
branch : trunk
2009-05-21 10:50:28 -05:00
megamage
786083d8cc [7842] Set and stop combat for pets at player enter to GM-mode. Author: DonTomika
--HG--
branch : trunk
2009-05-17 18:42:01 -05:00
megamage
ce0feb36ea [7841] Fixed: Prevent loading maps/vmaps when building enum. Author: SilverIce
--HG--
branch : trunk
2009-05-17 18:41:16 -05:00
megamage
424391d7c4 *Fix a bug that player may not be at correct location when log in after crash.
--HG--
branch : trunk
2009-05-17 16:36:40 -05:00
megamage
d2ef2c0500 [7837] Implement missed item enchant type (stat mana, stat health) Author: xILOSWag
--HG--
branch : trunk
2009-05-17 10:09:44 -05:00
megamage
e4456ae9f8 *Fix an exploit that instance can be reset when there are logged-out players in it.
--HG--
branch : trunk
2009-05-16 14:52:41 -05:00
megamage
9b4d3bf0af [7835] Store structures (with size = uint32) insteed pointer to structure in PetSpellMap. Author: VladimirMangos
--HG--
branch : trunk
2009-05-15 16:46:02 -05:00
megamage
ff7f023ff1 *Merge.
--HG--
branch : trunk
2009-05-15 13:57:10 -05:00
megamage
c15bae5871 [7832] Better check at petcreateinfo_spell loading for errors and redundend data. Author: VladimirMangos
--HG--
branch : trunk
2009-05-15 13:45:34 -05:00
megamage
a442a9b914 [7831] Prevent have hunter pet with level greater player levels at level changes. Propertly set hunter pet xp values at level update. Author: VladimirMangos
--HG--
branch : trunk
2009-05-15 13:44:49 -05:00
megamage
0d715cfd8f *remove UNIT_FLAG2_FORCE_MOVE when loading players. This fix the bug that players cannot stop moving forward. By Bulkin.
--HG--
branch : trunk
2009-05-15 13:39:48 -05:00
QAston
02bc76455a *Fix build.
--HG--
branch : trunk
2009-05-15 18:30:34 +02:00
megamage
047cc95388 *Add some distance check functions. By VladimirMangos.
--HG--
branch : trunk
2009-05-14 16:50:47 -05:00
megamage
5823e2c471 [7824] Implement use ArmorDamageModifier bonus for armor Author: DiSlord
--HG--
branch : trunk
2009-05-14 15:37:56 -05:00
megamage
9831dab114 [7822] Avoid declined names form show in case disabled config option with russian client at non-russian realm. Author: Foks
--HG--
branch : trunk
2009-05-14 11:59:15 -05:00
megamage
d3839aaaf0 [7821] Fixed typo in comment and var. name. Author: KAPATEJIb
--HG--
branch : trunk
2009-05-14 11:58:35 -05:00
megamage
c6407a8b4c [7820] Fixed typo in [7819] that not allow correct work non-scalling item stats. Author: VladimirMangos
--HG--
branch : trunk
2009-05-14 11:58:01 -05:00
megamage
43b84c7b07 Code style and cleanups in item equip checks. Author: VladimirMangos
--HG--
branch : trunk
2009-05-14 11:57:25 -05:00
megamage
8782d2d31a [7819] Correct use item ScalingStatValues data (ScalingStatValues.dbc): Author: DiSlord
- 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

--HG--
branch : trunk
2009-05-14 11:56:51 -05:00
megamage
bf82601817 [7818] Implement SPELL_AURA_MOD_FACTION_REPUTATION_GAIN. Author: DonTomika
--HG--
branch : trunk
2009-05-14 11:56:02 -05:00
megamage
22f34d1b74 *Merge.
--HG--
branch : trunk
2009-05-13 19:34:10 -05:00
Muhaha
62c5720227 * avoid loot/exp when the mobs are killed by npc. Authore: KAPATEJIb @ getmangos.org
--HG--
branch : trunk
2009-05-13 10:34:55 +02:00
Aokromes
a882c4538a New configuration option: GM.Visible
regulates visibility of GM at login.

--HG--
branch : trunk
2009-05-12 08:22:06 +02:00
QAston
51b5f2aa64 *Allow Hots to proc-this should fix talents like 33776 effect from hots.
--HG--
branch : trunk
2009-05-11 23:46:45 +02:00
megamage
ff3332f066 [7809] Replace repeating "remove cooldown and send update to client" code by function call. Author: VladimirMangos
--HG--
branch : trunk
2009-05-10 14:51:51 -05:00
megamage
66c4b7b560 [7804] Allow swap and move by bag slots equipped ammopouch and quiver Author: Foks
--HG--
branch : trunk
2009-05-10 14:30:04 -05:00
QAston
53b3c9a6dc *Fix trap radius calculation in some cases-by krz
--HG--
branch : trunk
2009-05-10 19:21:39 +02:00
QAston
fcf0fdc1c1 *Item enchancment/proc patch - original code by Thenecromancer
--HG--
branch : trunk
2009-05-10 18:06:22 +02:00
megamage
dddc39c1ab *Fix a typo in canSeeSpellClickOn.
--HG--
branch : trunk
2009-05-09 19:58:55 -05:00
megamage
bd33ebf6d3 [7801] Apply damage mods from scripts or target state not in DealDamage but in new function before send data to client. Author: VladimirMangos
* 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.

--HG--
branch : trunk
2009-05-08 19:20:28 -05:00
megamage
b7b7262c7c [7800] Small fixes for scripting case ActivateTaxiPathTo use: Author: VladimirMangos
* Allow wide mount model lookup in DBC data for script case
    * Allow 0-coordinates node use in script case

--HG--
branch : trunk
2009-05-08 19:03:56 -05:00
megamage
1fb48b3e34 [7799] Use single function for SMSG_SPELLNONMELEEDAMAGELOG prepare. Merge comments, replace values by enums. Author: VladimirMangos
--HG--
branch : trunk
2009-05-08 19:01:40 -05:00
megamage
29921b5bea [7798] More Player::ActivateTaxiPathTo use improvements Author: VladimirMangos
* 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.

--HG--
branch : trunk
2009-05-08 18:52:12 -05:00
megamage
7277ddd114 [7797] Use DBC data for mount model selection in more cases. Author: VladimirMangos
* 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.

--HG--
branch : trunk
2009-05-08 18:49:07 -05:00
megamage
d72855e25f [7794] Add DK pet type support for proper show it in client Pet tab. Author: Astellar
--HG--
branch : trunk
2009-05-08 18:43:06 -05:00
krz
51b46c53b8 Fix enchantment application in case item is broken.
--HG--
branch : trunk
2009-05-08 17:16:14 +02:00
megamage
ae4bdc8138 [7786] Proper hostile zones marking for PvE servers. Author: Elron
--HG--
branch : trunk
2009-05-06 16:47:51 -05:00
megamage
8c4a111050 [7784] Skip distance to start taxi node in case node without coordinates and taxi flight started by spell. Author: VladimirMangos
--HG--
branch : trunk
2009-05-06 16:42:17 -05:00
megamage
66884cab11 [7778] Implement honorable kill related achievement criteria Author: DonTomika
* ACHIEVEMENT_CRITERIA_TYPE_HK_CLASS
    * ACHIEVEMENT_CRITERIA_TYPE_HK_RACE

--HG--
branch : trunk
2009-05-06 16:38:36 -05:00
QAston
ef4bcb7238 *Fix some flying mounts bugs.
--HG--
branch : trunk
2009-05-06 18:16:16 +02:00
megamage
e69d2cbed9 [7776] Completed implementation of CMSG_SPELLCLICK Author: arrai
For vehicles, you have to add the correct SPELL_AURA_CONTROL_VEHICLE spells to
    npc_spellclick_spells, otherwise you won't be able to use them

--HG--
branch : trunk
2009-05-05 16:56:15 -05:00
megamage
dcb2b5aa01 [7775] Implement duel related achievement criteria Author: DonTomika
* ACHIEVEMENT_CRITERIA_TYPE_WIN_DUEL
    * ACHIEVEMENT_CRITERIA_TYPE_LOSE_DUEL

--HG--
branch : trunk
2009-05-05 14:50:06 -05:00