JeffShadow90 Posted December 4, 2011 Posted December 4, 2011 Hi. I wanted to know how do I make an item (es.: Giant fly wing) unlimited to the use... I mean that you can use it but it do not dissapear.. you can use it infinite time Thanks Quote
0 Start_ Posted November 9, 2021 Posted November 9, 2021 - Id: 504 AegisName: White_Potion Name: White Potion Type: Delayconsume Buy: 1200 Weight: 150 Script: | percentheal 20,0; If still not working - Id: 504 AegisName: White_Potion Name: White Potion Type: Delayconsume Flags: NoConsume: true Buy: 1200 Weight: 150 Script: | percentheal 20,0; Quote
0 Diana Posted April 17, 2021 Posted April 17, 2021 @Emistry Please, there's an update for this topic? Now I can see in yml Type: Delayconsume and I can't make it infinite Quote
0 dantoki Posted November 9, 2021 Posted November 9, 2021 On 4/17/2021 at 11:45 AM, Diana said: @Emistry Please, there's an update for this topic? Now I can see in yml Type: Delayconsume and I can't make it infinite @Emistry how to do it on latest item db? bump for this comment Quote
0 Start_ Posted November 9, 2021 Posted November 9, 2021 28 minutes ago, qtdan said: @Emistry how to do it on latest item db? bump for this comment If your item had 'itemskill' that will consume otherwise it will infinite. Quote
0 dantoki Posted November 9, 2021 Posted November 9, 2021 14 minutes ago, Start_ said: If your item had 'itemskill' that will consume otherwise it will infinite. can you give me example? - Id: 504 AegisName: White_Potion Name: White Potion Type: Healing Buy: 1200 Weight: 150 Script: | percentheal 20,0; Quote
whitesn Posted December 4, 2011 Posted December 4, 2011 (edited) As far I know you should use function. at the item's effect put callfunc "itemfunc"; then put this script on /script/custom/ make new files -> itemfunc.txt The Script function<tab>script<tab>itemfunc<tab>{ //item effect goes here getitem itemID,1; //red = Change to your Item ID's //blue = Change to your previous item's effect } add script_custom.conf npc: npc/custom/itemfunc.txt Correct me if I wrong Edited December 4, 2011 by 2essy2killu Quote
Emistry Posted December 4, 2011 Posted December 4, 2011 (edited) As far I know you should use function. at the item's effect put callfunc "itemfunc"; then put this script on /script/custom/ make new files -> itemfunc.txt The Script function<tab>script<tab>itemfunc<tab>{ //item effect goes here getitem itemID,1; //red = Change to your Item ID's //blue = Change to your previous item's effect } Correct me if I wrong rather than using 1 more function... you can just basically add in getitem command at the item_db.txt Anyway..just follow the guide i give in the second post... change the Item Type to 11... Example : Original Red Potion ( 1 Time Usage ) 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} Edited Red Potion ( Unlimit Usage ) 501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} Edited December 4, 2011 by Emistry Quote
whitesn Posted December 4, 2011 Posted December 4, 2011 As far I know you should use function. at the item's effect put callfunc "itemfunc"; then put this script on /script/custom/ make new files -> itemfunc.txt The Script function<tab>script<tab>itemfunc<tab>{ //item effect goes here getitem itemID,1; //red = Change to your Item ID's //blue = Change to your previous item's effect } Correct me if I wrong rather than using 1 more function... you can just basically add in getitem command at the item_db.txt Anyway..just follow the guide i give in the second post... change the Item Type to 11... Example : Original Red Potion ( 1 Time Usage ) 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} Edited Red Potion ( Unlimit Usage ) 501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(105,145),0; },{},{} Oh yeah never think of that xD 11 = usable item with unlimited usage ? o.o Quote
Emistry Posted December 4, 2011 Posted December 4, 2011 (edited) 11 = usable item with unlimited usage ? o.o Currently....YES ^^ i have test this in my test server Edited December 4, 2011 by Emistry Quote
KeiKun Posted December 4, 2011 Posted December 4, 2011 (edited) really? type 11 = unlimited? 601,Wing_Of_Fly,Fly Wing,11,60,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",1; },{},{} type 0 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(45,65),0; },{},{} EDIT: type 11 when use with pots go unlimited but there is a restriction not all type 11 = unlimited i guess db needs to be updated more~ Edited December 4, 2011 by KeiKun Quote
Emistry Posted December 4, 2011 Posted December 4, 2011 really? type 11 = unlimited? 601,Wing_Of_Fly,Fly Wing,11,60,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "AL_TELEPORT",1; },{},{} type 0 501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(45,65),0; },{},{} Aw...i didnt wonder about this...>.< seem like this "way" only work for certain type... then use the getitem command to get 1 items again upon used haha~ Quote
Angst Posted December 6, 2011 Posted December 6, 2011 Type 11 is used for Scrolls and any item that requires you to click a target. Without a target the item doesn't get deleted thus giving the appearance of unlimited. (Best not to use type 11 with targeted skill or 'itemskill' commands) Quote
jTynne Posted December 7, 2011 Posted December 7, 2011 Type 11 is used for Scrolls and any item that requires you to click a target. Without a target the item doesn't get deleted thus giving the appearance of unlimited. (Best not to use type 11 with targeted skill or 'itemskill' commands) +1 Glad someone already covered this. Item type 11 is as Angst has noted: It requires a target to be clicked (originally item type 11 was used for pet tames). Without a target, the item does not get consumed.Confirmed. Quote
Question
JeffShadow90
Hi.
I wanted to know how do I make an item (es.: Giant fly wing) unlimited to the use... I mean that you can use it but it do not dissapear.. you can use it infinite time
Thanks
14 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.