Page 388 of 400
Re: Ask a simple question, get a simple answer
Posted: Tue Feb 21, 2023 1:27 pm
by 2498billb
Hi Issac
Many thanks for your help Issac
Re: Ask a simple question, get a simple answer
Posted: Mon Mar 06, 2023 8:47 pm
by Whisper
How to check cooldown modifier for Champion?
Also how to chack cooldown modifier for certain weapon (which cooldown can be altered by skill like "15% faster attack with heavy weapons")?
I know there is GetCooldown command but how to write it?
Re: Ask a simple question, get a simple answer
Posted: Sun Mar 12, 2023 10:56 am
by Whisper
minmay wrote: ↑Thu Dec 08, 2022 8:28 pm
Also, you asked for (and I provided) a Chebyshev distance test, but Grimrock uses Taxicab geometry for party and monster movement, not Chebyshev. So it would make more sense to use a Taxicab distance check:
abs(e.x-px)+abs(e.y-py) <= [distance] instead of
max(abs(e.x-px), abs(e.y-py)) <= [distance]. Consider this.
2 minmay, need your help please.
Using console in-game:
How to check cooldown modifier for Champion?
Also how to chack cooldown modifier for certain weapon (which cooldown can be altered by skill like "15% faster attack with heavy weapons")?
Re: Ask a simple question, get a simple answer
Posted: Tue Mar 14, 2023 1:30 am
by minmay
You cannot feasibly do either of those things from the in-game console. The cooldown inflicted by attacks depends on the results of onComputeCooldown hooks.
Re: Ask a simple question, get a simple answer
Posted: Tue Mar 14, 2023 1:30 pm
by Whisper
minmay wrote: ↑Tue Mar 14, 2023 1:30 am
You cannot feasibly do either of those things from the in-game console. The cooldown inflicted by attacks depends on the results of onComputeCooldown hooks.
Ok, can i ask question about game mechanics.
Do cooldown reductions stack with other? From trait (Quick), from skill (Dodge, 3) and from item (Tirin)?
Re: Ask a simple question, get a simple answer
Posted: Wed Mar 15, 2023 8:09 am
by minmay
onComputeCooldown hooks stack multiplicatively with each other, so Quick and Uncanny Speed (the Dodge 3 trait) stack.
Bracelet of Tirin does not modify the actual cooldown of actions, instead it makes the wearer's cooldowns elapse faster, by adding 15 to the cooldown_rate stat.
Re: Ask a simple question, get a simple answer
Posted: Wed Mar 15, 2023 2:42 pm
by Whisper
minmay wrote: ↑Wed Mar 15, 2023 8:09 am
onComputeCooldown hooks stack multiplicatively with each other, so Quick and Uncanny Speed (the Dodge 3 trait) stack.
Bracelet of Tirin does not modify the actual cooldown of actions, instead it makes the wearer's cooldowns
elapse faster, by adding 15 to the cooldown_rate stat.
Ok, thank you. To make sure, it is not possible to check in-game with console command not only both OnComputeCooldown but also cooldown_rate stat?
p.s.
There is item in Final Adventure mod, called Selfidian mirror, it shows cooldown_rate stat (i think, this stat) for champion attacks in-game.. It shows in description of item and is auto-updated with any change.
Re: Ask a simple question, get a simple answer
Posted: Wed Mar 15, 2023 10:58 pm
by minmay
Yes, you can easily show a champion's cooldown rate like any other stat, just call Champion:getCurrentStat("cooldown_rate") to obtain it.
Re: Ask a simple question, get a simple answer
Posted: Thu Mar 16, 2023 2:07 pm
by Whisper
minmay wrote: ↑Wed Mar 15, 2023 10:58 pm
Yes, you can easily show a champion's cooldown rate like any other stat, just call Champion:getCurrentStat("cooldown_rate") to obtain it.
I copied it and it says "Attempt to index global Champion" (a nil value).
Re: Ask a simple question, get a simple answer
Posted: Thu Mar 16, 2023 4:14 pm
by THOM
You have to specify the meant champion.
In example
party.party:getChampionByOrdinal(1):getCurrentStat("cooldown_rate")