Jump to content
  • 0

Reflect damage item script capped for crusaders


johnbond2

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  03/15/12
  • Last Seen:  

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

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...