逍遥MIR 发表于 2024-7-14 00:08:54

简单一个脚本开启传奇孔雀翎活动


[@main]

#IF
#ACT
ReturnBoxItem 2
OPENMERCHANTBIGDLG 38 13 4 4 0 0 0
#SAY
<IMG:1543:0:370:0/@exit>\
<IMG:0:38:-10:-15/@KQL1>\
<IMG:12:38:160:206|^242#将孔雀翔装放入↑↑↑上方装备处^254# 点击按钮进行炼化。/@升级>\
<ItemShow:573:0:105:170><ItemShow:574:0:65:70><ItemShow:575:0:202:70><ItemShow:576:0:160:170><ItemShow:581:0:40:20>\
\\\\\\\\\\\\\\\\\\
<>    <〖暗器々孔雀翎〗/SCOLOR=243>            \\
<>       <名震天下的暗器「孔雀翎」,让敌人目眩神迷之际,便已魂飞魄散>\ \
<>    <升级方法:将孔雀翔。放入上方装备框内。/SCOLOR=223>\ \
<>    <升级介绍:佩戴孔雀翔后,击杀任意怪物都会增加怨气值。/SCOLOR=254>\ \
<>    <怨气值100%后,将会提升一次等级,每次提升都会获得属性加成/SCOLOR=223>\
\
\
\
<ITEMBOX:2:90:94:185:-325:50:50:*:254#请放入孔雀翔系列装备^254#必须将孔雀翎杀怪进化至MAX>\





[@升级]
#IF
EQUAL <$BOXITEM.NAME>
#ACT
MESSAGEBOX 请放入孔雀翔系列的装备!
break




#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅰ

#act
goto @1
BREAK




#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅱ
#act
goto @2
BREAK



#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅲ
#act
goto @3
BREAK




#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅳ
#act
goto @4
BREAK


#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅴ
#act
goto @5
BREAK



#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅵ
#act
goto @6
BREAK





#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅶ
#act
goto @7
BREAK

#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅷ
#act
goto @8
BREAK


#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅸ
#act
goto @9
BREAK




#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎MAX
#act
goto @终极

#ELSEACT
MESSAGEBOX 请放入孔雀翔系列的装备!
break



[@终极]
#IF
#ACT
MESSAGEBOX 您已是顶级孔雀翔,请期待第二季更新



[@9]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<9000/SCOLOR=251> \ \\

<>             <确定升级/@鉴定9>      <返回/@Main>\



[@鉴定9]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅸ
CHECKVAR HUMAN 怨气值 > 9999
#ACT
CALCVAR HUMAN 怨气值 - 10000
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎MAX 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎MAX|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK











[@8]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<8000/SCOLOR=251> \ \\

<>             <确定升级/@鉴定8>      <返回/@Main>\



[@鉴定8]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅷ
CHECKVAR HUMAN 怨气值 > 7999
#ACT
CALCVAR HUMAN 怨气值 - 8000
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎Ⅸ 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎Ⅸ|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK

















[@7]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<5000/SCOLOR=251> \ \\

<>             <确定升级/@鉴定7>      <返回/@Main>\



[@鉴定7]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅶ
CHECKVAR HUMAN 怨气值 > 4999
#ACT
CALCVAR HUMAN 怨气值 - 5000
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎Ⅷ 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎Ⅷ|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK

















[@6]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<4000/SCOLOR=251> \ \\

<>             <确定升级/@鉴定6>      <返回/@Main>\



[@鉴定6]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅵ
CHECKVAR HUMAN 怨气值 > 3999
#ACT
CALCVAR HUMAN 怨气值 - 4000
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎Ⅶ 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎Ⅶ|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK

























[@5]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<3000/SCOLOR=251> \ \\

<>             <确定升级/@鉴定5>      <返回/@Main>\



[@鉴定5]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅴ
CHECKVAR HUMAN 怨气值 > 2999
#ACT
CALCVAR HUMAN 怨气值 - 3000
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎Ⅵ 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎Ⅵ|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK




















[@4]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<2000/SCOLOR=251> \ \\

<>             <确定升级/@鉴定4>      <返回/@Main>\



[@鉴定4]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅳ
CHECKVAR HUMAN 怨气值 > 1999
#ACT
CALCVAR HUMAN 怨气值 - 2000
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎Ⅴ 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎Ⅴ|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK



























[@3]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<1500/SCOLOR=251> \ \\

<>             <确定升级/@鉴定3>      <返回/@Main>\



[@鉴定3]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅲ
CHECKVAR HUMAN 怨气值 > 1499
#ACT
CALCVAR HUMAN 怨气值 - 1500
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎Ⅳ 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎Ⅳ|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK




























[@2]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<800/SCOLOR=251> \ \\

<>             <确定升级/@鉴定2>      <返回/@Main>\



[@鉴定2]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅱ
CHECKVAR HUMAN 怨气值 > 999
#ACT
CALCVAR HUMAN 怨气值 - 1000
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎Ⅲ 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎Ⅲ|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK











[@1]
#IF
#ACT
OPENMERCHANTBIGDLG 90 79 1 4 30 -50 0 0 0\
#SAY
<><Img:4:90:275:155/@exit>\
\ \\ \\ \ \
\ \ \
\ \ \
<>               <您当前拥有怨气值/SCOLOR=249> {<$HUMAN(怨气值)>/FCOLOR=250} \ \
<>               升级所需怨气值:<400/SCOLOR=251> \ \\

<>             <确定升级/@鉴定1>      <返回/@Main>\



[@鉴定1]
#IF
Equal <$BOXITEM.NAME> 暗器々孔雀翎Ⅰ
CHECKVAR HUMAN 怨气值 > 399
#ACT
CALCVAR HUMAN 怨气值 - 400
SAVEVAR HUMAN 怨气值 ..\QuestDiary\重要数据\怨气值.txt
GiveStateItem 暗器々孔雀翎Ⅱ 1 1 1 0 1 1 1
DELBOXITEM 2
GuildNoticeMsg 251 249 {※|254:0:1}恭喜{※|254:0:1}玩家{【|250:0:1}{<$USERNAME>|251:0:1}{】|250:0:1}成功熔炼成{【|250:0:1}{暗器々孔雀翎Ⅱ|254:0:1}{】|250:0:1}~~
#ELSEACT
MESSAGEBOX 炼化值不够
BREAK

页: [1]
查看完整版本: 简单一个脚本开启传奇孔雀翎活动