diff --git a/code/datums/spells/touch_attacks.dm b/code/datums/spells/touch_attacks.dm index 9f69c3bd2a4..cd83738c1f7 100644 --- a/code/datums/spells/touch_attacks.dm +++ b/code/datums/spells/touch_attacks.dm @@ -1,7 +1,6 @@ -/obj/effect/proc_holder/spell/targeted/touch +/obj/effect/proc_holder/spell/targeted/touch/ var/hand_path = "/obj/item/weapon/melee/touch_attack" var/obj/item/weapon/melee/touch_attack/attached_hand = null - var/refund_coeff = 1 //how much of their charge they get back. invocation_type = "none" //you scream on connecting, not summoning include_user = 1 range = -1 @@ -9,7 +8,7 @@ /obj/effect/proc_holder/spell/targeted/touch/Click(mob/user = usr) if(attached_hand) qdel(attached_hand) - charge_counter = round(charge_max * refund_coeff, 1) + charge_counter = charge_max attached_hand = null user << "You draw the power out of your hand." return 0 @@ -49,7 +48,6 @@ name = "Disintegrate" desc = "This spell charges your hand with vile energy that can be used to violently explode victims." hand_path = "/obj/item/weapon/melee/touch_attack/disintegrate" - refund_coeff = 0.66 school = "evocation" charge_max = 600 @@ -58,15 +56,6 @@ action_icon_state = "gib" -/obj/effect/proc_holder/spell/targeted/touch/disintegrate/cast(list/targets) - for(var/mob/living/carbon/user in targets) - visible_message("[user] starts gathering destructive energy...", "You start gathering destructive energy...") - playsound(user.loc, 'sound/magic/Ethereal_Exit.ogg', 50, 1) - if(!do_after(user, 15)) - return 0 - visible_message("[user] channels a large amount of destructive energy to his hand!", "You channel a large amount of destructive energy to his hand!") - ..() - /obj/effect/proc_holder/spell/targeted/touch/flesh_to_stone name = "Flesh to Stone" desc = "This spell charges your hand with the power to turn victims into inert statues for a long period of time."