Eu fis um pequeno edit nesse game over do Marlos, o como ele se chamar, que fas com que as skills não desapareçam do hotkey.
E para o NetPlay 2.0
Att. Luca
E para o NetPlay 2.0
- Código:
#==============================================================================
# ** Scene_Gameover
#------------------------------------------------------------------------------
# By Marlos Gama (Editado por: Luca)
#==============================================================================
class Scene_Gameover
#--------------------------------------------------------------------------
# * Main
#--------------------------------------------------------------------------
def main
$msg_chat_w = true
$equip_w.visible = false
$equip_w.active = false
$member_list.visible = false
$member_list.active = false
$item_w.visible = false
$item_w.active = false
$help_w.visible = false
$help_w.active = false
$help_w_2.visible = false
$help_w_2.active = false
$help_w.visible = false
$help_w.active = false
$painel_adm.visible = false
$painel_adm.active = false
$convite.visible = false
$convite.active = false
$teleport.visible = false
$teleport.active = false
$skill.visible = false
$skill.active = false
#$distribuir.visible = false
#$distribuir.active = false
$flag1.visible = false
$guild_w.visible = false
$guild_w.active = false
$msg.visible = false
$msg.active = false
#$painel_adm.visible = false
#$painel_adm.active = false
$flag2.visible = false
$guild_created.visible = false
$guild_created.active = false
$memorizando_skill = true
$memorizando = true
$game_temp.player_new_map_id = ID_DO_MAPA
$game_temp.player_new_x = CORDENADA_X
$game_temp.player_new_y = CORDENADA_Y
$game_player.animation_id = 15
@move = $game_player
@move.turn_down
Audio.me_stop
Audio.bgs_stop
#$game_map.setup($game_temp.player_new_map_id)
#$game_player.moveto($game_temp.player_new_x, $game_temp.player_new_y)
#$game_map.setup($data_system.start_map_id)
#$game_player.moveto($data_system.start_x, $data_system.start_y)
@actor = $game_party.actors[0]
last_level = @actor.level
$game_map.update
$game_player.refresh
$game_party.actors[0].hp = $game_party.actors[0].maxhp
$game_party.actors[0].sp = $game_party.actors[0].maxsp
$game_temp.gameover = false
#$game_temp.player_transferring = false
$game_temp.transition_processing = false
$game_actors[1].exp -= (($game_actors[1].level.to_i * User_Edit::GAME_OVER_EXP) / 1)
$ABS = MrMo_ABS.new
$ABS.skill_keys[Input::Numberkeys[1]] = 82
$ABS.skill_keys[Input::Numberkeys[2]] = 82
$ABS.skill_keys[Input::Numberkeys[3]] = 82
$ABS.skill_keys[Input::Numberkeys[4]] = 82
$ABS.skill_keys[Input::Numberkeys[5]] = 82
$ABS.skill_keys[Input::Numberkeys[6]] = 82
$game_temp.player_transferring = true
if Network::Main.group == 'admin'
$game_party.actors[0].grupo = "Admin"
else
$game_party.actors[0].grupo = "Standard"
end
if @actor.level < last_level
$distribuir_pontos -= 5
end
salvar
$scene = Scene_Map.new
Network::Main.send_start
#if $assassinato == true
# $assassinato = false
#else
if !$party.empty?
for i in 0..$party.members.size
if $party.members[i] != nil
if $parte_s == true
name = $game_party.actors[0].name
Network::Main.pchat($charzinho_id,"[COM] [ET] #{name}")
Network::Main.pchat($charzinho_id,"[COM] [EXIT] #{name}")
#Network::Main.pchat($charzinho_id,"#{name} foi assassinado e saiu da party!")
$party.party_remove($charzinho_id)#$lider_hud)
$divide_exp = false
#@Hud_Party.visible = false
else
name = $game_party.actors[0].name
Network::Main.pchat($party.members[i].netid,"[COM] [ET] #{name}")
Network::Main.pchat($party.members[i].netid,"[COM] [EXIT] #{name}")
#Network::Main.pchat($party.members[i].netid,"#{name} foi assassinado e saiu da party!")
$party.party_remove($party.members[i])
$divide_exp = false
#@Hud_Party.visible = false
end
end
end
end
#end
loop do
Graphics.update
if $scene != self
break
end
end
Graphics.freeze
end
end
Att. Luca