function and item declaration for dealing damage instantly in Dota 2 addons.