Oh, this thing?
Yeah, I just searched and found what you said, this:
def random_target_actor(hp0 = false)
# Initialize roulette
roulette = []
# Loop
for actor in @actors
# If it fits the conditions
if (not hp0 and actor.exist?) or (hp0 and actor.hp0?)
# Get actor class [position]
position = $data_classes[actor.class_id].position
# Front guard: n = 4; Mid guard: n = 3; Rear guard: n = 2
n = 4 - position
# Add actor to roulette n times
n.times do
roulette.push(actor)
end
end
end
# If roulette size is 0
if roulette.size == 0
return nil
end
# Spin the roulette, choose an actor
return roulette[rand(roulette.size)]
end
I'm not sure, but you could probably do this:
class Game_System
attr_accessor :Position
alias position initialize
def initialize
@Position = 1
position
end
end
and then rewrite the random_target_actor from before, and change this line:
position = $data_classes[actor.class_id].position
to:
position = $game_system.position
Of course, using this would require you do this for each actor...
Otherwise, you could make it change the players class instead?
EDIT: Sorry, I'm not the best at Battle Systems.