Fix for #883
This commit is contained in:
@@ -5,4 +5,5 @@
|
|||||||
# Skill: Ice Harvesting Drone Operation
|
# Skill: Ice Harvesting Drone Operation
|
||||||
type = "passive"
|
type = "passive"
|
||||||
def handler(fit, src, context):
|
def handler(fit, src, context):
|
||||||
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Ice Harvesting Drone Operation"), "duration", src.getModifiedItemAttr("rofBonus"))
|
lvl = src.level if "skill" in context else 1
|
||||||
|
fit.drones.filteredItemBoost(lambda mod: mod.item.requiresSkill("Ice Harvesting Drone Operation"), "duration", src.getModifiedItemAttr("rofBonus") * lvl)
|
||||||
|
|||||||
Reference in New Issue
Block a user