Paste #3122: trezy's blacksmith

Date: 2014/04/04 08:43:09 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8


"CalcCost":
  type: task
  script:
    - if <<player.item_in_hand>.durability> != 0 {
      - define duracost <<player.item_in_hand>.durability.mul[<cons:repairdurability>]>
      } else {
      - define duracost 0
      }