RoR2-ChensGradiusMod

Gradius Mod in Risk of Rain 2.

View on GitHub

ChensGradiusMod

Chen.GradiusMod.Artifacts.Machines.Machines

Machines.AddEnemyDroneType(GameObject, int) Method

Adds a drone to the spawn pool for the enemies.

public bool AddEnemyDroneType(GameObject masterObject, int spawnWeight);

Parameters

masterObject UnityEngine.GameObject
CharacterMaster GameObject of the drone.

spawnWeight System.Int32
Spawn Weight of the drone.

Returns

System.Boolean
True if the drone is added to the pool. False if it is already in the pool, or it was not added.