I know it can be shorter, but I don't know why I couldn't short it xD
In actions is would be better :S But I don't have time now
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST...