逍遥MIR 发表于 2024-7-17 01:59:10

武易传奇熔岩传送石脚本编写案例分析


[@main]

#IF
#ACT
OPENMERCHANTBIGDLG 4 105 1 4 1 1 0150 -100
#SAY
<Img:8:13:-20:-16/@空白>


<Img:131:4:191:50/@空白>\
<Img:7:13:203:120/@查询任务>\
<Img:5:13:203:140/@查询任务>\
               \
               \
                \\
               \
                   \\



;------------------------------------------------------------------------------------------------------------------------------------------------------

[@查询任务]
#if
checkitem 挑战书 3
#ACT
take 挑战书 3
#act
MapMove D2082
break
#elseact
messagebox 请收集挑战书X3(土城肉铺接任务即可~)
Break
;------------------------------------------------------------------------------------------------------------------------------------------------------

[@完成任务]
#if
Check 1
#act
goto @Goted22
break

#if
CheckJob Warrior
#act
goto @战士
break

#if
CheckJob Wizard
#act
goto @法师
break

#if
CheckJob Taoist
#act
goto @道士
break

[@Goted22]
#if
#act
messagebox 对不起!你已经领取过了!
break

[@nonewhum]
你都20级了,已经不是新手了哦!\
<离开/@exit>\\

;------------20-----------

[@战士]
#IF
Check 0
#Act
set 1
give 幽灵项链 1
give 金币 30000
give 基本剑术 1
give 攻杀剑术 1
give 刺杀剑术 1
give 半月弯刀 1
give 野蛮冲撞 1
give 烈火剑法 1
CHANGEEXP + 50000
#ACT
PLAYSOUND Wav\领取.wav 1 0
#ACT
OPENMERCHANTBIGDLG 4 11 1 4 1 1 0150 -100
#SAY
<Img:24:4:-20:-16/@空白>
<Img:131:4:191:50/@空白>\
<Img:10:4:122:215/@关闭>\
<Img:10:4:285:199/@关闭>\
#act
SETICON 0 4 446 0 -104 14 0
Break

[@法师]
#IF
Check 0
#Act
set 1
give 放大镜 1
give 金币 30000
give 火球术 1
give 雷电术 1
give 抗拒火环 1
give 诱惑之光 1
give 地狱火 1
give 大火球 1
give 瞬息移动 1
give 爆裂火焰 1
give 火墙 1
give 疾光电影 1
give 地狱雷光 1
give 魔法盾 1
give 圣言术 1
give 冰咆哮 1
CHANGEEXP + 50000
#ACT
PLAYSOUND Wav\领取.wav 1 0
#ACT
OPENMERCHANTBIGDLG 4 11 1 4 1 1 0150 -100
#SAY
<Img:48:4:-20:-16/@空白>
<Img:131:4:191:50/@空白>\
<Img:10:4:122:215/@关闭>\
<Img:10:4:285:199/@关闭>\
#act
SETICON 0 4 446 0 -104 14 0
Break


[@道士]
#IF
Check 0
#Act
set 1
give 竹笛 1
give 金币 30000
give 治愈术 1
give 灵魂火符 1
give 召唤骷髅 1
give 心灵启示 1
give 精神力战法 1
give 施毒术 1
give 隐身术 1
give 集体隐身术 1
give 幽灵盾 1
give 神圣战甲术 1
give 困魔咒 1
give 群体治疗术 1
give 召唤神兽 1
CHANGEEXP + 50000
#ACT
PLAYSOUND Wav\领取.wav 1 0
#ACT
OPENMERCHANTBIGDLG 4 11 1 4 1 1 0150 -100
#SAY
<Img:59:4:-20:-16/@空白>
<Img:131:4:191:50/@空白>\
<Img:10:4:122:215/@关闭>\
<Img:10:4:285:199/@关闭>\
#act
SETICON 0 4 446 0 -104 14 0
Break

[@关闭]
#IF
#ACT
PLAYSOUND Wav\逐风科技.wav 1 0
#ACT
CloseBigDialogBox
#ACT
close
#ACT
CLOSEMERCHANTBIGDLG


页: [1]
查看完整版本: 武易传奇熔岩传送石脚本编写案例分析