Hello,
was looking here
but its already closed and I can't get it to work.
I've tested every code in the topic but it wont work.
As cross check I've used that code from the help:
<Custom Requirement>
if ($gameParty.gold() > 1000) {
value = true;
} else {
value = false;
}
</Custom Requirement>
Which works fine.
But
<Custom Requirement>
value = false;
for (i = 0; i < user._equips.length; i++) {
if (user._equips._dataClass == 'weapon' && user._equips._itemId == 5) value = true;
}
</Custom Requirement>
doesn't work (the skill is disabled).
The actor ID is 5 and the Weapon ID is 5 which he is wearing.
Any suggestions?
was looking here
but its already closed and I can't get it to work.
I've tested every code in the topic but it wont work.
As cross check I've used that code from the help:
<Custom Requirement>
if ($gameParty.gold() > 1000) {
value = true;
} else {
value = false;
}
</Custom Requirement>
Which works fine.
But
<Custom Requirement>
value = false;
for (i = 0; i < user._equips.length; i++) {
if (user._equips._dataClass == 'weapon' && user._equips._itemId == 5) value = true;
}
</Custom Requirement>
doesn't work (the skill is disabled).
The actor ID is 5 and the Weapon ID is 5 which he is wearing.
Any suggestions?
(manchmal sieht man den Wald vor lauter Bäumen nicht.. - German saying) ofc 99 weapon types are enough