I have most of my script made now, the only problem when i use a skill through the menu
I have it set up so that a variable is increased by 1 when the skill is used, but i only want that to happen in a battle, at the moment it also happens in the menu.
The modification i have is in game_battler 3
under
i have
I dont want to stop the skill from being used in the menu, just stop the variable being added to
I have it set up so that a variable is increased by 1 when the skill is used, but i only want that to happen in a battle, at the moment it also happens in the menu.
The modification i have is in game_battler 3
under
Code:
# Substract damage from HP
last_hp = self.hp
self.hp -= self.damage
effective |= self.hp != last_hp
i have
Code:
if user.is_a?(Game_Actor) and skill.id == 1
$game_variables[9] += 1
end
I dont want to stop the skill from being used in the menu, just stop the variable being added to