3501| 5
|
[已经解决] 希忆豪华型技能加点备注的问题 |
50星屑
最佳答案class RPG::EquipItem
def add_skill_type(skill_type_id)
@note =~ /\/ ? $1.to_i : 0
end
def add_skill_all
@note =~ /\/ ? $1.to_i : 0
end
end
class Game_Actor
alias skill_plus_level_without_skill_type skill_plus_level
def skill_plus_level(skill_id)
self.equips.compact.inject(0){|skl,eqp| skl+eqp.add_skill_type($data_skills[skill_id].stype_id)+eqp.add_skill_all} +
s ...
| ||
| ||
用头画头像,用脚写脚本
|
||
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-11-16 03:32
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.