Jump to content
  • 0
Easycore

Isequipped (<Weapon Category>)

Question

Hi comunity,

I wonder if with "issequipped" can put a category of weapon that contain all weapon of this. For example isequipped(katar).
 
Also i wonder if it's possible do this same with other thing how "arrays".
 
Regards.
 
 
Post-data:  I'll use this for label OnNPCKillEvent when kill every mobs.
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

 

 

In "[email protected]_type = getiteminfo( getequipid( EQI_ACC_L ),5 );" I change the EQI_ACC_L for EQI_HAND_R (ACC_L is for accesory).

But all weapons takes "Case 2:" (One-hand sword) bonus :/

 

 

Well... the problem was that number of "getequipid" was wrong, the correct is 11.

Link to comment
Share on other sites

you can check it using getiteminfo + isequipped , type = 5.

 

Sorry for my ignorance but I don't understand this... x.x.

I tried make an script with array for that every time you kill, this give you a variable depending of the weapon equipped.

but the script only gave "variable" with the first weapon of each array.

 

Script: http://pastebin.com/Jx0tnXVw

Link to comment
Share on other sites

 

In "[email protected]_type = getiteminfo( getequipid( EQI_ACC_L ),5 );" I change the EQI_ACC_L for EQI_HAND_R (ACC_L is for accesory).

But all weapons takes "Case 2:" (One-hand sword) bonus :/

Link to comment
Share on other sites

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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.