admin 发表于 2024-3-24 19:29:09

发射脚本,指定怪物掉落脚本

[@指定爆装备]
#if
#say
<Img|loadDelay=1|show=0|move=0|reset=1|bg=1|img=public/bg_npc_01.png>
<Layout|x=545|y=0|width=80|height=80|link=@exit>
<Button|x=546|y=0|nimg=public/1900000510.png|pimg=public/1900000511.png|link=@exit>
<Text|x=43.0|y=30.0|size=18|color=255|text=玩家名字:<$str(A61)>|link=@@InPutString21>
<Text|x=42.0|y=61.0|size=18|color=255|text=怪物名字:<$str(A62)>|link=@@InPutString22>
<Text|x=44.0|y=93.0|size=18|color=255|text=装备名字:<$str(A63)>|link=@@InPutString23>


[@InPutString21]
#if
equal s21
#act
sendmsg 9 <font color='#FF0000'>输入玩家名字</font>
break


#if
#act
MOV A61 <$str(S21)>
GOTO @指定爆装备
break


[@InPutString22]
#if
equal s21
#act
sendmsg 9 <font color='#FF0000'>输入怪物名字</font>
break


#if
#act
MOV A62 <$str(S22)>
GOTO @指定爆装备
break


[@InPutString23]
#if
equal s21
#act
sendmsg 9 <font color='#FF0000'>输入装备名字</font>
break


#if
#act
MOV A63 <$str(S23)>
GOTO @指定爆装备
break


;QF 杀怪触发
[@KillMon]
#if
EQUAL A61 <$username>
EQUAL <$CURRRTARGETNAME> <$str(A62)>
#act
AddMonDrop <$str(A63)>
MOV A61
MOV A62
MOV A63


页: [1]
查看完整版本: 发射脚本,指定怪物掉落脚本