Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Feb 14, 2025
2 parents 3710048 + f672c14 commit db64d63
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions code/controllers/subsystem/rogue/devotion.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/// How much progression is gained per process call
var/passive_progression_gain = 0
/// How much devotion is gained per prayer cycle
var/prayer_effectiveness = 3
var/prayer_effectiveness = 2
/// Spells we have granted thus far
var/list/granted_spells

Expand Down Expand Up @@ -65,6 +65,7 @@
return TRUE

/datum/devotion/proc/update_devotion(dev_amt, prog_amt, silent = FALSE)
max_devotion = holder.mind.get_skill_level(/datum/skill/magic/holy) * 200
devotion = clamp(devotion + dev_amt, 0, max_devotion)
//Max devotion limit
if((devotion >= max_devotion) && !silent)
Expand Down Expand Up @@ -221,12 +222,13 @@
break
if(!do_after(src, 30))
break
var/devotion_multiplier = 1
var/devotion_multiplier = mind.get_skill_level(/datum/skill/magic/holy)
if(mind)
devotion_multiplier += (mind.get_skill_level(/datum/skill/magic/holy) / SKILL_LEVEL_LEGENDARY)
var/prayer_effectiveness = round(devotion.prayer_effectiveness * devotion_multiplier)
devotion.update_devotion(prayer_effectiveness, prayer_effectiveness)
prayersesh += prayer_effectiveness
add_sleep_experience(usr, /datum/skill/magic/holy, prayer_effectiveness)
visible_message("[src] concludes their prayer.", "I conclude my prayer.")
to_chat(src, "<font color='purple'>I gained [prayersesh] devotion!</font>")
return TRUE
4 changes: 4 additions & 0 deletions modular_redmoon/code/datums/loadout.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ GLOBAL_LIST_EMPTY(loadout_items)
desc = "Ебать. Плащ."
path = /obj/item/clothing/cloak/raincloak

/datum/loadout_item/raincloak/apron/blacksmith
name = "Leather Apron"
desc = "Ебать. Фартук."
path = /obj/item/clothing/cloak/apron/blacksmith

//SHOES
/datum/loadout_item/darkboots
Expand Down

0 comments on commit db64d63

Please sign in to comment.