This is my first post so I am sorry if its in the wrong section. First I am trying to make an auto life skill using Tankentai SBS with ATB script.
The problem I am having is with Script 'Animation Overlay Patch' line 177: NameError occurred uninitialized constant Scene_Battle::Rate .
This is the line of code being mentioned.
CODE
#--------------------------------------------------------------------------
# ++ Auto Resurrection - Animation
#--------------------------------------------------------------------------
def resurrection(target)
for state in target.states
for ext in state.extension
name = ext.split('')
next unless name[0] == "A"
wait(50)
name = name.join
name.slice!("AUTOLIFE/")
target.hp = target.maxhp * name.to_i / 100
target.remove_state(1)
target.remove_state(state.id)
target.animation_id = N01::RESURRECTION
target.animation_mirror = true if $back_attack
@status_window.refresh
wait($data_animations[N01::RESURRECTION].frame_max * RATE + 1) <---- this is line 177
end
end
end
end
Can anyone help me with this? I have tired hard to figure this out myself and looking though many forums. Thank you.
This post has been edited by darklordzion: May 5 2011, 04:42 PM