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.


![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)