johnbond Posted October 9, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 457 Reputation: 11 Joined: 02/17/13 Last Seen: January 23, 2018 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted October 9, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share 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 Link to comment Share on other sites More sharing options...
johnbond Posted October 9, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 457 Reputation: 11 Joined: 02/17/13 Last Seen: January 23, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted October 9, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Yesterday at 05:27 AM Share Posted October 9, 2013 try this http://upaste.me/r/1efb51 // 607,..........,{ callfunc( "Sample",607,2,4060 ); percentheal 100,100; },{},{} Quote Link to comment Share on other sites More sharing options...
johnbond Posted October 9, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 457 Reputation: 11 Joined: 02/17/13 Last Seen: January 23, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
johnbond Posted October 13, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 457 Reputation: 11 Joined: 02/17/13 Last Seen: January 23, 2018 Author Share Posted October 13, 2013 Anyone? Quote Link to comment Share on other sites More sharing options...
jigsam Posted October 19, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 28 Reputation: 0 Joined: 09/21/13 Last Seen: January 3, 2020 Share 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 Link to comment Share on other sites More sharing options...
Kichi Posted October 20, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted October 20, 2013 if there is no script able to do, do it by source modification, more easier than using script Quote Link to comment Share on other sites More sharing options...
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!
Link to comment
Share on other sites
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.