summaryrefslogtreecommitdiff
path: root/db/const.txt
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-17 19:13:58 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-17 19:13:58 +0000
commita0a05f00e2177f52903b7f9a55c8852a9e56d3d5 (patch)
tree2b0409dc827996af1e61a1b7461e662413e96642 /db/const.txt
parentd5766e3e2601c290e71fab04aa12756af36f3954 (diff)
downloadhercules-a0a05f00e2177f52903b7f9a55c8852a9e56d3d5.tar.gz
hercules-a0a05f00e2177f52903b7f9a55c8852a9e56d3d5.tar.bz2
hercules-a0a05f00e2177f52903b7f9a55c8852a9e56d3d5.tar.xz
hercules-a0a05f00e2177f52903b7f9a55c8852a9e56d3d5.zip
- Applied various crash-protections to script commands that deal with the equip-position array.
- Corrected and simplified the skill_magic_reflect function. Fixed damage reflection being based on the caster rather than the target. - Potions are now usable inside Gospel by the casting Paladin (as per Aegis tests done by AuronX) - The unequip script command now takes a position from 1 to 10 rather than 0 to 9 (to make it consistant with all the other equip position related script commands) - Added the EQI_* constants to db/const.txt in a format usable by the equip-position related script commands. - Updated some items to use the new EQI constants. - Also updated doc/script_commands.txt to refer to the EQI list. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11230 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'db/const.txt')
-rw-r--r--db/const.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/db/const.txt b/db/const.txt
index 756595db8..18e97f9b8 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -407,6 +407,17 @@ bSPLossRate 2040
bAddSkillBlow 2041
bSPVanishRate 2042
+EQI_HEAD_TOP 1
+EQI_ARMOR 2
+EQI_HAND_L 3
+EQI_HAND_R 4
+EQI_GARMENT 5
+EQI_SHOES 6
+EQI_ACC_L 7
+EQI_ACC_R 8
+EQI_HEAD_MID 9
+EQI_HEAD_LOW 10
+
Eff_Stone 0
Eff_Freeze 1
Eff_Stan 2