Not places in function, but in the calculations yes.
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
function getWeaponDamage(cid, skill, att, attackStrength)
local sword = att
local min = -(((attackStrength * sword)*0.6) )...