赞 | 0 |
VIP | 77 |
好人卡 | 306 |
积分 | 1 |
经验 | 85662 |
最后登录 | 2023-11-23 |
在线时间 | 1782 小时 |
Lv1.梦旅人 虱子
- 梦石
- 0
- 星屑
- 121
- 在线时间
- 1782 小时
- 注册时间
- 2010-6-19
- 帖子
- 3597
|
- $louse_action = []
- #==============================================================================
- # 自定义区
- # 格式:
- # $louse_action.push([角色ID,出现技能几率,出现技能])
- #==============================================================================
- $louse_action.push([1,100,57])
- #==============================================================================
- # 脚本内容
- #==============================================================================
- class Scene_Battle
- alias shizi_start_phase4 start_phase4
- def start_phase4
- shizi_start_phase4
- for shizi_action in $louse_action
- for shizi_actor_id in 0...$game_party.actors.size
- shizi_actor = $game_party.actors[shizi_actor_id]
- if shizi_actor.current_action.kind == 0 and shizi_actor.id == shizi_action[0]
- if rand(100) < shizi_action[1]
- shizi_actor.current_action.kind = 1
- shizi_actor.current_action.skill_id = shizi_action[2]
- end
- end
- end
- end
- end
- end
复制代码 |
评分
-
查看全部评分
|