Item Combo #5555
Combo Size: 2
Combo Items
Angel_Of_Happiness_ROC
C_Rainbow_Wing_Ears
Combo Effect
.@r = getequiprefinerycnt(EQI_HEAD_TOP); bonus2 bSubRace,RC_DemiHuman,2*(min(10,.@r)/2); bonus2 bSubRace,RC_Player_Human,2*(min(10,.@r)/2); bonus2 bSubRace,RC_Player_Doram,2*(min(10,.@r)/2);
Script References
getequiprefinerycnt
Command
getequiprefinerycnt
Signature:
getequiprefinerycnt(<equipment slot>{,<char_id>})
Description:
slot. For a list of equipment slots see 'getequipid'.
Can be used to check if you have reached a maximum refine value, default for
this is +10:
Example:
if (getequiprefinerycnt(EQI_HEAD_TOP) < 10)
mes "I will now upgrade your " + getequipname(EQI_HEAD_TOP);
else
mes "Sorry, it's not possible to refine hats better than +10";
close;
bSubRace
Item Bonus
bSubRace
Signature:
bonus3 bSubRace,r,x,bf;
Description:
+x% damage reduction against race r with trigger criteria bf