From 94e745cce4166dea9b34b617cf66b14cfa1faab1 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 17 Apr 2007 15:43:40 +0000 Subject: - Expanded the autospell structure to hold a flag, which contains the required Battle Flag conditions required for a skill to trigger. - Added the required constants to const.txt to specify the autospell trigger properties. - Added bonus5 bAutoSpell/bAutoSpellWhenHit. The new parameter is used to specify when the spell should trigger (melee/range + weapon/magic/misc attack), see item_bonus for details. - Applied use of packet 0x28a (clif_changeoption2) to transmit opt3 changes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10278 54d463be-8e91-2dee-dedb-b68131a5f0ec --- db/const.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'db') diff --git a/db/const.txt b/db/const.txt index 6aad5661e..7a7ad1d22 100644 --- a/db/const.txt +++ b/db/const.txt @@ -441,6 +441,12 @@ RC_Dragon 9 RC_Boss 10 RC_NonBoss 11 +BF_WEAPON 0x0001 +BF_MAGIC 0x0002 +BF_MISC 0x0004 +BF_SHORT 0x0010 +BF_LONG 0x0040 + IG_BlueBox 1 IG_VioletBox 2 IG_CardAlbum 3 -- cgit v1.2.3-60-g2f50