I am hoping someone can help convert this script into a JS file plugin or some other MV-compatible format:
class Game_Enemy < Game_Battler
def change_param(param_id, value)
enemy.params[param_id] = value
end
end
This script allowed me to change enemy parameters based on variables in VX Ace. As an example: if I was wanting to change the Max HP of my enemy into variable 162 I would add this script to my event:
val = $game_variables[162]
if $game_troop.members[0] != nil
$game_troop.members[0].change_param(0,
val)
end
The parameter I would change is identified by the number after change_param(0
0 = MHP 6 = AGI
1 = MMP 7 = LUK
2 = ATK
3 = DEF
4 = MAT
5 = MDF
I am hoping this information will help someone come up with something. If not: basically what I am looking for is a Plugin that allows me to change the parameters of my enemies into variables.
class Game_Enemy < Game_Battler
def change_param(param_id, value)
enemy.params[param_id] = value
end
end
This script allowed me to change enemy parameters based on variables in VX Ace. As an example: if I was wanting to change the Max HP of my enemy into variable 162 I would add this script to my event:
val = $game_variables[162]
if $game_troop.members[0] != nil
$game_troop.members[0].change_param(0,
val)
end
The parameter I would change is identified by the number after change_param(0
0 = MHP 6 = AGI
1 = MMP 7 = LUK
2 = ATK
3 = DEF
4 = MAT
5 = MDF
I am hoping this information will help someone come up with something. If not: basically what I am looking for is a Plugin that allows me to change the parameters of my enemies into variables.