Skip to content

Commit

Permalink
re-words 1 variable in fishing skills
Browse files Browse the repository at this point in the history
  • Loading branch information
Gboster-0 committed Nov 4, 2024
1 parent c31bcfd commit 7f2d526
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions code/game/objects/items/fixerskills/fishing/_fishing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@
return FALSE

var/mob/living/carbon/human/H = owner
var/spend_devotion = devotion_cost
var/required_devotion = devotion_cost

if(H.god_aligned == FISHGOD_SATURN)
spend_devotion-=1 //Get one less cost on these spells
required_devotion -= 1 //Get one less cost on these spells

if(H.devotion <spend_devotion)
to_chat(H,span_warning("You do not have enough devotion for this spell!"))
if(H.devotion < required_devotion)
to_chat(H, span_warning("You do not have enough devotion for this spell!"))
return FALSE

if (owner.stat == DEAD)
if(owner.stat == DEAD)
return FALSE

H.devotion-=spend_devotion
to_chat(H,span_notice("You expend [spend_devotion] devotion. Remaining Devotion: [H.devotion]."))
H.devotion -= required_devotion
to_chat(H, span_notice("You expend [required_devotion] devotion. Remaining Devotion: [H.devotion]."))
StartCooldown()
FishEffect(H)

Expand Down

0 comments on commit 7f2d526

Please sign in to comment.