传奇SF脚本编写幸运检测.txt学习教程
[@幸运检测]{
#IF
Check 0
CheckLuckPoint = 10
#ACT
SET 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 0
CheckLuckPoint = 11
#ACT
SET 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 0
CheckLuckPoint = 12
#ACT
SET 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 0
CheckLuckPoint = 13
#ACT
SET 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 1
CheckLuckPoint = 10
#ACT
SET 1
SetNewItemValue 9 1 = 5
#IF
Check 1
CheckLuckPoint = 11
#ACT
SET 1
SetNewItemValue 9 1 = 10
#IF
Check 1
CheckLuckPoint = 12
#ACT
SET 1
SetNewItemValue 9 1 = 15
#IF
Check 1
CheckLuckPoint = 13
#ACT
SET 1
SetNewItemValue 9 1 = 20
#IF
CheckLuckPoint < 10
#ACT
SetNewItemValue 9 1 = 0
SET 0
[@幸运提示]
#IF
CheckLuckPoint = 10
#ACT
SET 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 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 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 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%
}
页:
[1]