Skip to content

Commit 7c67f18

Browse files
committed
Add drifter incursion beacons
1 parent 9ab7e0d commit 7c67f18

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

eos/effects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24508,7 +24508,7 @@ class Effect6164(BaseEffect):
2450824508

2450924509
@staticmethod
2451024510
def handler(fit, beacon, context, projectionRange, **kwargs):
24511-
fit.ship.boostItemAttr('maxVelocity', beacon.getModifiedItemAttr('maxVelocityMultiplier'), stackingPenalties=True, **kwargs)
24511+
fit.ship.boostItemAttr('maxVelocity', beacon.getModifiedItemAttr('speedFactor'), stackingPenalties=True, **kwargs)
2451224512

2451324513

2451424514
class Effect6166(BaseEffect):

gui/builtinContextMenus/envEffectAdd.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def getData(self):
123123
data.groups[_t('Abyssal Weather')] = self.getAbyssalWeather()
124124
data.groups[_t('Sansha Incursion')] = self.getEffectBeacons(
125125
_t('ContextMenu|ProjectedEffectManipulation|Sansha Incursion'))
126+
data.groups[_t('Drifter Incursion')] = self.getDrifterIncursion()
126127
data.groups[_t('Triglavian Invasion')] = self.getInvasionBeacons()
127128
data.groups[_t('Pirate Insurgency')] = self.getEffectBeacons(
128129
_t('ContextMenu|ProjectedEffectManipulation|Insurgency'),
@@ -233,6 +234,13 @@ def getDestructibleBeacons(self):
233234
data.sort()
234235
return data
235236

237+
def getDrifterIncursion(self):
238+
data = self.getEffectBeacons(_t('ContextMenu|ProjectedEffectManipulation|Drifter Incursion'))
239+
# Drifter Crisis
240+
item = Market.getInstance().getItem(87294)
241+
data.items.append(Entry(item.ID, item.name, item.name))
242+
return data
243+
236244
def getInvasionBeacons(self):
237245
data = self.getDestructibleBeacons()
238246
# Trig Minor Victory
@@ -253,5 +261,4 @@ def getInsurgencyBeacons(self):
253261
data.items.append(Entry(item.ID, item.name, item.name))
254262
return data
255263

256-
257264
AddEnvironmentEffect.register()

0 commit comments

Comments
 (0)