| 赞 | 4 |
| VIP | |
| 好人卡 | |
| 积分 | 7 |
| 经验 | |
| 最后登录 | 2013-8-9 |
| 在线时间 | 184 小时 |
天仙
- 梦石
- 0
- 星屑
- 720
- 在线时间
- 184 小时
- 注册时间
- 2008-4-15
- 回帖
- 4872

|
发表于 2008-8-19 19:00:43
|
显示全部楼层
若是让队伍後面两个永远都不会被打到
使用下面脚本,
思路是,第二位队员之後的所有队员受击率为0
- class Game_Actor < Game_Battler
- def odds
- return 0 if self.index > 1
- return 4 - self.class.position
- end
- end
复制代码
另一个思路是,让所有战斗位置为「对列後」的职业
其受击率全部设定为0:
- class Game_Actor < Game_Battler
- def odds
- return 0 if self.class.position == 2
- return 4 - self.class.position
- end
- end
复制代码 系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|