diff --git a/eos/effects/weathercaustictoxin.py b/eos/effects/weathercaustictoxin.py index 726601d67..708ce8925 100644 --- a/eos/effects/weathercaustictoxin.py +++ b/eos/effects/weathercaustictoxin.py @@ -1,6 +1,13 @@ runTime = "early" -type = ("projected", "passive") +type = ("projected", "passive", "gang") -def handler(fit, beacon, context): - pass +def handler(fit, beacon, context, **kwargs): + for x in range(1, 3): + if beacon.getModifiedItemAttr("warfareBuff{}ID".format(x)): + value = beacon.getModifiedItemAttr("warfareBuff{}Value".format(x)) + id = beacon.getModifiedItemAttr("warfareBuff{}ID".format(x)) + + if id: + fit.addCommandBonus(id, value, beacon, kwargs['effect'], 'early') +