本帖最后由 soulsaga 于 2021-4-19 10:24 编辑
# class Game_Actor < Game_Battler -------------------------------------------------------------------------- # ● 是否装备技能所需要的所有必要武器装备 #-------------------------------------------------------------------------- alias 20210419skill_wtype_ok? skill_wtype_ok? def skill_wtype_ok?(skill) return true if actor.armors.include?($data_armors[20]) 20210419skill_wtype_ok?(skill) end end
#
class Game_Actor < Game_Battler
--------------------------------------------------------------------------
# ● 是否装备技能所需要的所有必要武器装备
#--------------------------------------------------------------------------
alias 20210419skill_wtype_ok? skill_wtype_ok?
def skill_wtype_ok?(skill)
return true if actor.armors.include?($data_armors[20])
20210419skill_wtype_ok?(skill)
end
end
|