| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2017-6-13 |
| 在线时间 | 122 小时 |
剑圣
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 122 小时
- 注册时间
- 2008-8-31
- 回帖
- 672
|
发表于 2008-9-5 23:55:46
|
显示全部楼层
主站上的怒气脚本不是挨打增加怒气而是
怒气百分比 = 100 - 剩余hp百分比
楼主试试在
if self.is_a?(Game_Actor) # ★ 挨打的时候蓄HP储存条
self.hp_store += [self.damage*100/self.maxhp , 0].max
self.hp_store = [self.hp_store,300].min
end
后面加上
if self.is_a?(Game_Actor)
if @active_battler.current_action.basic == 0 # 攻击的情况下
self.hp_store += [尝试输入合适的数值作为增加的怒气值, 0].max
self.hp_store = [self.hp_store,300].min
end
end
不保证不出错= =
|
|