icabit Posted September 3, 2014 Posted September 3, 2014 my problem is about usable items specifically on this example in item delay i added their respective delay on consume like 607,5000//ygg berry 608,4000//ygg seed 504,3000//white pots when i use item 607 it will give me the delay of 5 seconds but within that 5 seconds i can use another usable like item 608 or 607. so basically players can use another usable while the 1st usable used was still in cooldown any idea's how to script this? i tried google but i failed Quote
0 zeusc137 Posted November 5, 2024 Posted November 5, 2024 On 9/6/2014 at 11:31 PM, icabit said: bump Hi! Did you ever find something about this? Quote
0 zeusc137 Posted November 5, 2024 Posted November 5, 2024 38 minutes ago, zeusc137 said: Hi! Did you ever find something about this? I found out nowadays we can configure the delay directly inside item_db_usable.yml in my case: - Id: 999999 AegisName: Some_Aegis_Name Name: Example Name Type: Delayconsume Flags: NoConsume: true Delay: Duration: 500 I hope that helps someone! Quote
0 mrfizi Posted November 11, 2024 Posted November 11, 2024 /conf/battle/items.conf // How much time must pass between item uses? // Only affects the delay between using items, prevents healing item abuse. Recommended ~500 ms // On officials this is 0, but it's set to 100ms as a measure against bots/macros. item_use_interval: 100 Quote
Question
icabit
my problem is about usable items
specifically on this example
in item delay i added their respective delay on consume
like
607,5000//ygg berry
608,4000//ygg seed
504,3000//white pots
when i use item 607 it will give me the delay of 5 seconds but within that 5 seconds i can use another usable like item 608 or 607.
so basically players can use another usable while the 1st usable used was still in cooldown
any idea's how to script this? i tried google but i failed
5 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.