06-16-2010, 10:54 AM
Don't worry, you're not bothering me. Your requests are always very clear, and not of "HELP ME PLZZZZZZ, I'M A NOOB !!!!!!!!!!111" type.
Several steps:
1 - In the Scene_Battle section of the CTB script, in the begninning, you'll find this:
Just comment out this part.
2 - Forget the common event, and simply paste this below all the CTB-related scripts.
3 - In the Damage and Colors section of the CTB script, starting at line 107 (within the damage method), you should find this:
Remove $game_system.killed_enemies_ids.include?(@battler.id) and.
Lol, I forgot that one before.
Several steps:
1 - In the Scene_Battle section of the CTB script, in the begninning, you'll find this:
Code:
# Support for hp bars
for enemy in $game_troop.enemies
if $game_system.killed_enemies_ids.include?(enemy.id)
enemy.show_hp_bar=true
end
end
2 - Forget the common event, and simply paste this below all the CTB-related scripts.
Code:
class Game_Battler
alias_method :krx_analyze_skill_effect, :skill_effect
def skill_effect(user, skill)
if skill.id == 63 # Replace by the ID of your analyze skill
self.show_hp_bar = true if self.is_a?(Game_Enemy)
return
end
krx_analyze_skill_effect(user, skill)
end
end
3 - In the Damage and Colors section of the CTB script, starting at line 107 (within the damage method), you should find this:
Code:
# Support for HP bars
if HP_BARS and @battler != nil and @battler.is_a?(Game_Enemy) and
$game_system.killed_enemies_ids.include?(@battler.id) and
@battler.show_hp_bar and @battler_visible
Lol, I forgot that one before.