火伤+1代码参考: LuaTest = sgs.CreateTriggerSkill{ name = "LuaTest", frequency = sgs.Skill_Compulsory, events = {sgs.DamageInflicted}, on_trigger = function (self,event,player,data) local damage = data:toDamage() if damage.nature == sgs.DamageStruct_Fire then damage.damage = damage.damage + 1 data:setValue(damage) end return false end }