以下引用水映圣于2008-1-30 11:49:08的发言:
把数据库里的特技全部删掉就行了吧?
class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ● 可以使用特技判定
# skill_id : 特技 ID
#--------------------------------------------------------------------------
alias xd_old_skill_can_use? skill_can_use?
def skill_can_use?(skill_id)
#-----------------------------------------------------------#
# 全技能禁止
if self.state?(59)
return false
end
#-----------------------------------------------------------#
# 攻击技能禁止
if $data_skills[skill_id].atk_f > 0 and self.state?(60)
return false
end
#-----------------------------------------------------------#
xd_old_skill_can_use?(skill_id)
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |