赞 | 2 |
VIP | 335 |
好人卡 | 3 |
积分 | 1 |
经验 | 14077 |
最后登录 | 2020-1-28 |
在线时间 | 264 小时 |
Lv1.梦旅人 冰
- 梦石
- 0
- 星屑
- 142
- 在线时间
- 264 小时
- 注册时间
- 2006-11-22
- 帖子
- 1057
|
Game_Battler3
#--------------------------------------------------------------------------
# ● 套用連續傷害效果
#--------------------------------------------------------------------------
def slip_damage_effect
# 設定傷害
self.damage = $game_variables[自己填]
# HP 的傷害減法運算
self.hp -= self.damage
# 過程結束
return true
end
Game_Party
#--------------------------------------------------------------------------
# ● 檢查連續傷害 (地圖用)
#--------------------------------------------------------------------------
def check_map_slip_damage
for actor in @actors
if actor.hp > 0 and actor.slip_damage?
actor.hp -= $game_variables[自己填]
if actor.hp == 0
$game_system.se_play($data_system.actor_collapse_se)
end
$game_screen.start_flash(Color.new(255,0,0,128), 4)
$game_temp.gameover = $game_party.all_dead?
end
end
end |
|