diff --git a/code/_core/obj/item/weapon/ranged/spellgem/_spellgem.dm b/code/_core/obj/item/weapon/ranged/spellgem/_spellgem.dm index d67ad9b01..71ea47ae0 100644 --- a/code/_core/obj/item/weapon/ranged/spellgem/_spellgem.dm +++ b/code/_core/obj/item/weapon/ranged/spellgem/_spellgem.dm @@ -47,6 +47,8 @@ if(!istype(src.loc,/obj/item/weapon/ranged/wand)) return FALSE + attachment_stats["mana_cost_multiplier"] = 1 + var/obj/item/weapon/ranged/wand/W = src.loc for(var/g in W.socketed_supportgems) @@ -99,7 +101,6 @@ /obj/item/weapon/ranged/spellgem/pre_shoot(var/mob/caller,var/atom/object,location,params,var/damage_multiplier=1) - . = ..() if(. && caller.health) @@ -109,8 +110,7 @@ if(is_living(caller)) var/mob/living/L = caller - final_mana_cost *= 1 / (1+L.get_skill_power(casting_type)*3) //Up to 25% reduction at level 100. - + final_mana_cost *= 1 - L.get_skill_power(casting_type,0,1,2)*0.25 //Up to 25% reduction at level 100. Level 200 is 50% if(final_mana_cost > caller.health.mana_current) caller.to_chat(span("warning","You try to push with all your mana, but the spell fizzles!")) return FALSE //Fail