4
1

stat_sklattrib.tw 374 B

1234567891011
  1. :: stat_sklattrib
  2. <<if QSP['attsklupdate'][0] != 1>>
  3. <<for _skillId, _skillDefinition range setup.skills>>
  4. <<run $PC.skills[_skillId].levelInitialize(QSP["pcs_"+_skillId][0])>>
  5. <</for>>
  6. <<for _attributeId range setup.attributes>>
  7. <<run $PC.attributes[_attributeId].levelInitialize(QSP["pcs_"+_attributeId][0])>>
  8. <</for>>
  9. <<set QSP['attsklupdate'][0] = 1>>
  10. <</if>>