Jump to content
  • 0

Isequipped (<Weapon Category>)


Easycore

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   252
  • Joined:  04/08/13
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   252
  • Joined:  04/08/13
  • Last Seen:  

 

 

In ".@weapon_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


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   252
  • Joined:  04/08/13
  • Last Seen:  

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


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   252
  • Joined:  04/08/13
  • Last Seen:  

 

In ".@weapon_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...