百分比/千分比检测MP
CheckMpPer
参数1:> < =
参数2:百分比值
参数3:分母,如果该参数省略则默认按照百分比算
实例
[@main]
#if
CheckMpPer > 50
#act
SendMsg 6 你的蓝量大于50%
#elseact
SendMsg 6 你的蓝量不大于50%
#if
CheckMpPer > 50 300
#act
SendMsg 6 你的蓝量大于300分之50
#elseact
SendMsg 6 你的蓝量不大于300分之50

注[0是当前血量即剩余血量,1是总血量,默认总血量。]