BTD-Mod-Helper icon indicating copy to clipboard operation
BTD-Mod-Helper copied to clipboard

Prevent the error caused from GetDamageModel, add GetDamageModels.

Open DarkTerraYT opened this issue 9 months ago • 1 comments

Prevents the error caused from GetDamageModel if the projectile used on has the damage model in a behavior

Also added GetDamageModels which returns a list of every damage model in the projectile (behaviors and all)

DarkTerraYT avatar May 04 '24 19:05 DarkTerraYT

This shouldn't cause any errors in mods even with just the GetDescendant but just to make sure I added how it was done before if it isn't null

DarkTerraYT avatar May 04 '24 19:05 DarkTerraYT

kinda useless

DarkTerraYT avatar May 20 '24 21:05 DarkTerraYT