Difference between revisions of "GetEffectiveSkill"
Jump to navigation
Jump to search
m
no edit summary
imported>Tejón (New page: __NOTOC__ A User Function for use with Oblivion Script Extender '''Syntax:''' (effectiveSkill:short) reference.Call GetEffectiveSkill skillAVC...) |
imported>Tejón m |
||
Line 29: | Line 29: | ||
let value += GetGameSetting iActorLuckSkillBase | let value += GetGameSetting iActorLuckSkillBase | ||
let value += callerSkill | let value += callerSkill | ||
if value < | if value < 0 | ||
let callerSkill := 0 | let callerSkill := 0 | ||
elseif value > 100 | elseif value > 100 | ||
Line 35: | Line 35: | ||
let callerSkill := 100 | let callerSkill := 100 | ||
endif | endif | ||
; Note: if the unmodified skill is over 100, it remains unmodified! | |||
else | else | ||
let callerSkill := floor value | let callerSkill := floor value |