def self.check(id,level)
result = false
msg = @@ids[id].dup
msg.reverse!
for i in msg
if level >= i[0]
if $game_actors[id].class_id != i[1]
self.change_class(id,i[1])
result = true
break
end
end
end
return result
end
def self.change_class(id,class_id)
actor = $game_actors[id]
if actor != nil
actor.class_id = class_id
end
end
end作者: 传说中di 时间: 2009-12-9 19:02
$data_classes[001].name = "狂战士"#改1号职业名