Skip to content

Commit

Permalink
makes it compile, fixes the errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Wollywoger committed Nov 21, 2024
1 parent 2b70a57 commit 914b49d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#define COMSIG_SPELL_TOUCH_CAN_HIT "spell_touch_can_hit"
/**
* A preset component for touch spells that use mana
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
var/channel_time = 7 SECONDS


/datum/action/cooldown/spell/leyline_charge/before_cast(atom/cast_on)
/datum/action/cooldown/spell/leyline_charge/before_cast(mob/living/cast_on)
. = ..()
if (!cast_on.mana_pool)
cast_on.balloon_alert(cast_on, "no mana pool!")
Expand Down Expand Up @@ -51,7 +51,7 @@
invocation_type = INVOCATION_WHISPER
var/channel_time = 12 SECONDS

/datum/action/cooldown/spell/meditate/before_cast(atom/cast_on)
/datum/action/cooldown/spell/meditate/before_cast(mob/living/cast_on)
. = ..()
if (!cast_on.mana_pool)
cast_on.balloon_alert(cast_on, "no mana pool!")
Expand Down

0 comments on commit 914b49d

Please sign in to comment.