fix: also add attribute for dronebay usage (#45)

This commit is contained in:
Patric Stout
2024-05-05 16:58:27 +02:00
committed by GitHub
parent abc6b132a8
commit f3809fe446
2 changed files with 2 additions and 0 deletions

View File

@@ -94,3 +94,4 @@ The EVE SDE has some quirks, that are easiest fixed in the conversion.
- `-32`: `droneBandwidthUsedTotal` - total bandwidth used by the active drones.
- `-33`: `droneDamageAlphaHp` - the damage done when all active drones shoot at once.
- `-34`: `droneDamageDps` - the total DPS for the active drones.
- `-35`: `droneCapacityUsed` - total dronebay capacity used.

View File

@@ -182,6 +182,7 @@ def convert_dogma_attributes(path):
add_esf_attribute(-32, "droneBandwidthUsedTotal")
add_esf_attribute(-33, "droneDamageAlphaHp")
add_esf_attribute(-34, "droneDamageDps")
add_esf_attribute(-35, "droneCapacityUsed")
with open("dist/sde/dogmaAttributes.pb2", "wb") as fp:
fp.write(pb2.SerializeToString())