lua help
Posted: Thu Oct 04, 2012 9:27 am
in the following line:
if target.type.."/"..target.subtype == t or target.type == t then dam = dam + dam * idt / 100 break end
i want to add a second instruction after the dam = ..., such as:
if target.type.."/"..target.subtype == t or target.type == t then
dam = dam + dam * idt / 100
maxdam = maxdam + maxdam * idt /100
break
end
is this correct? I'm not sure about the "break".
if target.type.."/"..target.subtype == t or target.type == t then dam = dam + dam * idt / 100 break end
i want to add a second instruction after the dam = ..., such as:
if target.type.."/"..target.subtype == t or target.type == t then
dam = dam + dam * idt / 100
maxdam = maxdam + maxdam * idt /100
break
end
is this correct? I'm not sure about the "break".