This commit is contained in:
kevinz000
2020-04-25 01:05:12 -07:00
parent e6b0fb4929
commit ec4a40fa37
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@
// Standard values for job starting skill affinities
#define STARTING_SKILL_AFFINITY_SURGERY_MEDICAL 1.25
#define STARTING_SKILL_AFFINITY_SURGERY_MEDICAL 1.2
// Standard values for skill gain (this is multiplied by affinity)

View File

@@ -59,7 +59,7 @@
CRASH("You cannot auto increment a non numerical skill!")
var/current = get_skill_value(skill)
var/affinity = get_skill_affinity(skill)
bosst_skill_value_to(skill, current + (value * affinity))
boost_skill_value_to(skill, current + (value * affinity))
/**
* Generates a HTML readout of our skills.

View File

@@ -61,7 +61,7 @@
var/skill_mod = 1
if(user?.mind?.skill_holder)
skill_mod = SURGERY_SKILL_SPEEDUP_NUMERICAL_SCALE(user.mind.skill_holder.get_skill_value(/datum/skill/numerical/surgery))
if(do_after(user, time * speed_mod, target = target))
if(do_after(user, time * speed_mod * skill_mod, target = target))
var/prob_chance = 100
if(implement_type) //this means it isn't a require hand or any item step.
prob_chance = implements[implement_type]