【脚本】暴击、重伤、切割、格挡-BUFF

 


表格:
cfg_damage_number.xls

///id                enable        type        res        prefix        width        height        zOrder        isAudio        animID        shake        own_param        other_param        offset_param        damage_type
//id        name        enable(开关)        飘字类型(1、图片飘字,2、只有图片没有数字)        res(资源)        prefix(前缀,用于显示符号、文字(占位符【:;<=>?@ABCDEF】 加减号占位【/】)        width        height        zOrder(层级,同种资源层级保持一致)        是否需要音效        特效id(加了后会调用对应的特效)        是否震屏:1震屏        TIME_PARAM     = 1【时间变量(1#多少秒)】ANCHOR_PARAM   = 2,【锚点(2#x#Y) 左下角为(0,0),右上角为(1,1)】MOVEBY_ACTION  = 3,【移动(3#X#Y)】SCALETO_ACTION = 4,【缩放(4#value) value范围为:0-1】 FADETO_ACTION  = 5,【透明度(5#value) value范围为:0-1】 DELAY_ACTION   = 6,【等待时间(6#多少秒)】若短时间内重复触发飘字,则飘字会根据填写的坐标进行顺序偏移显示1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0                        1、伤害类型
1        普通        1        1        word_pupz_02.png        /        14        22        1                                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        0#10|3#15|6#20|9#25|12#30        1
2        致命一击        1        1        word_bjwz_07.png        :;<=/        14        24        32        1        11011                1#0|3#0#60|4#0.8|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#0.8|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0                1
3        闪避        1        2        word_pupz_05.png        /        49        20        12                                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0               
4        恢复        1        1        word_jxpz_03.png        /        14        22        14                                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0               
5        格挡        1        1        word_pupz_04.png        :;<=/        14        22        12                                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0               
6        无敌        1        2        word_pupz_06.png        /        49        20        12                62                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0               
7        护体神盾        1        2                :;<=/        14        22        12                141                1#0|2#0.5#0        1#0|2#0.5#0               
8        暴击        1        1        word_pupz_02.png        /        14        22        34                4930                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        0#10|3#15|6#20|9#25|12#30        1
9        噬魂        1        1        word_pupz_02.png        /        14        22        1                                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        0#10|3#15|6#20|9#25|12#30        1
10        减少        1        1        word_jxpz_06.png        /        14        22        14                                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0               
11        重伤        1        1        word_jxpz_11.png        /        14        22        1                                1#0|3#0#60|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#100|4#1|5#1&1#0.6|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        0#10|3#15|6#20|9#25|12#30        1
12        切割        1        1        word_pupz_12.png        :;<=/        14        22        12                                1#0|3#0#60|4#0.8|5#1&1#0.5|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0        1#0|3#0#60|4#0.8|5#1&1#0.5|2#0#0|3#20#20|4#1|5#1&1#0.3|2#0#0|4#1|5#0               
60        普通        1        1        word_pupz_02.png        /        14        22        1                                1#0|3#0#60|4#2|5#1&1#0.6|2#0#0|3#20#20|4#2|5#1&1#0.3|2#0#0|4#2|5#0        1#0|3#0#100|4#2|5#1&1#0.6|2#0#0|3#20#20|4#2|5#1&1#0.3|2#0#0|4#2|5#0        0#10|3#15|6#20|9#25|12#30        1

QFunction-0.txt

[@Attack]
#IF
#ACT
M.HUMANHP - 9999 12
SENDMSG 0 本次攻击切割了9999血量
BREAK

#IF
#ACT
M.HUMANHP - 9999 11
SENDMSG 0 本次攻击重伤9999血量
BREAK

 

THE END