Item Combo #1793
Combo Size: 3
Combo Items
S_Malicious_Armor
S_Malicious_Shoes
S_Malicious_Shield
Combo Effect
bonus2 bHPDrainRate,40,2+(getequiprefinerycnt(EQI_SHADOW_ARMOR)+getequiprefinerycnt(EQI_SHADOW_SHIELD)+getequiprefinerycnt(EQI_SHADOW_SHOES)/5);
Script References
bHPDrainRate
Item Bonus
bHPDrainRate
Signature:
bonus2 bHPDrainRate,x,n;
Description:
Adds a x/10% chance to drain n% HP from inflicted damage when attacking
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;