• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

animate dead rune

Daxu

Banned User
Joined
Jun 18, 2010
Messages
336
Reaction score
9
Location
Poland
siemka
mam pytanie dotyczace animate dead rune jak ktos nie wie to ta runa sprawia ze po uzyciu runy na byle jakiego deda powstaje skeleton :p
tylko jak ktos ma tych run pelno i lezy duzo dedow to przeciez jaki spam koles zrobi tymi skeletonami czy na rl tez tak jest ze nieograniczona ilosc jest?
jak moze zrobic blokade np do 5 maksymalnie
to moj skrypt:
Code:
local function doTargetCorpse(cid, pos)
	local getPos = pos
	getPos.stackpos = 255
	corpse = getThingfromPos(getPos)
	if(corpse.uid > 0 and isCreature(corpse.uid) == FALSE and isInArray(CORPSES, corpse.itemid) == TRUE) then
		doRemoveItem(corpse.uid)
		doConvinceCreature(cid, doCreateMonster("Skeleton", pos))
		doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE)
		return LUA_NO_ERROR
	end

	doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
	doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
	return LUA_ERROR
end

function onCastSpell(cid, var)
	local pos = variantToPosition(var)
	if(pos.x ~= 0 and pos.y ~= 0 and pos.z ~= 0) then
		return doTargetCorpse(cid, pos)
	end

	doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
	doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
	return LUA_ERROR
end
 
if(corpse.uid > 0 and isCreature(corpse.uid) == FALSE and isInArray(CORPSES, corpse.itemid) == TRUE) then
Dodaj se do warunku sprawdzanie storage'a i pod
doConvinceCreature(cid, doCreateMonster("Skeleton", pos))
jego zwiekszanie?
 
no ta ale to i tak mi nic nie da bo w poblizu moze byc ze 30 dedow :/
 
Ja pierdole.
Idz sie pierdolnij glowa w czola, wroc i powiedz czy pomoglo.
 
Back
Top