
# SUPPORT FOR SCENE SKILL
if $scene.is_a? Scene_Skill
actor.refresh_commands
if actor.individual_commands.size > 0
@skill_command_element_id = $data_system.elements.
index("CMD " + actor.individual_commands[0])
else
@skill_command_element_id = -1
end
else
@skill_command_element_id = -1
end
# SUPPORT FOR SCENE SKILL
if $scene.is_a? Scene_Skill
actor.refresh_commands
@skill_command_element_id = -1
end
Empilicious":2352vuju said:I must confess I didn't unerstand what you ment with "comment everything after"
class RPG::Enemy
ENEMYLIMITBREAK={
# EnemyID=>[MaxHP,MaxSP,Str,Dex,Agi,Int,Atk,Pdef,Mdef,Eva]
1=>[20000,20000,20000,20000,20000,20000,20000,20000,20000,20000],
300=>[10,20,30,40,50,60,70,80,90,10]
}
%w[
maxhp maxsp str dex agi int atk pdef mdef eva
].each_with_index do |s, i|
eval <<-__END__
def #{s}
ENEMYLIMITBREAK[@id] ? ENEMYLIMITBREAK[@id][#{i}] : @#{s}
end
__END__
end
end