Newbie here. I've been trying to modify a shadow refiner to refine only the EQI_SHADOW_ARMOR and EQI_SHADOW_WEAPON slots using arrays. However, no matter what I alter, I can't seem to get it to not show the regular equips as refineable options also...
Would anyone have an idea as to how I might do this? Or if an array is even the best solution here? It seems most of the refiner scripts floating around use them.
Thanks in advance.
setarray .@position$[1], EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON;
set .@menu$,"";
for( set .@i,1; .@i <= 15; set .@i,.@i+1 ){
if( getequipisequiped(.@i) )
set .@menu$, .@menu$ + .@position$[.@i] + "[ " + getequipname(.@i) + " ]";
set .@menu$, .@menu$ + ":";
}
Question
Reinheit
Hello,
Newbie here. I've been trying to modify a shadow refiner to refine only the EQI_SHADOW_ARMOR and EQI_SHADOW_WEAPON slots using arrays. However, no matter what I alter, I can't seem to get it to not show the regular equips as refineable options also...
Would anyone have an idea as to how I might do this? Or if an array is even the best solution here? It seems most of the refiner scripts floating around use them.
Thanks in advance.
setarray .@position$[1], EQI_SHADOW_ARMOR, EQI_SHADOW_WEAPON; set .@menu$,""; for( set .@i,1; .@i <= 15; set .@i,.@i+1 ){ if( getequipisequiped(.@i) ) set .@menu$, .@menu$ + .@position$[.@i] + "[ " + getequipname(.@i) + " ]"; set .@menu$, .@menu$ + ":"; }
EQI_COMPOUND_ON (-1) - Item slot that calls this script (In context of item script) EQI_ACC_L (0) - Accessory 1 EQI_ACC_R (1) - Accessory 2 EQI_SHOES (2) - Footgear (shoes, boots) EQI_GARMENT (3) - Garment (mufflers, hoods, manteaux) EQI_HEAD_LOW (4) - Lower Headgear (beards, some masks) EQI_HEAD_MID (5) - Middle Headgear (masks, glasses) EQI_HEAD_TOP (6) - Upper Headgear EQI_ARMOR (7) - Armor (jackets, robes) EQI_HAND_L (8) - Left hand (weapons, shields) EQI_HAND_R (9) - Right hand (weapons) EQI_COSTUME_HEAD_TOP (10) - Upper Costume Headgear EQI_COSTUME_HEAD_MID (11) - Middle Costume Headgear EQI_COSTUME_HEAD_LOW (12) - Lower Costume Headgear EQI_COSTUME_GARMENT (13) - Costume Garment EQI_AMMO (14) - Arrow/Ammunition EQI_SHADOW_ARMOR (15) - Shadow Armor EQI_SHADOW_WEAPON (16) - Shadow Weapon EQI_SHADOW_SHIELD (17) - Shadow Shield EQI_SHADOW_SHOES (18) - Shadow Shoes EQI_SHADOW_ACC_R (19) - Shadow Accessory 2 EQI_SHADOW_ACC_L (20) - Shadow Accessory 1
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.