mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Ubercharge (#10875)
* IM FULLY CHARGED * why is this caps locked * indentation * needs to call parent apparently? * Update code/modules/projectiles/guns/misc/medbeam.dm Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com> * Update medbeam.dm * Update medbeam.dm * delta time & action fix? * typo * buggy spelling * appropriate removal of godmode * .status_flags * bit operators * ~ * uber overlay * funnier desc * shitcode indicator * poke * Update medbeam.dm * ) * not shitcode Co-Authored-By: alexkar598 <25136265+alexkar598@users.noreply.github.com> * caps * round * name fluff * uplink * advertisement * prevent uber flashing * patch exploit * turn off if uber flash * comments and autodocs maybe * no uber flashing to save uber * fix flash detection * clean up * stolen from timestop * 40-80 seconds for uber charge * push * unpush * poke merge conflict * godmode tell Co-authored-by: TheGamerdk <5618080+TheGamerdk@users.noreply.github.com> Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
var/armor = getarmor(def_zone, attack_flag)
|
||||
|
||||
//the if "armor" check is because this is used for everything on /living, including humans
|
||||
if(status_flags & GODMODE)
|
||||
visible_message("<span class='danger'>A strange force protects [src], [p_they()] can't be damaged!</span>", "<span class='userdanger'>A strange force protects you!</span>")
|
||||
return armor
|
||||
if(armor > 0 && armour_penetration)
|
||||
armor = max(0, armor - armour_penetration)
|
||||
if(penetrated_text)
|
||||
|
||||
Reference in New Issue
Block a user