反应
可以在图标的动作部分、菜单事件、周期任务等地方使用
常规写法
actions:
- 'tell: Hello, %player_name%'三元写法
actions:
condition: 'hasMoney.100'
actions:
- 'tell: You have enough money.'
deny-actions:
- 'tell: You don''t have enough money.'多组三元写法
actions:
all:
- condition: 'utils.chance(0.1)'
priority: 3
actions:
- 'tell: Prize 1'
- 'return'
- condition: 'utils.chance(0.5)'
priority: 2
actions:
- 'tell: Prize 2'
- 'return'
- condition: 'true'
priority: 1
actions:
- 'tell: Prize 3'注意
Last updated
Was this helpful?