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

Skill Doll Script for 8.6

Bazi

Member
Joined
Oct 24, 2011
Messages
270
Reaction score
8
Location
Germany
Hey Otland, i need a Script, Skill up Doll if i use a Doll my skill will going to upfor Magic, Axe, Sword, Club. Thank You


Bazi.
 
Hey Otland, i need a Script, Skill up Doll if i use a Doll my skill will going to upfor Magic, Axe, Sword, Club. Thank You


Bazi.

Code:
local itemID = 9004
local swordlvls = 3000 ---- How much sword "hits"  1 hit = like if player hit a monster 1x... it will give.
local words = "Text here."
local swordlevel = 150 -------From this sword skill and less he can use this item.
function onUse(cid, item, frompos, item2, topos)
if item.itemid == itemID and getPlayerSkillLevel(cid, SKILL_SWORD) <= swordlevel then
doCreatureSay(cid, "You just used an Sword Fighting Scroll!" ,19)
doPlayerAddSkillTry(cid, SKILL_SWORD, swordlvls)
doRemoveItem(cid, item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry but you have to high sword fighting skill to use this scroll")
end
return 1
end

Code:
<action itemid="9004" script="swordskilldoll.lua"/>

If i helped Rep++ :)
 
LUA:
local itemID = 9004
local swordlvls = 3000 ---- How much sword "hits"  1 hit = like if player hit a monster 1x... it will give.
local words = "Text here."
local swordlevel = 150 -------From this sword skill and less he can use this item.
function onUse(cid, item, frompos, item2, topos)
if item.itemid == itemID and getPlayerSkillLevel(cid, SKILL_SWORD) <= swordlevel then
doCreatureSay(cid, "You just used an Sword Fighting Scroll!" ,19)
doPlayerAddSkillTry(cid, SKILL_SWORD, swordlvls)
doRemoveItem(cid, item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry but you have to high sword fighting skill to use this scroll")
end
return 1
end
 
LUA:
local itemID = 9004
local swordlvls = 3000 ---- How much sword "hits"  1 hit = like if player hit a monster 1x... it will give.
local words = "Text here."
local swordlevel = 150 -------From this sword skill and less he can use this item.
function onUse(cid, item, frompos, item2, topos)
if item.itemid == itemID and getPlayerSkillLevel(cid, SKILL_SWORD) <= swordlevel then
doCreatureSay(cid, "You just used an Sword Fighting Scroll!" ,19)
doPlayerAddSkillTry(cid, SKILL_SWORD, swordlvls)
doRemoveItem(cid, item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry but you have to high sword fighting skill to use this scroll")
end
return 1
end


Nice Nice
 
its work with all but don't work with msgic level idk why :S please if u can make new one for magiclevel scroll i will be happy :D

- - - Updated - - -

local itemID = 9004
local maglvls = 3000
local words = "Text here."
local Maglevel= 90
function onUse(cid, item, frompos, item2, topos)
if item.itemid == itemID and getPlayerskillLevel(cid, SKILL_MAGLEVEL) <= magiclevel then
doCreatureSay(cid, "You just used an MAGICL LEVEl Scroll!" ,19)
doPlayerAddskilllevelTry(cid, SKILL_MAGLEVEL)
doRemoveItem(cid, item.uid, 1)
else
doPlayerSendCancel(cid, "Sorry but you have to high Magic level Scroll to use this scroll")
end
return 1
end

and no work please if u can fix it do please and i want this local level for knight 12 and paladin 15 and mage 90 if anyone can fix it i will be happy :D ty

- - - Updated - - -

??? no one can do it ?
 
Back
Top