You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
Reviving issue #1177 , which I can consistently replicate on a fresh install with only CE 1.1 loaded.
Whenever I try to look at the infocard/information window of the Heavy Charge Blaster, I get the following repeating error on the log:
Trying to get stat MeleeDamageAverage from Gun_ChargeBlasterHeavy which has no support for Combat Extended.
However, I managed to fix it by changing the following in Patches\Core\ThingsDefs_Misc\Weapons_Guns.xml (lines 1151 and 1152) :
<Operation Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="Gun_ChargeBlasterHeavy"]</xpath>
to
<Operation Class="PatchOperationReplace"> <xpath>Defs/ThingDef[@Name="Gun_ChargeBlasterHeavyBase"]/tools</xpath>
I can now look at the information of the Heavy Charge Blaster without the error popping up and it displays the correct melee DPS, etc.
The text was updated successfully, but these errors were encountered: