mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Remove healing skill (#52005)
* Remove healing skill * Remove dissection from tech web
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user