17 lines
557 B
Python
17 lines
557 B
Python
# aoe_beacon_bioluminescence_cloud
|
|
#
|
|
# Used by:
|
|
# Celestials named like: Bioluminescence Cloud (3 of 3)
|
|
runTime = "early"
|
|
type = ("projected", "passive", "gang")
|
|
|
|
|
|
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')
|