Difference between revisions of "GetEffectiveArmorAR"

Jump to navigation Jump to search
32 bytes added ,  16:00, 3 June 2010
m
imported>Low Post
(New page: __NOTOC__ A User Function for use with Oblivion Script Extender '''Syntax:''' (effectiveArmorAR:short) reference.Call GetEffectiveArmorAR Armo...)
 
imported>Low Post
Line 29: Line 29:
  endif
  endif
  if ( GetArmorType Armor )
  if ( GetArmorType Armor )
  let ActorValueCode := 1
  let ActorValueCode := 18
else
let ActorValueCode := 27
  endif
  endif
  let Skill := ( Call [[GetEffectiveSkill]] ActorValueCode )
  let Skill := ( Call [[GetEffectiveSkill]] ActorValueCode )
  let value := ( gstiSkill / 100 )
  let value := ( Skill / 100 )
  let value *= ( GetGameSetting fArmorRatingMax ) - ( GetGameSetting fArmorRatingBase )
  let value *= ( GetGameSetting fArmorRatingMax ) - ( GetGameSetting fArmorRatingBase )
  let value += ( GetGameSetting fArmorRatingBase )
  let value += ( GetGameSetting fArmorRatingBase )
Anonymous user

Navigation menu