mrlongshen 22 Posted August 7, 2015 Hi. I want to request a script on for item database, when player reach level 255 and job 120, the equipment will auto unequipped. Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted August 7, 2015 @@mrlongshen if( BaseLevel == 255 && JobLevel == 120 ) unequip <equipment slot>; <equipment slot> has to be the slot where the equipment is applied. Possible slots are: EQI_HEAD_TOP (1) - Upper head gearEQI_ARMOR (2) - Armor (Where you keep your Jackets and Robes)EQI_HAND_L (3) - What is in your Left hand.EQI_HAND_R (4) - What is in your Right hand.EQI_GARMENT (5) - The garment slot (Mufflers, Hoods, Manteaus)EQI_SHOES (6) - What foot gear the player has on.EQI_ACC_L (7) - Accessory 1.EQI_ACC_R (8) - Accessory 2.EQI_HEAD_MID (9) - Middle Headgear (masks and glasses)EQI_HEAD_LOW (10) - Lower Headgear (beards, some masks)EQI_COSTUME_HEAD_LOW (11) - Lower Costume HeadgearEQI_COSTUME_HEAD_MID (12) - Middle Costume HeadgearEQI_COSTUME_HEAD_TOP (13) - Upper Costume HeadgearEQI_COSTUME_GARMENT (14) - Costume GarmentEQI_SHADOW_ARMOR (15) - Shadow ArmorEQI_SHADOW_WEAPON (16) - Shadow WeaponEQI_SHADOW_SHIELD (17) - Shadow ShieldEQI_SHADOW_SHOES (18) - Shadow ShoesEQI_SHADOW_ACC_R (19) - Shadow Accessory 2EQI_SHADOW_ACC_L (20) - Shadow Accessory 1 1 mrlongshen reacted to this Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted August 7, 2015 @@Winterfox ok thanks. will try it. Should I put it onscript or onequip? Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted August 7, 2015 @@mrlongshen It needs to be in the Script part. Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted August 7, 2015 (edited) @@mrlongshen It needs to be in the Script part. ok I need to use the EQI_HEAD_TOP for top right ? so it will be if( BaseLevel == 255 && JobLevel == 120 ) unequip EQI_HEAD_TOP; Right ? or i just can use the number ? Edited August 7, 2015 by mrlongshen Quote Share this post Link to post Share on other sites
0 Winterfox 83 Posted August 7, 2015 @@mrlongshen You also can use the according number. EQI_HEAD_TOP is a constant that is replaced with the according number anyway. 1 mrlongshen reacted to this Quote Share this post Link to post Share on other sites
0 mrlongshen 22 Posted August 7, 2015 @@mrlongshen You also can use the according number. EQI_HEAD_TOP is a constant that is replaced with the according number anyway. Thanks alot +2 for you Quote Share this post Link to post Share on other sites
Hi. I want to request a script on for item database, when player reach level 255 and job 120, the equipment will auto unequipped.
Share this post
Link to post
Share on other sites