Hello everybody!
I am trying to make a rather simple thing. A weapon that has default stats but if the enemy is affected by a state category it will
increase those stats a bit.
Right now it looks like this on the weapon's notetags:
I have a passive state with the state category on the enemy I want but the atk stat doesn't increase.
Thank you in advance!
I am trying to make a rather simple thing. A weapon that has default stats but if the enemy is affected by a state category it will
increase those stats a bit.
Right now it looks like this on the weapon's notetags:
Code:
<atk: +2>
<Custom Parameters>
if (target.isStateCategoryAffected('Beast')) {
atk += 5
}
</Custom Parameters>
I have a passive state with the state category on the enemy I want but the atk stat doesn't increase.
Thank you in advance!