ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Tue Jul 23, 2019 10:50 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Feb 26, 2019 12:08 pm 
Offline
Uruivellas

Joined: Mon Sep 21, 2015 8:45 pm
Posts: 769
Location: Middle of Nowhere
I mentioned these both on the discord, but just so there is a formal report I'll post it here, too. These are included together because it's the same bug for each. Can't say how long Swift Shot has been bugged, but this only concerns the new Bull Shot in Agility from 1.5.0, not the older one.

Bug: Both talents have a callbackOnMove which reduces the cooldown of the talent itself. Neither callback properly checks that the actor actually moved.

Steps to reproduce: Learn the talent. Position yourself next to an impassable tile(wall). Use the talent. Attempt to move onto the wall. The UI will not update without some input, so mouse over the talent or press the hotkey. You will see the cooldown has decreased. You can repeat this to completely reduce the cooldown to 0 without expending any turn energy.

Fix: Add the following check to the callback:
Code:
 if not (self.x == ox and self.y ==oy) then


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group