|
传奇中上线设置到达一定级别自动学习技能脚本怎么写呢?方法,这段代码需加在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 [122] 0
checklevelex = 35
#act
set [122] 1
ADDSKILL 烈火剑法 3
give 金币 800000
QUERYBAGITEMS
break
;-------------------道士----------------------
#if
checkjob taoist
check [126] 0
checklevelex = 35
#act
set [126] 1
ADDSKILL 召唤神兽 3
give 金币 800000
break
#if
CHECKLEVELEX = 60
#act
Gmexecute 解除禁言 Self
break
;-------------------法师----------------------
#if
checkjob wizard
check [124] 0
checklevelex = 35
#act
set [124] 1
ADDSKILL 冰咆哮 3
give 金币 800000
break
==========================================================================
|
上一篇:传奇私服服务端怎么设置到等级自动给物品和自动穿上装备的方法?下一篇:传奇冲级奖励怎么分性别 传奇按职业发放奖励物品脚本的方法
|