if learn_lv > last_lv and learn_lv <= now_lv
@learn_skills.push $data_skills[$data_classes[class_id].learnings.skill_id].name
end
if $game_actors[1].maxsp > 1000
@learn_skills.push $data_skills[8].name
end
以下引用君迁子于2008-12-25 13:29:13的发言:
可以提示!就是这样的话每次升级,maxHP在1000以上都会提示一下,虽然判断习得特技那里也基本是每判断一下maxHP,条件满足都会学习一遍一样的特技|||||||
怎么样加一个条件,就是角色已经学习过的技能就不出提示了呢?
if $game_actors[1].maxsp > 1000
if $game_actors[1].skill_learn?(8)
return
else
@learn_skills.push $data_skills[8].name
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |