Obsidian knife ! Help

Status
Zamknięty.

luki02006

Advanced User
Zarejestrowany
Dołączył
Maj 30, 2008
Posty
175
Liczba reakcji
14
Witam poszukuje skryptu pod obsidian knife ! ;] na tibie 8.4 lub jak zadziala to na nisze wersie :];p

chyba wiedzie do czego sluzy obsidian knife ;]
to jak ktos ma to prosze o ujawnienie :P
 
3maj
Kod:
local SKINS = {
	-- Minotaurs
	[2830] = {25000, 5878},
	[2871] = {25000, 5878},
	[2866] = {25000, 5878},
	[2876] = {25000, 5878},
	[3090] = {25000, 5878},
	-- Lizards
	[4259] = {25000, 5876},
	[4262] = {25000, 5876},
	[4256] = {25000, 5876},
	-- Dragons
	[3104] = {25000, 5877},
	[2844] = {25000, 5877},
	-- Dragon Lords
	[2881] = {25000, 5948},
	-- Behemoths
	[2931] = {25000, 5930, 90000, 5893},
	-- Bone Beasts
	[3031] = {25000, 5925}
}
function onUse (cid, item, fromPosition, itemEx, toPosition)
	if(getPlayerLevel(cid) <= 1) then
		doPlayerSendCancel(cid, "Musisz miec 2 level zeby uzyac tego narzedzia.")
		return TRUE
	end
	local skin = SKINS[itemEx.itemid]
	if(skin == nil) then
		doPlayerSendCancel(cid, "Sorka, to niemozliwe.")
		return TRUE
	end
	local random = math.random(1, 100000)
	if(random <= skin[1]) then
		doSendMagicEffect(toPosition, CONST_ME_GROUNDSHAKER)
		doPlayerAddItem(cid, skin[2], 1)
	elseif(skin[3] and random >= skin[3]) then
		doSendMagicEffect(toPosition, CONST_ME_GROUNDSHAKER)
		doPlayerAddItem(cid, skin[4], 1)
	else
		doSendMagicEffect(toPosition, CONST_ME_POFF)
	end
	doTransformItem(itemEx.uid, itemEx.itemid + 1)
	return TRUE
end
pozdrawiam

#edit
deklaracja do action.xml
PHP:
	<action itemid="5908" script="obsidianknife.lua"/>
no to jest action:)

//U?ywamy opcji edytuj - posty sklejone!
 
Ostatnio edytowane przez moderatora:
Odp: [8.4]Obsidian knife ! Help

Odp: [8.4]Obsidian knife ! Help

A mozesz mi powiedziec co to jest ? move....,action,,,..... co to ?

i podaj ten link co otwaza ,skrypt niewiem jak sie to nazywa
 
Status
Zamknięty.
Back
Do góry