summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-21 18:42:35 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-21 18:42:35 +0000
commit8c2918aa0f1c3eb7c2d66a6aecb46bfff6fe1523 (patch)
treeeede8c765744bf3e5fc090413ddc2a9ede33704c /db
parentfceac39ea2b984dc29f22da1763a4d216c7a6220 (diff)
downloadhercules-8c2918aa0f1c3eb7c2d66a6aecb46bfff6fe1523.tar.gz
hercules-8c2918aa0f1c3eb7c2d66a6aecb46bfff6fe1523.tar.bz2
hercules-8c2918aa0f1c3eb7c2d66a6aecb46bfff6fe1523.tar.xz
hercules-8c2918aa0f1c3eb7c2d66a6aecb46bfff6fe1523.zip
- Updated the HP/SP leech structures to have race-data attached to them.
- Merged all leeching code to battle_drain function. - Added an enum for races (they match the RC entries in const.txt, except they are in all caps) - Cleaned up atk_mods and aspd_base to be MAX_WEAPON_TYPE sized rather than MAX_WEAPON_TYPE+1 - Simplified a bit the code for Signum Crucis - Added script bonuses: bonus3 bHPDrainRateRace,<Race>,<Activation Rate>,<Drain %> bonus3 bSPDrainRateRace,<Race>,<Activation Rate>,<Drain %> bonus2 bHPDrainValueRace,<Race>,<Value> bonus2 bSPDrainValueRace,<Race>,<Value> git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6221 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'db')
-rw-r--r--db/const.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/db/const.txt b/db/const.txt
index 0746b1f98..33918ed1a 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -264,6 +264,8 @@ bSPDrainValue 1080
bWeaponAtk 1081
bWeaponAtkRate 1082
bDelayrate 1083
+bHPDrainRateRace 1084
+bSPDrainRateRace 1085
bRestartFullRecover 2000
bNoCastCancel 2001
@@ -292,9 +294,9 @@ bHPLossRate 2023
bAddRace2 2024
bHPGainValue 2025
bSubSize 2026
-
+bHPDrainValueRace 2027
bAddItemHealRate 2028
-
+bSPDrainValueRace 2029
bExpAddRace 2030
bSPGainRace 2031
bSPSubRace2 2032