How can I make this item script to limit the "reflect per refine" effect to only +10 but ONLY FOR CRUSADER CLASSES? Meaning, other classes can still benefit from over upgraded +20 valkyrie manteau's but for the crusader classes the effect is capped to only upto +10 maximum reflect effect.
Currently this is my item script for the Valkyrie Manteau:
{ bonus bUnbreakableGarment,0; if(BaseClass==Job_Mage||BaseClass==Job_Archer||BaseClass==Job_Acolyte) bonus bFlee2,5+(getequiprefinerycnt(EQI_GARMENT)*2); else if(BaseClass==Job_Swordman||BaseClass==Job_Merchant||BaseClass==Job_Thief) bonus bShortWeaponDamageReturn,5+(getequiprefinerycnt(EQI_GARMENT)*2); },{},{}My server has a refine rate of upto +20.
How can I make this item script to limit the "reflect per refine" effect to only +10 but ONLY FOR CRUSADER CLASSES? Meaning, other classes can still benefit from over upgraded +20 valkyrie manteau's but for the crusader classes the effect is capped to only upto +10 maximum reflect effect.
Anyone knowledgable in item scripting?
Thank you for the support guys!
Link to comment
Share on other sites