ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Fri Apr 10, 2020 9:02 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Dec 27, 2019 8:43 am 
Offline
Halfling

Joined: Sat Sep 27, 2014 11:33 am
Posts: 113
Location: Irkkk
Since Anihilator use only single steamgun, this bug will only happen on Adventurer.

Steps to reproduce:
  • Choose an adventurer
  • Learn a Gunslinger talent and Fumigate.
  • Open your miasma engline and use Fumigate

Bug causes:
In tome-orcs/data/talents/steam/chemical-warfare.lua:194
Code:
         if targets then
            local target = targets.dual and targets.main[1] or targets[1]
            local dist = core.fov.distance(self.x, self.y, targets[1].x, targets[1].y) - 1
            local mult = t.getDamage(self,t) + (t.getDamage(self,t) * eff.stacks)/2

it should be
Code:
            local dist = core.fov.distance(self.x, self.y, target.x, target.y) - 1


The code of heavy-weapons are also wrong, however they won't trigger, because heavy weapons can never be dual wielded.


Top
 Profile  
 
PostPosted: Fri Dec 27, 2019 6:59 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10478
Location: Angolwen
Fixed thanks :)

_________________
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)


Top
 Profile  
 
PostPosted: Sun Feb 02, 2020 2:59 pm 
Offline
Halfling

Joined: Sat Sep 27, 2014 11:33 am
Posts: 113
Location: Irkkk
In 1.6, after the heavy weapons rework changed its mechanism, the bug in tome-orcs/data/talents/steam/heavy-weapons.lua will trigger for dual wielding steamgun.
This bug can also trigger for annihilator+gunslinger randboss
Steps to reproduce:
  • Choose an adventurer
  • Learn a Gunslinger talent and Heavy Weapon.
  • Use flamethrower

The fix is same: change
Code:
targets[1].x, targets[1].y

to
Code:
target.x, target.y


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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