[1.6.5]Fumigate can't use when dual wielding steamgun
Posted: Fri Dec 27, 2019 8:43 am
Since Anihilator use only single steamgun, this bug will only happen on Adventurer.
Steps to reproduce:
In tome-orcs/data/talents/steam/chemical-warfare.lua:194
it should be
The code of heavy-weapons are also wrong, however they won't trigger, because heavy weapons can never be dual wielded.
Steps to reproduce:
- Choose an adventurer
- Learn a Gunslinger talent and Fumigate.
- Open your miasma engline and use Fumigate
In tome-orcs/data/talents/steam/chemical-warfare.lua:194
Code: Select all
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
Code: Select all
local dist = core.fov.distance(self.x, self.y, target.x, target.y) - 1