Project3.zip
(201.69 KB, 下载次数: 3)
Project3.zip
(201.91 KB, 下载次数: 1)
def dead? if @hp == 0 and @states.include?(17) # 濒死保护:HP = 变量1的值 @hp += $game_variables[1] remove_state(17); add_state(18) # 移除状态17并增加状态18 return false # 判定为未死亡 else # 普通死亡判定 return (@hp == 0 and not @immortal) end end
| 欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |