找回密码
 立即注册
查看: 142|回复: 0

[脚本资源] 传奇SF脚本编写幸运检测.txt学习教程

[复制链接]

0

威望

2660

元宝

1万

金币

VIP会员

积分
6864
逍遥MIR 发表于 2024-6-16 00:22:35 | 显示全部楼层 |阅读模式
[@幸运检测]

{
#IF
Check [135] 0
CheckLuckPoint = 10
#ACT
SET [135] 1
SetNewItemValue 9 1 = 5
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到10点,伤害提升5% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到10点,伤害提升5% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到10点,伤害提升5% 1 3

#IF
Check [135] 0
CheckLuckPoint = 11
#ACT
SET [135] 1
SetNewItemValue 9 1 = 10
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到11点,伤害提升10% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到11点,伤害提升10% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到11点,伤害提升10% 1 3

#IF
Check [135] 0
CheckLuckPoint = 12
#ACT
SET [135] 1
SetNewItemValue 9 1 = 15
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到12点,伤害提升15% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到12点,伤害提升15% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到12点,伤害提升15% 1 3

#IF
Check [135] 0
CheckLuckPoint = 13
#ACT
SET [135] 1
SetNewItemValue 9 1 = 20
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到13点,伤害提升20% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到13点,伤害提升20% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到13点,伤害提升20% 1 3

#IF
Check [135] 1
CheckLuckPoint = 10
#ACT
SET [135] 1
SetNewItemValue 9 1 = 5

#IF
Check [135] 1
CheckLuckPoint = 11
#ACT
SET [135] 1
SetNewItemValue 9 1 = 10

#IF
Check [135] 1
CheckLuckPoint = 12
#ACT
SET [135] 1
SetNewItemValue 9 1 = 15

#IF
Check [135] 1
CheckLuckPoint = 13
#ACT
SET [135] 1
SetNewItemValue 9 1 = 20

#IF
CheckLuckPoint < 10
#ACT
SetNewItemValue 9 1 = 0
SET [135] 0



[@幸运提示]
#IF
CheckLuckPoint = 10
#ACT
SET [135] 1
SetNewItemValue 9 1 = 5
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到10点,伤害提升5% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到10点,伤害提升5% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到10点,伤害提升5% 1 3
SENDMSG 0 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到10点,伤害提升5%

#IF
CheckLuckPoint = 11
#ACT
SET [135] 1
SetNewItemValue 9 1 = 10
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到11点,伤害提升10% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到11点,伤害提升10% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到11点,伤害提升10% 1 3
SENDMSG 0 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到11点,伤害提升10%


#IF
CheckLuckPoint = 12
#ACT
SET [135] 1
SetNewItemValue 9 1 = 15
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到12点,伤害提升15% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到12点,伤害提升15% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到12点,伤害提升15% 1 3
SENDMSG 0 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到12点,伤害提升15%

#IF
CheckLuckPoint = 13
#ACT
SET [135] 1
SetNewItemValue 9 1 = 20
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到13点,伤害提升20% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到13点,伤害提升20% 1 3
SendCenterMsg 0 70 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到13点,伤害提升20% 1 3
SENDMSG 0 ≤幸运之神≥:玩家【<$USERNAME>】幸运值达到13点,伤害提升20%

}
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|小黑屋|逍遥版本库

GMT+8, 2024-11-22 15:10 , Processed in 0.043086 second(s), 26 queries .

Powered by XyBbk! X3.5

Copyright © 2001-2024, XyBbk Cloud.

快速回复 返回顶部 返回列表