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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gives shadow demons a new spell, Darklight #20510
Conversation
summon_type = list(/obj/structure/darklight) | ||
|
||
/obj/effect/proc_holder/spell/aoe/conjure/build/darklight/can_cast(mob/living/simple_animal/demon/shadow/user, charge_check = TRUE, show_message = FALSE) | ||
if(user.darklight_charges <= 0) // should never go less than 0 but let's just be safe |
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.
you may just want to do darklight_charges < 1 here if byond does something stupid
return TRUE | ||
|
||
/obj/effect/proc_holder/spell/aoe/conjure/build/darklight/cast(list/targets, mob/living/simple_animal/demon/shadow/user) | ||
. = ..() |
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.
minor thing but you can just do return ..() after you reduce darklight charges
The alternative PR I've made seems to be favored more than this one so I'll close this to focus on that. |
What Does This PR Do
Shadow Demons are given a new spell called Darklight which summons a pylon that projects darkness, similar to the Umbrae full-power spell. This fixed pylon can be destroyed, but gives the Demon an area of relative safety allowing it to hold ground. The Darklight spell requires a charge to use, the demon starts with no charges but gains one by "Gouging" a dead humanoid, specifically one that has a ckey attached to it (so it's a dead player, not a bunch of dead monkeys). They can only gouge a creature once.
Why It's Good For The Game
Shadow Demons are cool conceptually but their actual gameplay falls a bit flat with them being so squishy and having no real reward for actually killing people, unlike slaughter demons who heal off kills and other midrounds who directly benefit. This spell would allow them to take and hold ground after killing people, which should allow the antagonist to be at least a bit more interesting.
Images of changes
Testing
See above.
Changelog
馃啈
add: Added a new spell for Shadow Demons, Darklight
/:cl: