View Single Post
Minous
Senior Member
 
Join Date: May 2015
Posts: 830

Old August 14th, 2017, 05:17 PM
Something like:
Code:
var basic_value as number
var sm_value as number
basic_value = 10 + hero.child[Attack].field[tAtkBase].value + #attrmod[aWIS]
if (#skillranks[skSenseMot] > 0) then
  sm_value = 10 + hero.child[skSenseMot].field[skTotal].value
endif
field[skTotal].value = maximum(sm_value,basic_value)
Minous is offline   #3 Reply With Quote