技能等级计算脚本
;这里是超简单的计算技能等级脚本!;用之前需要把这个脚本放入QuestDiary文件夹
;在需要的脚本内:
;第一步、mov A0 你想查的技能名字
;第二步、在其他脚本内引用此脚本——
想要计算技能等级就写: #CALL [\技能等级计算.txt] @计算技能等级
想要计算技能强化等级就写: #CALL [\技能等级计算.txt] @计算技能强化等级
;第三步、把<$STR(A1)>作为技能等级或强化等级来用.
[@计算技能等级]
{
#IF
CHECKSKILL <$STR(A0)> = 15 0
#act
mov <$STR(A1)> 15
break
#IF
CHECKSKILL <$STR(A0)> = 14 0
#act
mov <$STR(A1)> 14
break
#IF
CHECKSKILL <$STR(A0)> = 13 0
#act
mov <$STR(A1)> 13
break
#IF
CHECKSKILL <$STR(A0)> = 12 0
#act
mov <$STR(A1)> 12
break
#IF
CHECKSKILL <$STR(A0)> = 11 0
#act
mov <$STR(A1)> 11
break
#IF
CHECKSKILL <$STR(A0)> = 10 0
#act
mov <$STR(A1)> 10
break
#IF
CHECKSKILL <$STR(A0)> = 9 0
#act
mov <$STR(A1)> 9
break
#IF
CHECKSKILL <$STR(A0)> = 8 0
#act
mov <$STR(A1)> 8
break
#IF
CHECKSKILL <$STR(A0)> = 7 0
#act
mov <$STR(A1)> 7
break
#IF
CHECKSKILL <$STR(A0)> = 6 0
#act
mov <$STR(A1)> 6
break
#IF
CHECKSKILL <$STR(A0)> = 5 0
#act
mov <$STR(A1)> 5
break
#IF
CHECKSKILL <$STR(A0)> = 4 0
#act
mov <$STR(A1)> 4
break
#IF
CHECKSKILL <$STR(A0)> = 3 0
#act
mov <$STR(A1)> 3
break
#IF
CHECKSKILL <$STR(A0)> = 2 0
#act
mov <$STR(A1)> 2
break
#IF
CHECKSKILL <$STR(A0)> = 1 0
#act
mov <$STR(A1)> 1
#elseact
mov <$STR(A1)> 0
[@计算技能强化等级]
#IF
CHECKSKILL <$STR(A0)> = 15 1
#act
mov <$STR(A1)> 15
break
#IF
CHECKSKILL <$STR(A0)> = 14 1
#act
mov <$STR(A1)> 14
break
#IF
CHECKSKILL <$STR(A0)> = 13 1
#act
mov <$STR(A1)> 13
break
#IF
CHECKSKILL <$STR(A0)> = 12 1
#act
mov <$STR(A1)> 12
break
#IF
CHECKSKILL <$STR(A0)> = 11 1
#act
mov <$STR(A1)> 11
break
#IF
CHECKSKILL <$STR(A0)> = 10 1
#act
mov <$STR(A1)> 10
break
#IF
CHECKSKILL <$STR(A0)> = 9 1
#act
mov <$STR(A1)> 9
break
#IF
CHECKSKILL <$STR(A0)> = 8 1
#act
mov <$STR(A1)> 8
break
#IF
CHECKSKILL <$STR(A0)> = 7 1
#act
mov <$STR(A1)> 7
break
#IF
CHECKSKILL <$STR(A0)> = 6 1
#act
mov <$STR(A1)> 6
break
#IF
CHECKSKILL <$STR(A0)> = 5 1
#act
mov <$STR(A1)> 5
break
#IF
CHECKSKILL <$STR(A0)> = 4 1
#act
mov <$STR(A1)> 4
break
#IF
CHECKSKILL <$STR(A0)> = 3 1
#act
mov <$STR(A1)> 3
break
#IF
CHECKSKILL <$STR(A0)> = 2 1
#act
mov <$STR(A1)> 2
break
#IF
CHECKSKILL <$STR(A0)> = 1 1
#act
mov <$STR(A1)> 1
break
#IF
CHECKSKILL <$STR(A0)> = 0 1
#act
mov <$STR(A1)> 0
}
66666668 路过 帮顶 嘿嘿 感谢楼主分享,2019发大财!!! 每一个支持传奇论坛新贴,消灭0回复 纯粹路过,没任何兴趣,仅仅是看在老用户份上回复一下 回的人少,我来小顶一下! 66666668 顶顶顶顶顶大大大 又抢到前排了。哈,不用怀疑,不用惊讶,你也没有看错!