Question about AI

Wiratamana

Villager
Member
Joined
Apr 23, 2016
Messages
7
Reaction score
0
First Language
English
Primarily Uses
Hey, I want to make custom AI for battle


Is there a ways to make the AI cast Power up buff only to single enemy.


for example there are 2 mage and 1 swordsman,


the mage will cast power up only to swordsman as long as the swordsman doesn't have Power up buff state on him.


tried with Yanfly AI and it make me stress.


the logic or pseudo code i made.


Conditional Branch = $gameTroop.members()[Sworsman].state(PowerUp) === true;


Script $gameTroop.members.forceAction(PowerUp, $gameTroop.members()[Swordsman]);


or is there a way to make conditional branch which checked if actor or gameTroop affected by PowerUp buff or not,


because RMMV Script call only have Change State not Checking State


Someone help me please...
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,083
Members
137,583
Latest member
write2dgray
Top