• 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!

[request] Obsidian knife working on tfs 0.2.9

Sir MoX

New Member
Joined
Jan 14, 2009
Messages
285
Reaction score
1
HI, im looking for obsidian knife working good on tfs 0.2.9... I havent found it... if someone has it please give it =) rep++

also looking for adori blank magic spell =)
 
Lua:
local t = {
-- Minotaurs
	[2830] = {10, 5878},
	[2866] = {10, 5878},
	[2871] = {10, 5878},
	[2876] = {10, 5878},
-- Dragon
	[2844] = {10, 5877},
-- Dragon Lord
	[2881] = {10, 5948},
-- Behemoth
	[2931] = {10, 5893},
-- Lizards
	[4256] = {10, 5876},
	[4259] = {10, 5876},
	[4262] = {10, 5876},
-- Bonebeast
	[3031] = {10, 5925}
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
	if toPosition.x == 0 or toPosition.x == 65535 or itemEx.itemid == 0 then
		return FALSE
	end

	local v = t[itemEx.itemid]
	if not(v) then
		return FALSE
	end

	if math.random(100) <= v[1] then
		doPlayerAddItem(cid, v[2], 1)
		doSendMagicEffect(toPosition, CONST_ME_MAGIC_GREEN)
	else
		doSendMagicEffect(toPosition, CONST_ME_BLOCKHIT)
	end
	doTransformItem(itemEx.uid, itemEx.itemid + 1)
	doDecayItem(itemEx.uid)

	return TRUE
end
Code:
	<conjure name="Conjure Blank Rune" words="adori blank" lvl="13" mana="100" soul="1" conjureId="2260" conjureCount="1" exhaustion="1000" needlearn="0" function="conjureItem">
		<vocation name="Sorcerer"/>
		<vocation name="Druid"/>
		<vocation name="Paladin"/>
		<vocation name="Master Sorcerer"/>
		<vocation name="Elder Druid"/>
		<vocation name="Royal Paladin"/>
	</conjure>
 
Back
Top