赞 | 0 |
VIP | 135 |
好人卡 | 6 |
积分 | 3 |
经验 | 37799 |
最后登录 | 2020-4-30 |
在线时间 | 812 小时 |
Lv2.观梦者 旅之愚者
- 梦石
- 0
- 星屑
- 275
- 在线时间
- 812 小时
- 注册时间
- 2007-7-28
- 帖子
- 2148
|
回复 kukurui00 的帖子
特技名字后面加上,x,x为次数- module RPG
- class Sprite < ::Sprite
- def effect?
- @_whiten_duration > 0 or
- @_appear_duration > 0 or
- @_escape_duration > 0 or
- @_animation_duration > 0
- end
- def damage_effect?
- @_damage_duration > 0 or
- @_collapse_duration > 0
- end
- end
- end
- class Spriteset_Battle
- def damage_effect?
- for sprite in @enemy_sprites + @actor_sprites
- return true if sprite.damage_effect?
- end
- return false
- end
- end
- class Scene_Battle
- alias sailcat_update_phase4_step1 update_phase4_step1
- alias sailcat_make_skill_action_result make_skill_action_result
- alias sailcat_update_phase4_step5 update_phase4_step5
- def update_phase4_step1
- @hit_count = 0
- sailcat_update_phase4_step1
- end
- def make_skill_action_result
- sailcat_make_skill_action_result
- @hit_count = 1
- end
- def update_phase4_step5
- @battler_clone = @target_battlers.clone if @hit_count == 1
- @target_battlers = @battlers_clone if @hit_count == 0
- sailcat_update_phase4_step5 if @hit_count == 0
- if @hit_count > 0
- @target_battlers.clear
- # 如果你应用了23种战斗特效的公共事件版脚本请去掉下面几行的注释
- if (@common_event_id > 0 and @hit_count == 1)
- common_event = $data_common_events[@common_event_id]
- $game_system.battle_interpreter.setup(common_event.list, 0)
- end
- @hit_count -= 1
- @phase4_step = 3
- end
- end
- end
复制代码 |
|