Hi, I'm somewhat familiar with scripting already with rAthena, however, there is one issue I am facing that I haven't figured out at all or any other way to do the checks properly.
It's on how to figure out if the card is being equipped on the L-Hand side or R-Hand side of equipment (specifically, Assassin dual wielding and such)
This is what I came up with, but looking at it more, it doesn't really do what I need it to do.
Question
Nyaniverse
Hi, I'm somewhat familiar with scripting already with rAthena, however, there is one issue I am facing that I haven't figured out at all or any other way to do the checks properly.
It's on how to figure out if the card is being equipped on the L-Hand side or R-Hand side of equipment (specifically, Assassin dual wielding and such)
This is what I came up with, but looking at it more, it doesn't really do what I need it to do.
if(getarg(3) == 1 && Class == 12 || Class == 4013){ .@right = getequipid(EQI_HAND_R); .@left = getequipid(EQI_HAND_L) for(.@i = 0; .@i < 4; .@i++){ .@rc[.@i] = getequipcardid(EQI_HAND_R,.@i); .@lc[.@i] = getequipcardid(EQI_HAND_R,.@i); if(inarray(.@rc[0], .@lc[@i]) == -1)
Is there any other method that can be used to check if card is in the left-hand or right-hand?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.