Random Shot - KonradHeinser/EBSGFramework GitHub Wiki

This verb and extension allow you to add some randomness to your weapon's attacks. To use this extension, replace the Verb_Shoot with EBSGFramework.Verb_RandomShot, and add the EBSGFramework.RandomShotExtension to the weapon:

        <verbClass>EBSGFramework.Verb_RandomShot</verbClass>

projectiles is a list of projectiles that uses the defName for the tags, and the weight of the selection between

        <modExtensions>
            <li Class="EBSGFramework.RandomShotExtension">
                <projectiles>
                    <ThingDef>1</ThingDef>
                </projectiles>
            </li>
        </modExtensions>

⚠️ **GitHub.com Fallback** ⚠️