Remove healing skill (#52005)

* Remove healing skill

* Remove dissection from tech web
This commit is contained in:
Jared-Fogle
2020-07-07 10:10:12 -04:00
committed by GitHub
parent 7fc096d18f
commit 418bd80a6b
44 changed files with 13 additions and 238 deletions
+1 -9
View File
@@ -15,7 +15,6 @@
var/self_delay = 50
var/other_delay = 0
var/repeating = FALSE
var/experience_given = 1
/// How much brute we heal per application
var/heal_brute
/// How much burn we heal per application
@@ -47,7 +46,6 @@
return
if(heal(M, user))
user?.mind.adjust_experience(/datum/skill/healing, experience_given)
log_combat(user, M, "healed", src.name)
use(1)
if(repeating && amount > 0)
@@ -66,13 +64,7 @@
return
if(affecting.brute_dam && brute || affecting.burn_dam && burn)
user.visible_message("<span class='green'>[user] applies \the [src] on [C]'s [affecting.name].</span>", "<span class='green'>You apply \the [src] on [C]'s [affecting.name].</span>")
var/brute2heal = brute
var/burn2heal = burn
var/skill_mod = user?.mind?.get_skill_modifier(/datum/skill/healing, SKILL_SPEED_MODIFIER)
if(skill_mod)
brute2heal *= (2-skill_mod)
burn2heal *= (2-skill_mod)
if(affecting.heal_damage(brute2heal, burn2heal))
if(affecting.heal_damage(brute, burn))
C.update_damage_overlays()
return TRUE
to_chat(user, "<span class='warning'>[C]'s [affecting.name] can not be healed with \the [src]!</span>")