本帖最后由 soulsaga 于 2021-3-25 07:53 编辑
class Game_Actor < Game_Battler #-------------------------------------------------------------------------- # ● 最大等级 #-------------------------------------------------------------------------- alias :max_level_limit_breaker :max_level def max_level max_level_limit_breaker add_limit = 0 if @actor_id == 小风的ID && @class_id == 职业「掌教」的ID if equips.include?($data_weapons[天人司仗的ID]) #如果权杖是防具, 则改成equips.include?($data_armors[天人司仗的ID]) add_limit += 1#掌教小风装备了天人司仗后, 等级上限提升1 if equips.include?($data_armors[天人法袍的ID])#掌教小疯装备了天人法袍后, 等级上限提升1 add_limit += 1 end end end actor.max_level + add_limit end end
class Game_Actor < Game_Battler
#--------------------------------------------------------------------------
# ● 最大等级
#--------------------------------------------------------------------------
alias :max_level_limit_breaker :max_level
def max_level
max_level_limit_breaker
add_limit = 0
if @actor_id == 小风的ID && @class_id == 职业「掌教」的ID
if equips.include?($data_weapons[天人司仗的ID]) #如果权杖是防具, 则改成equips.include?($data_armors[天人司仗的ID])
add_limit += 1#掌教小风装备了天人司仗后, 等级上限提升1
if equips.include?($data_armors[天人法袍的ID])#掌教小疯装备了天人法袍后, 等级上限提升1
add_limit += 1
end
end
end
actor.max_level + add_limit
end
end
稍稍改了一下大佬的脚本..未测试 |