给大家写了个盾牌伤害吸收功能实现方法,希望对你有所帮助。
[@吸收]
{
#IF
CheckItemW 大地之怒(盾)
#ACT
SetSuckDamage = 0 1000 100
SetSuckDamage = 1999999999 100 100
Break
#IF
CheckItemW 天崩地裂(盾)
#ACT
SetSuckDamage = 0 1000 100
SetSuckDamage = 1999999999 200 100
Break
#IF
CheckItemW 烽火狼烟(盾)
#ACT
SetSuckDamage = 0 1000 100
SetSuckDamage = 1999999999 300 100
Break
#IF
CheckItemW 春生秋杀(盾)
#ACT
SetSuckDamage = 0 1000 100
SetSuckDamage = 1999999999 400 100
Break
#IF
CheckItemW 不动如山(盾)
#ACT
SetSuckDamage = 0 1000 100
SetSuckDamage = 1999999999 500 100
Break
#IF
CheckLevelEx > 1
#ACT
SetSuckDamage = 0 1000 100
Break
}