Stone Story RPG

Stone Story RPG

View Stats:
choubaka Aug 27, 2023 @ 6:45am
stonescript activate talisman bug ?
Hi

I'm having issues with activate command and talisman

this simple code works only occasionally:

?summon.count = 0 equipR talisman activate R

Add Cooldown condition doesn't help

var CdK CdK = item.getCooldown("cinderwisp") ?summon.count = 0 equipR talisman ?CdK = 0 activate R

when I escape code editor, activate will work. And sometimes (not everytime) it will work, for exemple, just before switching for another weapon.
?summon.count = 0 equipR talisman activate R ?pickup.distance < 12 equipR star
Most of the times, it will not activate anything

I try a lots of tweak, using equipL / activate L - activate right - activate r - activate ItemRight
Try to set another keyBind with key.Bind(act, key1)

And same problem to activate special skill of talisman, activate F never work


I play Linux version
Last edited by choubaka; Aug 27, 2023 @ 6:47am
Originally posted by Agerak:
Issue is you're attempting to activate when time=0 and invalid, and sequential activates are ignored

item.CanActivate()

Can be used to resolve this. In addition, as with bardiche and heavy hammer it has a casting animation that cannot be interrupted so this must also be taken into account.

?summon.count<1 equipL talisman ?item.CanActivate() activate L : the rest of your code
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Agerak Aug 27, 2023 @ 6:55am 
Issue is you're attempting to activate when time=0 and invalid, and sequential activates are ignored

item.CanActivate()

Can be used to resolve this. In addition, as with bardiche and heavy hammer it has a casting animation that cannot be interrupted so this must also be taken into account.

?summon.count<1 equipL talisman ?item.CanActivate() activate L : the rest of your code
Last edited by Agerak; Aug 27, 2023 @ 7:01am
choubaka Aug 27, 2023 @ 7:44am 
Thanks a lot !
< >
Showing 1-2 of 2 comments
Per page: 1530 50