12-14-2014, 08:09 PM
What I was doing was playing matchup, translating your code into English like this:
"If the battler (your guy) is under State 101.....
is attacked by any enemy....
he should use item #32.
Basically, confirming your code, and how it would function.
Unfortunately, it SHOULD work. WHOEVER was under the 101th state should use a potion. I don't see why it is targeting your lead actor instead.
Code:
Counter_Setting['State'][101] =
Code:
{'type' => 4, 'condition' => 'user.is_a?(Game_Enemy)'} =>
Code:
{'type' => 2, 'id' => 37, 'cost' => true}
Basically, confirming your code, and how it would function.
Unfortunately, it SHOULD work. WHOEVER was under the 101th state should use a potion. I don't see why it is targeting your lead actor instead.