Yeah, I want to have it so that at the start of battle, enemy TP has an additional 100, out of 200.
There are varying effects, like skills now requiring TP to be 80 + TP Cost instead of 0 + TP Cost, low TP, full TP, and 0 TP to add a variety of things...
I already have all the other scripts I need, I just want to know raise TP of an enemy if they exist.
But it's not as easy as
$game_actors[1].tp += 100$game_actors[2].tp += 100$game_actors[3].tp += 100$game_actors[4].tp += 100$game_actors[5].tp += 100$game_actors[6].tp += 100$game_actors[7].tp += 100$game_actors[8].tp += 100, and
$game_troop.members[1].tp += 100$game_troop.members[2].tp += 100for two bats gives me an undefined tp error.
There are varying effects, like skills now requiring TP to be 80 + TP Cost instead of 0 + TP Cost, low TP, full TP, and 0 TP to add a variety of things...
I already have all the other scripts I need, I just want to know raise TP of an enemy if they exist.
But it's not as easy as
$game_actors[1].tp += 100$game_actors[2].tp += 100$game_actors[3].tp += 100$game_actors[4].tp += 100$game_actors[5].tp += 100$game_actors[6].tp += 100$game_actors[7].tp += 100$game_actors[8].tp += 100, and
$game_troop.members[1].tp += 100$game_troop.members[2].tp += 100for two bats gives me an undefined tp error.