Yes! That worked! And I also had to call the script during a battle, not before one. Thank you so much!!!
I have another question I hope you could help me with if its not too much trouble. Along with the actor's stats, I'd also like to set the enemy's normal attack animation to the same animation as the actor's weapon attack animation. I tried adding this to the script:
#--------------------------------------------------------------------------
# * Get Offensive Animation ID for Normal Attack
#--------------------------------------------------------------------------
def animation1_id
return @animation1_id || $data_enemies[@enemy_id].animation1_id
end
#--------------------------------------------------------------------------
# * Get Target Animation ID for Normal Attack
#--------------------------------------------------------------------------
def animation2_id
return @animation2_id || $data_enemies[@enemy_id].animation2_id
end
But that didn't seem to do anything at all. I think its because the actor's attack animation is stored in a variable with a different name, unlike the names of the stat variables because when I search for actor.animation1_id or actor.animation2_id I get no result. There's only actor.animation_id which I think is the id of the animation that plays on the actor when its a target of a skill as I've learned from fiddling around with it. So, if you know know how I could make it to where the enemy's attack animation is set to the actor's attack animation/weapon animation, if you could show me how I would greatly appreciate it so much!