35
edits
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
# Cannibalism is 1 in 5 if your human... 1 in 20 if your not...? | # Cannibalism is 1 in 5 if your human... 1 in 20 if your not...? | ||
# Farming Legs effects *everything* that cost's Stamina | # Farming Legs effects *everything* that cost's Stamina | ||
Bed Quality for Pets | |||
<syntaxhighlight lang="c#" line="1"> | |||
if (traitBed != null) | |||
{ | |||
num += 30 + traitBed.owner.GetTotalQuality() + traitBed.owner.Evalue(750); | |||
} | |||
public int GetTotalQuality(bool applyBonus = true) | |||
{ | |||
int num = 5 + LV + material.quality; | |||
if (applyBonus) | |||
{ | |||
num = num * (100 + Quality) / 100; | |||
} | |||
return num; | |||
} | |||
</syntaxhighlight> |
edits