johnbond Posted October 9, 2013 Posted October 9, 2013 Is it possible to put a kind of "usage delay" on Yggdrasil Berries and Seeds but ONLY when used by Rune Knights? Other jobs will have normal usage. 607,Yggdrasilberry,Yggdrasil Berry,0,5000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 100,100; },{},{} 608,Seed_Of_Yggdrasil,Yggdrasil Seed,0,5000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 50,50; },{},{} I know there is a db/item_delay.txt setting but this will affect the item for all jobs. I only want to have the RK have this delay on ygg usage. Maybe somekind of item script to add on them? Or modify my SRC? Anyone has an idea how to do it? Any help would be greatly appreciated. Thank you guys! Quote
Emistry Posted October 9, 2013 Posted October 9, 2013 try this http://upaste.me/r/1efb51 // 607,..........,{ callfunc( "Sample",607,2,4060 ); percentheal 100,100; },{},{} Quote
Emistry Posted October 9, 2013 Posted October 9, 2013 you can try this http://upaste.me/r/3a5183 you can consider to use "temporary" variable if your delay is short ... change all ITEMDELAY_ to @ITEMDELAY_ Quote
johnbond Posted October 9, 2013 Author Posted October 9, 2013 you can try this http://upaste.me/r/3a5183 you can consider to use "temporary" variable if your delay is short ... change all ITEMDELAY_ to @ITEMDELAY_ Thanks for your reply Emistry! I want to use delays for only the Rune Knights alone not for every job. Will this do it? Also I want to have delays of 2 secs for the Rune Knights. Thank you! Quote
johnbond Posted October 9, 2013 Author Posted October 9, 2013 try this http://upaste.me/r/1efb51 // 607,..........,{ callfunc( "Sample",607,2,4060 ); percentheal 100,100; },{},{} Thanks! But there are like several kinds of Rune Knights: (const.txt) Job_Rune_Knight 4054 Job_Rune_Knight_T 4060 Job_Rune_Knight2 4080 Job_Rune_Knight_T2 4081 Job_Baby_Rune 4096 Job_Baby_Rune2 4109 How do I include all these types of RK? (Just to be sure) Thank you my friend! Quote
jigsam Posted October 19, 2013 Posted October 19, 2013 (edited) Anyone? Why you don't make a custom item,and then make it if that class are Rune Knights = heal 100%. It's more simple and more practical... but oh well, try this... function script Sample { set .@item_id,getarg(0); set .@delay,getarg(1); set .@current_delay,getd( "ITEMDELAY_"+.@item_id ); set .@gettimetick,gettimetick(1); if( .@current_delay > .@gettimetick && Class != Job_Rune_Knight && Class != Job_Rune_Knight_T && Class != Job_Rune_Knight_T && Class != Job_Rune_Knight2 && Class != Job_Baby_Rune && Job_Baby_Rune2 != Job_Baby_Rune ){ dispbottom "Item Delay for "+( .@current_delay - .@gettimetick )+" seconds."; end; }else{ delitem .@item_id,1; setd( "ITEMDELAY_"+.@item_id ),( .@gettimetick + .@delay ); } return; } Edited October 19, 2013 by jigsam Quote
Kichi Posted October 20, 2013 Posted October 20, 2013 if there is no script able to do, do it by source modification, more easier than using script Quote
Question
johnbond
Is it possible to put a kind of "usage delay" on Yggdrasil Berries and Seeds but ONLY when used by Rune Knights? Other jobs will have normal usage.
I know there is a db/item_delay.txt setting but this will affect the item for all jobs. I only want to have the RK have this delay on ygg usage.
Maybe somekind of item script to add on them? Or modify my SRC?
Anyone has an idea how to do it?
Any help would be greatly appreciated.
Thank you guys!
7 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.