|
|
@ -73,7 +73,7 @@ end
|
|
|
|
if not skill then
|
|
|
|
if not skill then
|
|
|
|
skill = df.unit_skill:new()
|
|
|
|
skill = df.unit_skill:new()
|
|
|
|
skill.id = args.skill
|
|
|
|
skill.id = args.skill
|
|
|
|
args.unit.status.current_soul.skills:insert('#', skill)
|
|
|
|
utils.insert_sorted(args.unit.status.current_soul.skills,skill,'id')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
print('old: ' .. skill.rating .. ': ' .. skill.experience)
|
|
|
|
print('old: ' .. skill.rating .. ': ' .. skill.experience)
|
|
|
|