entity.damage
Posted: Sun Nov 16, 2014 6:50 am
				
				Hi, i want to make a damage aura, but i can't use entity.damage.
Always returns "Given object is not a lua force"
Here says in version 0.8.0 it was repaired, anyone know how can i do?
			Code: Select all
for _,v in ipairs(game.findenemyunits(game.player.character.position, auraLevel * 0.125 + 7)) do
	v.damage({amount = auraLevel * 0.025}, {force = game.player.force.name}) --i used game.player.force too and returns same results
endHere says in version 0.8.0 it was repaired, anyone know how can i do?