isequipped() can check same item?

Hadeszeus

New member
Messages
651
Points
0
Location
Philippines
How can I write this? if 2 ring_  isequipped || isequippedcnt of IFRIT is == 2 bonus 1 else bonus 2 ????

if(isequipped(Ring_) == 2 ) || isequippedcnt(Ifrit_Card) == 2) { bonus bStr,50; } else { bonus bStr, 20; }

Looks like isequipped only returns 1 and 0. Any possible way?

 
use the same command  for both

Code:
if(isequippedcnt(Ring_) == 2 ) || isequippedcnt(Ifrit_Card) == 2) {	bonus bStr,50;} else {	bonus bStr, 20;}
 
use the same command  for both

if(isequippedcnt(Ring_) == 2 ) || isequippedcnt(Ifrit_Card) == 2) { bonus bStr,50;} else { bonus bStr, 20;}
Thanks for this Bro. Problem Solved!

I'm confused with the description.

*isequippedcnt(<card id>{,<card id>{,<card id>{,<card id>}}})This function is similar to 'isequipped', but instead of 1 or 0, it will return the number of cards in the list given that were found on the invoking character.
I thought its only for checking cards.

 
Back
Top