Nanzin escreveu:simples, na sua pasta Data nao possui esse arquivo de dados!, tente procurar um mapa e substituir na pasta data!
Sim eu fiz isso só que agora da isso:
Nanzin escreveu:simples, na sua pasta Data nao possui esse arquivo de dados!, tente procurar um mapa e substituir na pasta data!
#==============================================================================
# ** Scene_Gameover
#------------------------------------------------------------------------------
# By Marlos Gama
# Edit by Rvitor
#==============================================================================
class Scene_Gameover
#--------------------------------------------------------------------------
# * Configurações
#--------------------------------------------------------------------------
ID_DO_MAPA = 45
CORDENADA_X = 10
CORDENADA_Y = 13
#--------------------------------------------------------------------------
# * 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 = false
$memorizando = false
#$game_temp.player_new_map_id = ID_DO_MAPA
#$game_temp.player_new_x = CORDENADA_X
#$game_temp.player_new_y = CORDENADA_Y
if $game_temp.player_new_map_id == nil or $game_temp.player_new_map_id == 0
$game_temp.player_new_map_id = ID_DO_MAPA
$game_temp.player_new_x = CORDENADA_X
$game_temp.player_new_y = CORDENADA_Y
end if
$game_temp.player_new_map_id = $game_variables[500]
$game_temp.player_new_x = $game_variables[501]
$game_temp.player_new_y = $game_variables[502]
$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
if $game_actors[1].level >10
$game_actors[1].exp -= (($game_actors[1].level.to_i * User_Edit::GAME_OVER_EXP) / 1)
end
#$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 -= 3
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
$game_temp.player_new_map_id = ID
$game_temp.player_new_x = ID
$game_temp.player_new_y = ID
|
|