def slip_damage_effect
xxxx = self.maxhp / 30
yyyy = self.hp / 20
zzzz = self.maxsp / 20
qqqq = self.maxhp / 10
if self.state?(24) and self.state?(3) and self.state?(32) and self.state?(45)
#默认的回血毒烧伤回SP效果
self.damage["slip"] = (xxxx + yyyy - qqqq)
self.damage_sp["slip"] = zzzz
self.hp -= self.damage["slip"]
self.sp += self.damage_sp["slip"]
return true
end
if self.state?(24) and self.state?(3) and self.state?(32)#默认的毒烧伤回血效果
self.damage["slip"] = (xxxx + yyyy - qqqq)
self.hp -= self.damage["slip"]
return true
end
if self.state?(3) and self.state?(32)#默认的毒烧伤效果
self.damage["slip"] = (xxxx + yyyy)
self.hp -= self.damage["slip"]
return true
end
if self.state?(24) and self.state?(32) and self.state?(45) #默认的烧伤回SP回血效果
self.damage["slip"] = (yyyy - qqqq)
self.damage_sp["slip"] = zzzz
self.hp -= self.damage["slip"]
self.sp += self.damage_sp["slip"]
return true
if self.state?(32) and self.state?(45) #默认的烧伤回SP效果
self.damage["slip"] = yyyy
self.damage_sp["slip"] = zzzz
self.hp -= self.damage["slip"]
self.sp += self.damage_sp["slip"]
return true
end
if self.state?(24) and self.state?(3) and self.state?(45) #默认的毒回SP回血效果
self.damage["slip"] = (xxxx - qqqq)
self.damage_sp["slip"] = zzzz
self.hp -= self.damage["slip"]
self.sp += self.damage_sp["slip"]
return true
end
if self.state?(3) and self.state?(45) #默认的毒回SP效果
self.damage["slip"] = xxxx
self.damage_sp["slip"] = zzzz
self.hp -= self.damage["slip"]
self.sp += self.damage_sp["slip"]
return true
end
if self.state?(24) and self.state?(3) #默认的毒回血效果
self.damage["slip"] = (xxxx - qqqq)
self.hp -= self.damage["slip"]
return true
end
if self.state?(3) #默认的毒效果
self.damage["slip"] = xxxx
self.hp -= self.damage["slip"]
return true
end
if self.state?(24) and self.state?(32) #烧伤回血
self.damage["slip"] = (yyyy - qqqq)
self.hp -= self.damage["slip"]
return true
end
if self.state?(32) #烧伤
self.damage["slip"] = yyyy
self.hp -= self.damage["slip"]
return true
end
if self.state?(24) and self.state?(45) #回SP回血效果
self.damage["slip"] = qqqq
self.hp += self.damage["slip"]
self.damage_sp["slip"] = zzzz
self.sp += self.damage_sp["slip"]
return true
end
if self.state?(45) #回SP效果
self.damage_sp["slip"] = zzzz
self.sp += self.damage_sp["slip"]
return true
end
if self.state?(24) #回血
self.damage["slip"] = qqqq
self.hp += self.damage["slip"]
return true
end
# 过程结束
return true
end
end