Jump to content
  • 0

block certain types of items when an item is equipped.


Question

Posted

hey ra.

 

I'm currently having a problem.

 

See, I have an item, Zoro's sword to be exact. It's effect allows The Swordsman Class to weild two weapons.

 

The problem lies here, how can I block spear type and dagger types(since zoro only uses swords) of weapons from being equipped when the Zoro's sword item is still equipped?

 

Any help would be appreciated. 

5 answers to this question

Recommended Posts

Posted

{ if (getiteminfo(getequipid(EQI_HAND_L),2) == 4) { if (getiteminfo(getequipid(EQI_HAND_R),11) == 2 && getiteminfo(getequipid(EQI_HAND_L),11) == 2) { bonus bAtkRate,30; } } if (BaseClass==Job_Swordman) { skill "AS_RIGHT",5; skill "AS_LEFT",5; } },{},{ if (getiteminfo(getequipid(EQI_HAND_L),2) == 4 && getiteminfo(getequipid(EQI_HAND_L),11) != 3 && getiteminfo(getequipid(EQI_HAND_L),11) != 4) unequip EQI_HAND_L; }

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...