找传奇、传世资源到传世资源站!

神龙许愿

2020.5.20 技术教程 343 编辑

[@main]
<我要唤醒神龙/@@OpenWnd DragonWishWnd>

[@_龙珠许愿_打开]
#IF
CHECKLEVELEX > 0
#ACT
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
break
close

[@_龙珠许愿_许愿]
#IF
EQUAL $CustomValue(1) 1
EQUAL $CustomValue(2) 1
EQUAL $CustomValue(3) 1
EQUAL $CustomValue(4) 1
EQUAL $CustomValue(5) 1
EQUAL $CustomValue(6) 1
EQUAL $CustomValue(7) 1
#ACT
ChangeCustomValue 1 = 0
ChangeCustomValue 2 = 0
ChangeCustomValue 3 = 0
ChangeCustomValue 4 = 0
ChangeCustomValue 5 = 0
ChangeCustomValue 6 = 0
ChangeCustomValue 7 = 0
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
break

[@_龙珠许愿_放入龙珠]
#IF
EQUAL $PARAM(1) 0
!EQUAL $ITEMINFO[$PARAM(0)].STDNAME 红色龙珠
#ACT
SENDMSG 5 只能用红色龙珠激活该位置
break

#IF
EQUAL $PARAM(1) 1
!EQUAL $ITEMINFO[$PARAM(0)].STDNAME 橙色龙珠
#ACT
SENDMSG 5 只能用橙色龙珠激活该位置
break

#IF
EQUAL $PARAM(1) 2
!EQUAL $ITEMINFO[$PARAM(0)].STDNAME 黄色龙珠
#ACT
SENDMSG 5 只能用黄色龙珠激活该位置
break

#IF
EQUAL $PARAM(1) 3
!EQUAL $ITEMINFO[$PARAM(0)].STDNAME 绿色龙珠
#ACT
SENDMSG 5 只能用绿色龙珠激活该位置
break

#IF
EQUAL $PARAM(1) 4
!EQUAL $ITEMINFO[$PARAM(0)].STDNAME 青色龙珠
#ACT
SENDMSG 5 只能用青色龙珠激活该位置
break

#IF
EQUAL $PARAM(1) 5
!EQUAL $ITEMINFO[$PARAM(0)].STDNAME 蓝色龙珠
#ACT
SENDMSG 5 只能用蓝色龙珠激活该位置
Break

#IF
EQUAL $PARAM(1) 6
!EQUAL $ITEMINFO[$PARAM(0)].STDNAME 紫色龙珠
#ACT
SENDMSG 5 只能用紫色龙珠激活该位置
break

#IF
EQUAL $PARAM(1) 0
Large $CustomValue(1) 0
#ACT
SENDMSG 5 该位置已经激活。
break

#IF
EQUAL $PARAM(1) 1
Large $CustomValue(2) 0
#ACT
SENDMSG 5 该位置已经激活。
break

#IF
EQUAL $PARAM(1) 2
Large $CustomValue(3) 0
#ACT
SENDMSG 5 该位置已经激活。
break

#IF
EQUAL $PARAM(1) 3
Large $CustomValue(4) 0
#ACT
SENDMSG 5 该位置已经激活。
break

#IF
EQUAL $PARAM(1) 4
Large $CustomValue(5) 0
#ACT
SENDMSG 5 该位置已经激活。
break

#IF
EQUAL $PARAM(1) 5
Large $CustomValue(6) 0
#ACT
SENDMSG 5 该位置已经激活。
break

#IF
EQUAL $PARAM(1) 6
Large $CustomValue(7) 0
#ACT
SENDMSG 5 该位置已经激活。
break

#IF
EQUAL $PARAM(1) 0
EQUAL $CustomValue(1) 0
EQUAL $ITEMINFO[$PARAM(0)].STDNAME 红色龙珠
#ACT
ChangeCustomValue 1 = 1
TAKEM $PARAM(0)
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
SENDMSG 5 恭喜你激活了一颗龙珠
break

#IF
EQUAL $PARAM(1) 1
EQUAL $CustomValue(2) 0
EQUAL $ITEMINFO[$PARAM(0)].STDNAME 橙色龙珠
#ACT
ChangeCustomValue 2 = 1
TAKEM $PARAM(0)
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
SENDMSG 5 恭喜你激活了一颗龙珠
break

#IF
EQUAL $PARAM(1) 2
EQUAL $CustomValue(3) 0
EQUAL $ITEMINFO[$PARAM(0)].STDNAME 黄色龙珠
#ACT
ChangeCustomValue 3 = 1
TAKEM $PARAM(0)
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
SENDMSG 5 恭喜你激活了一颗龙珠
break

#IF
EQUAL $PARAM(1) 3
EQUAL $CustomValue(4) 0
EQUAL $ITEMINFO[$PARAM(0)].STDNAME 绿色龙珠
#ACT
ChangeCustomValue 4 = 1
TAKEM $PARAM(0)
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
SENDMSG 5 恭喜你激活了一颗龙珠
break

#IF
EQUAL $PARAM(1) 4
EQUAL $CustomValue(5) 0
EQUAL $ITEMINFO[$PARAM(0)].STDNAME 青色龙珠
#ACT
ChangeCustomValue 5 = 1
TAKEM $PARAM(0)
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
SENDMSG 5 恭喜你激活了一颗龙珠
break

#IF
EQUAL $PARAM(1) 5
EQUAL $CustomValue(6) 0
EQUAL $ITEMINFO[$PARAM(0)].STDNAME 蓝色龙珠
#ACT
ChangeCustomValue 6 = 1
TAKEM $PARAM(0)
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
SENDMSG 5 恭喜你激活了一颗龙珠
break

#IF
EQUAL $PARAM(1) 6
EQUAL $CustomValue(7) 0
EQUAL $ITEMINFO[$PARAM(0)].STDNAME 紫色龙珠
#ACT
ChangeCustomValue 7 = 1
TAKEM $PARAM(0)
SENDDRAGONBALLSTATE <$CustomValue(1)>|<$CustomValue(2)>|<$CustomValue(3)>|<$CustomValue(4)>|<$CustomValue(5)>|<$CustomValue(6)>|<$CustomValue(7)>
SENDMSG 5 恭喜你激活了一颗龙珠
break

评论

发表评论必须先登陆, 您可以 登陆 或者 注册新账号 !


在线咨询: 问题反馈
客服QQ:174666394

有问题请留言,看到后及时答复