Forum

> > CS2D > Scripts > pointer explosion in the tibia.
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch pointer explosion in the tibia.

Keine Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt pointer explosion in the tibia.

UBMaster
BANNED Off Offline

Zitieren
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..
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht