赞 | 0 |
VIP | 0 |
好人卡 | 3 |
积分 | 1 |
经验 | 1064 |
最后登录 | 2013-5-16 |
在线时间 | 518 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 518 小时
- 注册时间
- 2010-6-16
- 帖子
- 1073
|
那个日站的脚本如果是KGC的偷盗脚本的话就用这补丁脚本,- #==============================================================================
- # KGC_Steal Fix for RPG Tankentai Sideview Battle System (3.4)
- # By Moonlight
- #==============================================================================
- # Modifies execute_action_steal method to perform the action sequence
- # associated with the steal skill
- #==============================================================================
- # Installation: Place it above main but below KGC_Steal and
- # RPG Tankentai Sideview Battle System scripts
- # Rewrites : execute_action_steal, display_steal_effects
- #==============================================================================
- $imported = {} if $imported == nil
- #==============================================================================
- # ** Scene_Battle
- #------------------------------------------------------------------------------
- # This class performs battle screen processing.
- #==============================================================================
- if $imported["Steal"]
- class Scene_Battle < Scene_Base
- #--------------------------------------------------------------------------
- # ○ 戦闘行動の実行 : 盗む
- #--------------------------------------------------------------------------
- def execute_action_steal
- skill = @active_battler.action.skill
- if skill.plus_state_set.include?(1)
- for member in $game_party.members + $game_troop.members
- next if member.immortal
- next if member.dead?
- member.dying = true
- end
- else
- immortaling
- end
- return unless @active_battler.skill_can_use?(skill)
- targets = @active_battler.action.make_targets
- target_decision(skill)
- @spriteset.set_action(@active_battler.actor?, @active_battler.index, skill.base_action)
- pop_help(skill)
- playing_action
- @active_battler.mp -= @active_battler.calc_mp_cost(skill) #
- $game_temp.common_event_id = skill.common_event_id
- for target in targets
- display_steal_effects(target, skill)
- end
- end
-
- #--------------------------------------------------------------------------
- # ○ 盗んだ結果の表示
- # target : 対象者
- # obj : スキルまたはアイテム
- #--------------------------------------------------------------------------
- def display_steal_effects(target, obj = nil)
- unless target.skipped
- line_number = @message_window.line_number
- wait(5)
- @help_window.visible = false if @help_window != nil
- display_stole_object(target, obj)
- display_state_changes(target, obj)
- if line_number == @message_window.line_number
- display_failure(target, obj) unless target.states_active?
- end
- if line_number != @message_window.line_number
- wait(30)
- end
- @message_window.back_to(line_number)
- end
- end
- end
- end # if $imported["Steal"]
复制代码 |
|