Better include all missiles in the MISC column (#1325)
This commit is contained in:
@@ -543,25 +543,7 @@ class Miscellanea(ViewColumn):
|
|||||||
return text, tooltip
|
return text, tooltip
|
||||||
elif stuff.charge is not None:
|
elif stuff.charge is not None:
|
||||||
chargeGroup = stuff.charge.group.name
|
chargeGroup = stuff.charge.group.name
|
||||||
if chargeGroup in (
|
if chargeGroup.endswith("Rocket") or chargeGroup.endswith("Missile") or chargeGroup.endswith("Torpedo"):
|
||||||
"Rocket",
|
|
||||||
"Advanced Rocket",
|
|
||||||
"Light Missile",
|
|
||||||
"Advanced Light Missile",
|
|
||||||
"Auto-Targeting Light Missile",
|
|
||||||
"Heavy Assault Missile",
|
|
||||||
"Advanced Heavy Assault Missile",
|
|
||||||
"Heavy Missile",
|
|
||||||
"Advanced Heavy Missile",
|
|
||||||
"Auto-Targeting Heavy Missile",
|
|
||||||
"Torpedo",
|
|
||||||
"Advanced Torpedo",
|
|
||||||
"Cruise Missile",
|
|
||||||
"Advanced Cruise Missile",
|
|
||||||
"Auto-Targeting Cruise Missile",
|
|
||||||
"XL Torpedo",
|
|
||||||
"XL Cruise Missile"
|
|
||||||
):
|
|
||||||
cloudSize = stuff.getModifiedChargeAttr("aoeCloudSize")
|
cloudSize = stuff.getModifiedChargeAttr("aoeCloudSize")
|
||||||
aoeVelocity = stuff.getModifiedChargeAttr("aoeVelocity")
|
aoeVelocity = stuff.getModifiedChargeAttr("aoeVelocity")
|
||||||
if not cloudSize or not aoeVelocity:
|
if not cloudSize or not aoeVelocity:
|
||||||
|
|||||||
Reference in New Issue
Block a user