Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent the error caused from GetDamageModel, add GetDamageModels. #231

Closed
wants to merge 1 commit into from

Conversation

DarkTerraYT
Copy link
Contributor

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)

…'s behaviors has the damage model rather than the projectile model itself.

Also added GetDamageModels which returns a list of every damage model in the projectile (behaviors and all)
@DarkTerraYT
Copy link
Contributor Author

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 DarkTerraYT changed the title Prevent the error caused from GetDamageModel. Add GetDamageModels. Prevent the error caused from GetDamageModel, add GetDamageModels. May 5, 2024
@DarkTerraYT
Copy link
Contributor Author

kinda useless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant