From a0a05f00e2177f52903b7f9a55c8852a9e56d3d5 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 17 Sep 2007 19:13:58 +0000 Subject: - 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 --- db/const.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'db/const.txt') 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 -- cgit v1.2.3-60-g2f50