From 7689b26c216bb9de59d7ddfcbe9c45c18cfb7cc4 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 3 Sep 2007 20:00:33 +0000 Subject: - Added bonuses bSPRegenRate, bHPRegenRate. They behave like the opposite of bHPLossRate/bSPLossRate, making you gain x Hp/Sp every y ms. - Added bonus bIgnoreMdefRate, used to ignore a % of the target's mdef when using magic attacks (bonus2 will ignore part of the mdef of all targets, bonus3 receives a race argument) - You can now use bonus2 bCastRate to adjust the cast rate of a single skill. - Cleaned the code for bleeding (hp-loss) and extended it to handle regen as well. - Some small cleanups in the pc_bonus functions - Removed bonus3 bHpLossRate since it was doing nothing and is not used. - Corrected bGetZeny bonus to be like in Aegis. The amount received is from 1 to the given amount, you can use negative zeny values to use an amount dependant on mob's level (amount*lv). - Updated doc/item_bonus.txt with all these changes - Anti-Magic/Stone-Skin now increase/decrease def/mdef only and in an absolute mode (+20*lv rather than +20%*lv). Also the duration is greatly decreased (x/15) when used on players. - Now when a player uses a strip skill without having it in the skill tree (auto-casted) the duration will be 0, the equipment will be stripped without causing the status change that blocks reequipping. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11112 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/const.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'db') diff --git a/db/const.txt b/db/const.txt index 8acfeb6f8..2090985b3 100644 --- a/db/const.txt +++ b/db/const.txt @@ -305,7 +305,7 @@ bIgnoreDefEle 1026 bIgnoreDefRace 1027 bAtkRate 1028 bSpeedAddRate 1029 - +bSPRegenRate 1030 bMagicAtkDef 1031 bMiscAtkDef 1032 bIgnoreMdefEle 1033 @@ -361,6 +361,7 @@ bWeaponAtkRate 1082 bDelayrate 1083 bHPDrainRateRace 1084 bSPDrainRateRace 1085 +bIgnoreMdefRate 1086 bRestartFullRecover 2000 bNoCastCancel 2001 @@ -370,7 +371,6 @@ bNoWeaponDamage 2004 bNoGemStone 2005 bNoCastCancel2 2006 bNoMiscDamage 2007 - bUnbreakableWeapon 2008 bUnbreakableArmor 2009 bUnbreakableHelm 2010 @@ -385,7 +385,7 @@ bSkillAtk 2018 bUnstripable 2019 bAddDamageByClass 2020 bSPGainValue 2021 - +bHPRegenRate 2022 bHPLossRate 2023 bAddRace2 2024 bHPGainValue 2025 -- cgit v1.2.3-60-g2f50