64gm论坛 发表于 2016-6-7 19:59:44

传奇服务端上线怎么设置到一定的等级自动学习技能的方法?

传奇中上线设置到达一定级别自动学习技能脚本怎么写呢?方法,这段代码需加在QFunction-0.txt的[@PlayLevelUp]这下面,比如ADDSKILL 攻杀剑术 3,(ADDSKILL 就是添加技能,攻杀剑术就是技能名称 3这个数字代表技能级别,这里就是自动学习攻杀剑术3级),以下是范本,不懂的可以看看。

==========================================================================

[@PlayLevelUp]
;-----------------------战士-------------------------
#if
CHECKLEVELEX > 100
#act
ChangeLevel = 100
break
#if
checkjob warrior
CHECKLEVELEX = 7
#act
ADDSKILL 基本剑术 3
break

#if
checkjob warrior
checklevelex = 19
#act
ADDSKILL 攻杀剑术 3
break

#if
checkjob warrior
checklevelex = 25
#act
ADDSKILL 刺杀剑术 3
break

#if
checkjob warrior
checklevelex = 28
#act
ADDSKILL 半月弯刀 3
break

#if
checkjob warrior
checklevelex = 30
#act
ADDSKILL 野蛮冲撞 3
break

#if
checkjob warrior
checklevelex = 50
#act
ADDSKILL 狮子吼 3
break
;-----------------------方士-------------------------
#if
checkjob taoist
checklevelex = 7
#act
ADDSKILL 治愈术 3
break

#if
checkjob taoist
checklevelex = 9
#act
ADDSKILL 精神力战法 3
break

#if
checkjob taoist
checklevelex = 14
#act
ADDSKILL 施毒术 3
break

#if
checkjob taoist
checklevelex = 18
#act
ADDSKILL 灵魂火符 3
break

#if
checkjob taoist
checklevelex = 20
#act
ADDSKILL 隐身术 3
break

#if
checkjob taoist
checklevelex = 21
#act
ADDSKILL 集体隐身术 3
break

#if
checkjob taoist
checklevelex = 22
#act
ADDSKILL 幽灵盾 3
break

#if
checkjob taoist
checklevelex = 25
#act
ADDSKILL 神圣战甲术 3
break

#if
checkjob taoist
checklevelex = 26
#act
ADDSKILL 心灵启示 3
break

#if
checkjob taoist
checklevelex = 28
#act
ADDSKILL 困魔咒 3
break

#if
checkjob taoist
checklevelex = 33
#act
ADDSKILL 群体治疗术 3
break
;-----------------------法师-------------------------
#if
checkjob wizard
checklevelex = 7
#act
ADDSKILL 火球术 3
break

#if
checkjob wizard
checklevelex = 12
#act
ADDSKILL 抗拒火环 3
break

#if
checkjob wizard
checklevelex = 13
#act
ADDSKILL 诱惑之光 3
break

#if
checkjob wizard
checklevelex = 16
#act
ADDSKILL 地狱火 3
break

#if
checkjob wizard
checklevelex = 17
#act
ADDSKILL 雷电术 3
break

#if
checkjob wizard
checklevelex = 19
#act
ADDSKILL 瞬息移动 3
break

#if
checkjob wizard
checklevelex = 19
#act
ADDSKILL 大火球 3
break

#if
checkjob wizard
checklevelex = 22
#act
ADDSKILL 爆裂火焰 3
break

#if
checkjob wizard
checklevelex = 24
#act
ADDSKILL 火墙 3
break

#if
checkjob wizard
checklevelex = 26
#act
ADDSKILL 疾光电影 3
break

#if
checkjob wizard
checklevelex = 30
#act
ADDSKILL 地狱雷光 3
break

#if
checkjob wizard
checklevelex = 31
#act
ADDSKILL 魔法盾 3
break

#if
checkjob wizard
checklevelex = 32
#act
ADDSKILL 圣言术 3
break

;===================35级奖励======================
;-------------------战士----------------------

#if
checkjob warrior
check 0
checklevelex = 35
#act
set 1
ADDSKILL 烈火剑法 3
give 金币 800000
QUERYBAGITEMS
break


;-------------------道士----------------------

#if
checkjob taoist
check 0
checklevelex = 35
#act
set 1
ADDSKILL 召唤神兽 3
give 金币 800000
break

#if
CHECKLEVELEX = 60
#act
Gmexecute 解除禁言 Self
break
;-------------------法师----------------------

#if
checkjob wizard
check 0
checklevelex = 35
#act
set 1
ADDSKILL 冰咆哮 3
give 金币 800000
break


==========================================================================

小柒 发表于 2016-6-8 03:02:26

真心顶

aaa267241 发表于 2016-6-8 02:58:29

6666666666666666

奚6021 发表于 2016-6-8 03:01:20

99999999999

馨蓉6752 发表于 2016-6-8 02:58:24

去问问吾问无为谓吾问无为谓

小柒 发表于 2016-6-8 02:59:23

顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶

2260560228 发表于 2016-6-8 03:23:42

qqqqqqqqqqqqqqqq

qq657603405 发表于 2016-6-8 03:19:36

真心顶

w7892245 发表于 2016-6-8 03:23:18

不错不错

qq657603405 发表于 2016-6-8 03:19:23

没人回帖。。。我来个吧
页: [1] 2 3 4 5 6
查看完整版本: 传奇服务端上线怎么设置到一定的等级自动学习技能的方法?