| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2012-1-6 |
| 在线时间 | 3 小时 |
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 3 小时
- 注册时间
- 2007-6-8
- 回帖
- 386
|
发表于 2008-9-26 05:33:36
|
显示全部楼层
脚本
Game_Battle3
78行左右开始
# 命中的情况下
if hit_result == true
# 状态冲击解除
remove_states_shock
# HP 的伤害计算
self.hp -= self.damage
改成
# 命中的情况下
if hit_result == true
# 状态冲击解除
remove_states_shock
# HP 的伤害计算
if self.state?(状态Id) #状态
self.damage = self.damage / 2
end
self.hp -= self.damage
同时在174行
# HP 的伤害减法运算
last_hp = self.hp
self.hp -= self.damage
effective |= self.hp != last_hp
改成 # HP 的伤害减法运算
last_hp = self.hp
if self.state?(状态Id) #状态
self.damage = self.damage / 2
end
self.hp -= self.damage
effective |= self.hp != last_hp
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|