Repair
Open the declared NPC's vendor option and repair automatically, independently of general auto-gossip/auto-repair settings. Skip when every durable equipped item reaches minDurability (default 90%). Show the REPAIR label in both panels.
- 값 형식
- table
- 적용 범위
- step
기술 설명은 영어 원문으로 유지됩니다. 필드 이름과 Lua 예제는 변경되지 않았습니다.
예제
원문 예제입니다. 노선에 맞게 ID와 값을 바꾸세요. 이 웹사이트는 Lua를 실행하지 않습니다.
Repair = { npcID = 3331, minDurability = 90 }문서화된 매개변수
| 문서화된 매개변수 | 동작 및 세부 사항 | 값 형식 |
|---|---|---|
npcID | Shown in the source example; this does not establish a required field. | number |
minDurability | Shown in the source example; this does not establish a required field. | number |
동작 및 세부 사항
Forms shown in the documentation, not an exhaustive runtime schema. Constant runtime types are not inferred.
Action / Progression Options
An action waits for completion; a failed step condition skips the step. Use one main action per step.
Repair threshold
minDurability is a percentage from 0 to 100, inclusive. Each durable equipped item is checked; a damaged weapon cannot be hidden by healthy armor. No durable equipment skips the visit; unavailable or restricted durability data keeps it pending.
Repair guards
Only npcID may repair. Wait for an open repair merchant, affordable personal cost and condition eligibility. Combat and modifier overrides pause automation. Confirm completion from durability updates; previews never repair or create action state.
Main actions
Use separate SellItems and Repair steps with the same coordinates; only one main action per step.