This commit is contained in:
silicons
2020-09-20 02:14:41 -07:00
parent 3505a5bc18
commit 102a452067
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -133,7 +133,7 @@
if(I.used_skills && user.mind)
if(totitemdamage)
totitemdamage = user.mind.item_action_skills_mod(I, totitemdamage, I.skill_difficulty, SKILL_ATTACK_OBJ, bad_trait)
totitemdamage = user.mind.item_action_skills_mod(I, totitemdamage, I.skill_difficulty, SKILL_ATTACK_OBJ)
for(var/skill in I.used_skills)
if(!(SKILL_TRAIN_ATTACK_OBJ in I.used_skills[skill]))
continue