Bullet_Darkness
Member
Okay so i need to know how to make seph's skill shop get points according to a variable, such as 16.
I am using this command:
$game_actors[1].skill_shop_points +=
I need it so you increase points to variable 16. How would i use this in a script?
I want to put it in this part of the XAS ABS script:
I am using this command:
$game_actors[1].skill_shop_points +=
I need it so you increase points to variable 16. How would i use this in a script?
I want to put it in this part of the XAS ABS script:
Code:
class Game_Event < Game_Character
def enemy_defeat_process(enemy)
last_level = $game_player.battler.level
$game_party.gain_exp(enemy.exp)
$game_party.gain_gold(enemy.gold)
if last_level < $game_player.battler.level
$game_system.me_play(XAS_BA::LEVEL_UP_ME)
$game_player.battler.damage = "Level up!"
$game_player.battler.damage_pop = true
$game_player.need_refresh = true
$actors_points[0]+= 5
$actors_points[0]+= $game_variable_15 # as you can see i made attempts (this is a stat point gaining script)
$game_actors[1].skill_shop_points += 2
$game_actors[1].skill_shop_points += $game_variable_16 # as you can see i made attempts
$scene = Scene_Stats_Upgrade.new
end
id = XAS_BA::DEFEAT_NUMBER_ID
$game_variables[id] += 1 if id != 0
switch_id = XAS_BA_ENEMY::DEFEAT_SWITCH_IDS[self.enemy_id]
if switch_id != nil
$game_switches[switch_id] = true
$game_map.refresh
end
end
end