Forum

> > CS2D > Scripts > pointer explosion in the tibia.
Forums overviewCS2D overview Scripts overviewLog in to reply

English pointer explosion in the tibia.

No replies
To the start Previous 1 Next To the start

old pointer explosion in the tibia.

UBMaster
BANNED Off Offline

Quote
hi guys.

How can I do this in my tibia will burst mode on the mouse?

1
2
3
4
5
6
7
8
function explosion(x, y, size, damage, id)
	for _, m in ipairs(MONSTERS) do
		if math.sqrt((m.x-player(id,'x'))^2+(m.y-player(id,'y'))^2) <= size then
			m:damage(id, math.floor(damage*math.random(60,140)/100), 251)
		end
	end
	parse("explosion " .. x .. " " .. y .. " " .. size .. " " .. damage .. " " .. id)
end

1
explosion(player(id, "x"), player(id,"y"), 50, 10, id)

thanks..
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview