Guest User

Untitled

a guest
Dec 11th, 2015
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. from Libs import CHK
  2.  
  3. chk = CHK.CHK()
  4. chk.load_file('scenario.chk')
  5. unis = chk.get_section(CHK.CHKSectionUNIS.NAME)
  6. for weapon in unis.weapon_stats:
  7. weapon.damage *= 2
  8. chk.save_file('output.chk')
Advertisement
Add Comment
Please, Sign In to add comment