要求:可以用SkillAPI 调用MM技能就行
如果你是1.12.2可以使用枫溪版sk,提供了释放MM技能的机制
https://xv5zac7cto.feishu.cn/docx/doxcnqu6PQN8RMvxsnFdCUdb5Lb
如果你是其他版本,那么需要通过执行指令
复制代码
https://xv5zac7cto.feishu.cn/docx/doxcnqu6PQN8RMvxsnFdCUdb5Lb
如果你是其他版本,那么需要通过执行指令
- Skill 1:
- name: 'Skill 1'
- type: 'Dynamic'
- max-level: 5
- skill-req: ''
- skill-req-lvl: 0
- needs-permission: 'False'
- msg: '&6{player} &2has cast &6{skill}'
- combo: ''
- indicator: '2D'
- icon: 'Jack O Lantern'
- icon-data: 0
- icon-lore:
- - '&d{name} &7({level}/{max})'
- - '&2Type: &6{type}'
- - ''
- - '{req:level}Level: {attr:level}'
- - '{req:cost}Cost: {attr:cost}'
- - ''
- - '&2Mana: {attr:mana}'
- - '&2Cooldown: {attr:cooldown}'
- attributes:
- level-base: 0
- level-scale: 0
- cost-base: 0
- cost-scale: 0
- cooldown-base: 0
- cooldown-scale: 0
- mana-base: 0
- mana-scale: 0
- points-spent-req-base: 0
- points-spent-req-scale: 0
- incompatible:
- - ''
- components:
- Cast-a:
- type: 'trigger'
- data:
- icon-key: ''
- children:
- Command-b:
- type: 'mechanic'
- data:
- icon-key: ''
- counts: 'True'
- command: 'mm test cast 测试技能'
- type: 'OP'