-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fixes #7667 - Object form of science ghost kills people better now #7736
Conversation
@@ -1037,30 +1037,34 @@ | |||
qdel(src) | |||
|
|||
CritterAttack(mob/M) | |||
src.attacking = 1 | |||
src.visible_message("<span class='combat'><B>The [src.name]</B> starts to envelop [M]!</span>") | |||
if(GET_COOLDOWN(src, "envelope_attack")) |
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.
Nit: I think !ON_COOLDOWN()
is easier to follow as it will put it on cooldown since you aren't making any subsequent decisions to determine if putting it on cooldown is necessary. But that might just be my personal preference.
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.
yeah, this pattern is because I was trying out some stuff with src.attacking to stop the science ghost repeatedly booping you while you were being absorbed - it didn't work out and didn't really matter anyway.
About the PR
Replaces the killing action of the object version of the science ghost with one closer in function to the mob version. It now triggers death and ghostize, and drops all organs and equipment - same as mob version does.
It also displays an action bar for killing.
Why's this needed?
Fixes #7667 and also makes it easier to see that you're being killed by the transposed particle field.
Changelog