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

mirage drive minor code improvements that spiraled a little bit #21921

Merged
merged 5 commits into from
Apr 23, 2024

Conversation

JohnFulpWillard
Copy link
Contributor

Document the changes in your pull request

I am really tired but I saw mirage drive code and thought it looked very poor, then while fixing it I noticed a ton of other issues so I am dealing with those too

Turns SFX sounds into defines, gets rid of the new TG ones in favor of the Yog ones that are actually implemented, and uses them around the codebase.
Removes vars in args (again)
Makes megadrive properly apply damage and check armor

Why is this good for the game?

Fixes and consistency in the codebase somewhat.

Testing

I spawned in a mirage drive and attacked someone with it.

No armor with 3 tile distance
image
deals 15 brute
image

With captain armor, lowered to 14.7
image

5 tile distance is 21 without armor
image
20.4 with captain armor
image

Very minor but it is real now.

For comparison, on master it-
image

runtimes. and deals 0 damage
image

Changelog

🆑
fix: Mirage drive now deals damage, and properly takes armor into account (even if it's really not worth jack).
/:cl:

@Yogbot-13 Yogbot-13 added the Fix This fixes an issue. Please link issues in fix PRs label Apr 22, 2024
@Moltijoe Moltijoe merged commit c7f5064 into yogstation13:master Apr 23, 2024
13 checks passed
Yogbot-13 added a commit that referenced this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix This fixes an issue. Please link issues in fix PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants