-
Notifications
You must be signed in to change notification settings - Fork 566
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
Old explosion rooted out, work in progress #6497
Conversation
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
stale exempt until reviewed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR shouldn't be actually changing any resulting explosion values. Just run in debugger, turn on attack logging, and adv proc call each old explosion to evaluate the resulting cell_explosion any you need to determine the new values for. For loc, just mark some turf as your marked datum (don't care about the missing cause_data):
For example you removed
explosion(projectile.loc, -1, 2, 4, 5, , , ,projectile.weapon_cause_data)
replacing it with
cell_explosion(projectile.loc, 200, 32, EXPLOSION_FALLOFF_SHAPE_LINEAR, null, projectile.weapon_cause_data)
When the old explosion actually resulted in this:
var/datum/effect_system/expl_particles/P = new/datum/effect_system/expl_particles() | ||
P.set_up(4, 0, impact) | ||
P.start() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code/modules/mob/living/simple_animal/hostile/retaliate/drone.dm
Outdated
Show resolved
Hide resolved
This PR has been inactive for long enough to be automatically marked as stale. This means it is at risk of being auto closed in ~ 7 days, please address any outstanding review items and ensure your PR is finished, if these are all true and you are auto-staled anyway, you need to actively ask maintainers if your PR will be merged. Once you have done any of the previous actions then you should request a maintainer remove the stale label on your PR, to reset the stale timer. If you feel no maintainer will respond in that time, you may wish to close this PR youself, while you seek maintainer comment, as you will then be able to reopen the PR yourself |
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
Co-authored-by: Drathek <[email protected]>
About the pull request
removing old bad code is good, only balance part is mortar shells and exploding magazines and ammo boxes (test the magazines they are changed the most I think and ammo boxes) rest is unused but plase go thrue it as I might have done some mistake. the numbers can be adjusted, especily the mortar
Explain why it's good for the game
Testing Photographs and Procedure
Changelog
🆑
balance: HE mortar shell is 240 power with 34 falloff incen 200 power with 33 falloff
fix: all explosions use "new" explosion code directly
/:cl: