Release 0.0.1.8.8.7

This commit is contained in:
WorldBosse committed 2026-10-29 21:59:06 +04:00
1 parent 3c8a17aa78
commit c7beab414c
16283 files changed
+768761 -2

No files matched your search

+85
View File
@@ -0,0 +1,85 @@
$game_player.actor.scoutcraft >=10 ? $story_stats["HiddenOPT1"] = "1" : $story_stats["HiddenOPT1"] = "0"
$game_player.actor.wisdom_trait >=10 ? $story_stats["HiddenOPT2"] = "1" : $story_stats["HiddenOPT2"] = "0"
portrait_off
call_msg("TagMapPirateBane:ThisMap/OvermapEnter")
if $game_player.actor.stat["RaceRecord"] == "TrueDeepone"
call_msg("OvermapNoer:GateGuard/LonaIsTrueDeepone")
return load_script("Data/HCGframes/encounter/NoerGuards.rb")
end
case $game_temp.choice
when 0 ,-1
$game_portraits.lprt.hide
$game_portraits.rprt.hide
when 1 #通行證
call_msg("OvermapNoer:GateGuard/enter_wait")
if $game_party.has_item_type("NoerPassport")
if $game_player.actor.morality >=1 && !$game_player.player_slave?
call_msg("OvermapNoer:GateGuard/enter_with_passport")
$game_player.direction = 8
change_map_enter_tag("PirateBane")
else
call_msg("OvermapNoer:GateGuardOuta/enter_LowMorality")
call_msg("OvermapNoer:GateGuardOuta/enter_failed#{talk_persona}")
end
else #沒票
if $game_player.actor.morality >=1 && !$game_player.player_slave?
call_msg("OvermapNoer:GateGuard/enter_no_passport_dir4")
else
call_msg("OvermapNoer:GateGuardOuta/enter_LowMorality")
call_msg("OvermapNoer:GateGuardOuta/enter_failed#{talk_persona}")
end
end
when 2 #隱匿
$game_player.actor.sta -= 3
call_msg("OvermapNoer:GateGuard/enter_wait")
temp_roll_diff=rand(100)
temp_roll_skill= $game_player.actor.scoutcraft+rand(100)
call_msg("\\narr #{temp_roll_skill.round} VS #{temp_roll_diff.round}")
if temp_roll_skill >= temp_roll_diff #隱匿成功
call_msg("OvermapNoer:GateGuard/enter_sneak_win")
$game_player.direction = 8
change_map_enter_tag("PirateBane")
else #隱匿失敗
if $game_player.actor.morality >=1 && !$game_player.player_slave? #失敗 扣MOR
call_msg("OvermapNoer:GateGuard/enter_failed")
call_msg("OvermapNoer:GateGuardOuta/enter_failed#{talk_persona}")
optain_morality(-2)
else
call_msg("OvermapNoer:GateGuard/enter_sneak_failed")
call_msg("OvermapNoer:GateGuardOuta/enter_failed#{talk_persona}")
optain_morality(-2)
end
end
when 3 #唬爛
$game_player.actor.sta -= 3
call_msg("OvermapNoer:GateGuard/enter_wait")
temp_roll_diff=rand(100)
temp_roll_skill= $game_player.actor.wisdom+rand(120)
call_msg("\\narr #{temp_roll_skill.round} VS #{temp_roll_diff.round}")
if temp_roll_skill >= temp_roll_diff
load_script("Data/HCGframes/event/CommonGateKeeperBluffAnswer.rb")
$game_player.direction = 8
change_map_enter_tag("PirateBane")
else #隱匿失敗
if $game_player.actor.morality >=1 && !$game_player.player_slave? #失敗 扣MOR
call_msg("OvermapNoer:GateGuard/enter_failed")
call_msg("OvermapNoer:GateGuardOuta/enter_failed#{talk_persona}")
optain_morality(-1)
else
call_msg("OvermapNoer:GateGuard/enter_sneak_failed")
call_msg("OvermapNoer:GateGuardOuta/enter_failed#{talk_persona}")
optain_morality(-1)
end
end
end
$game_temp.choice =-1
$game_player.actor.update_lonaStat
$game_portraits.lprt.hide
$game_portraits.rprt.hide
$story_stats["HiddenOPT1"] = "0"
$story_stats["HiddenOPT2"] = "0"