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

Determination of Hit-Verb #6

Open
ilikegoodfood opened this issue Feb 12, 2020 · 0 comments
Open

Determination of Hit-Verb #6

ilikegoodfood opened this issue Feb 12, 2020 · 0 comments

Comments

@ilikegoodfood
Copy link
Owner

Due to the way that RimWorld's core code handles projectiles, it is not currently possible to determine exactly which verb was used to make an attack against which target purely based on the information available to the BattleLog system, specifically BattleLogEntry_RangedImpact and BattleLogEntry_ExplosionImpact.

A potential solution is to have pawns locally store a recent traget and used-verb collection. This data could then be queried by the BattleLog system to provide accurate results.

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

No branches or pull requests

1 participant