Skip to content

Commit

Permalink
Changed the spell to a... ranged spell with a range of 1
Browse files Browse the repository at this point in the history
  • Loading branch information
boniondev committed May 9, 2024
1 parent ec17ac8 commit 17b41e2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions code/game/objects/items/melee/concussive_hammer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,19 @@
w_class = WEIGHT_CLASS_HUGE
var/datum/action/cooldown/spell/touch/concuss = new

/datum/action/cooldown/spell/touch/concuss
/obj/item/melee/concussive_hammer/Destroy()
qdel(concuss)
return ..()

/datum/action/cooldown/spell/pointed/concuss
name = "Concuss"
desc = "TBD"
background_icon_state = ACTION_BUTTON_DEFAULT_BACKGROUND
spell_requirements = SPELL_REQUIRES_HUMAN
spell_requirements = NONE
antimagic_flags = NONE
cooldown_time = 10 //Subject to balancing
spell_max_level = 1
cast_range = 1 //I know this looks horrible but this isn't possible with touch spell as both hands are holding the item
overlay_icon_state = "bg_default_border"

/obj/item/melee/concussive_hammer/Initialize(mapload)
Expand Down

0 comments on commit 17b41e2

Please sign in to comment.