function HealUnit takes unit target, real amount returns nothing
local texttag Text = CreateTextTag()
call SetTextTagVelocity(Text, 0, .0277 )
call SetTextTagColor(Text,0,191,0, 255 )
call SetTextTagText(Text,I2S(R2I(amount)) ,.019)
call SetTextTagPosUnit(Text,target, 0 )
call SetTextTagPermanent(Text, false)
call SetTextTagLifespan(Text, 2)
call SetWidgetLife(target,GetWidgetLife(target)+amount)
call DestroyEffect(AddSpecialEffect("Abilities\\Spells\\Human\\Heal\\HealTarget.mdl",target,"origin"))
set Text = null
set target = null
endfunction