{bbname}

NeBo 发表于 2021-9-11 20:45:48

[插件SkillAPI]技能分享

本帖最后由 NeBo 于 2021-9-11 20:51 编辑

https://www.5izb.cn/static/image/hrline/4.gifhttps://www.5izb.cn/static/image/hrline/4.gifhttps://www.5izb.cn/static/image/hrline/4.gif

SkillAPI
技能分享






概览
SkillAPI 是一个强大的 RPG 插件, 允许您创建自定义技能或职业而完全不需要接触任何代码
可以使用编辑器来简化该过程, 若您想要对该插件进行更深程度的自定义化, 您可以查看 API 代码技能使用PaperSpigot-1.12.2 SkillAPI-Premium-1.90SkillAPI版本过低可能会引起bug<付费插件>SkillAPI-Premium-1.90
    请自行更改技能里的伤害数值变量




技能快速射击快速射击:
name: '快速射击'
type: 'Dynamic'
max-level: 5
skill-req-lvl: 1
needs-permission: 'false'
attributes:
    level-base: '10'
    level-scale: '10'
    cost-base: '2'
    cost-scale: '0'
    cooldown-base: '25'
    cooldown-scale: '-1'
    mana-base: '55'
    mana-scale: '10'
    points-spent-req-base: '0'
    points-spent-req-scale: '0'
    incompatible:
    - ''
msg: '&f[&c系统&f]&7玩家&6{player}&7释放&c{skill}'
icon: 'CLAY_BALL'
icon-durability: 0
icon-data: 0
icon-lore:
- '&f&l{name} &7({level}/{max})'
- '&7技能类型: &6主动技能'
- '&7&m一&8&n一一一一一一&7&m一'
- '&7升级所需职业等级: &b{attr:level}|{req:level}'
- '&7升级所需技能点: &b{attr:cost}|{req:cost}'
- ''
- '&b耗蓝: {attr:mana}   &e冷却: {attr:cooldown}'
- '&7基础伤害: &e0 每级+20'
- '&7伤害总和: &e(武器伤害x0.8+基础伤害)x箭矢数量'
- '&7箭矢数量: &e5 每级+2'
- '&0kp4'
- '&f&l简述'
- '&a连续快速发射多发箭'
- '&a要手持弓才能释放'
- '&6&l释放技能'
desc:[]
components:
    Cast:
      type: 'trigger'
      indicator: '3D'
      data:
      icon-key: ''
      indicator: '2D'
      children:
      Item-b:
          type: 'condition'
          indicator: '3D'
          data:
            icon-key: ''
            check-mat: 'False'
            check-data: 'False'
            check-lore: 'True'
            lore: '弓箭'
            check-name: 'False'
            regex: 'False'
            indicator: '2D'
          children:
            Repeat-c:
            type: 'mechanic'
            indicator: '3D'
            data:
                icon-key: ''
                counts: 'True'
                repetitions-base: '1'
                repetitions-scale: '0'
                period: '0'
                delay: '0'
                stop-on-fail: 'False'
                indicator: '2D'
            children:
                Value Placeholder-d:
                  type: 'mechanic'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  counts: 'True'
                  key: '快速射击_伤害'
                  type: 'Number'
                  placeholder: '%mmoitems_stat_attack_damage%'
                  indicator: '2D'
                  children:{}
                Value Multiply-e:
                  type: 'mechanic'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  counts: 'True'
                  key: '快速射击_伤害'
                  multiplier-base: '0.8'
                  multiplier-scale: '0'
                  indicator: '2D'
                  children:{}
                Value Placeholder-f:
                  type: 'mechanic'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  counts: 'True'
                  key: '名字'
                  type: 'String'
                  placeholder: '%player_name%'
                  indicator: '2D'
                  children:{}
            Delay-g:
            type: 'mechanic'
            indicator: '3D'
            data:
                icon-key: ''
                counts: 'True'
                delay-base: '0.001'
                delay-scale: '0'
                indicator: '2D'
            children:
                Repeat-h:
                  type: 'mechanic'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  counts: 'True'
                  repetitions-base: '5'
                  repetitions-scale: '2'
                  period: '0.2'
                  delay: '0'
                  stop-on-fail: 'False'
                  indicator: '2D'
                  children:
                  Self-i:
                      type: 'target'
                      indicator: '3D'
                      data:
                        icon-key: ''
                        indicator: '2D'
                        group: 'enemy'
                        wall: 'false'
                        caster: 'false'
                      children:
                        Projectile-j:
                        type: 'mechanic'
                        indicator: '3D'
                        data:
                            icon-key: ''
                            counts: 'True'
                            projectile: 'Arrow'
                            flaming: 'False'
                            cost: ''
                            group: 'Enemy'
                            spread: 'Cone'
                            amount-base: '1'
                            amount-scale: '0'
                            velocity-base: '3'
                            velocity-scale: '0'
                            angle-base: '30'
                            angle-scale: '0'
                            position: '0'
                            forward-base: '0'
                            forward-scale: '0'
                            upward-base: '1'
                            upward-scale: '0'
                            right-base: '0'
                            right-scale: '0'
                            use-effect: 'False'
                            indicator: '2D'
                        children:
                            Damage-k:
                              type: 'mechanic'
                              indicator: '3D'
                              data:
                              icon-key: ''
                              counts: 'True'
                              type: 'Damage'
                              value-base: '快速射击_伤害'
                              value-scale: '20'
                              true: 'False'
                              classifier: 'default'
                              indicator: '2D'
                              children:{}
                            Damage Lore-l:
                              type: 'mechanic'
                              indicator: '3D'
                              data:
                              icon-key: ''
                              counts: 'True'
                              hand: 'Main'
                              regex: '使用快速射击增加额外 {value} 点伤害'
                              multiplier-base: '1'
                              multiplier-scale: '0'
                              true: 'False'
                              classifier: 'default'
                              indicator: '2D'
                              children:{}
                            Damage Lore-m:
                              type: 'mechanic'
                              indicator: '3D'
                              data:
                              icon-key: ''
                              counts: 'True'
                              hand: 'Offhand'
                              regex: '使用快速射击增加额外 {value} 点伤害'
                              multiplier-base: '1'
                              multiplier-scale: '0'
                              true: 'False'
                              classifier: 'default'
                              indicator: '2D'
                              children:{}
                        Particle Projectile-n:
                        type: 'mechanic'
                        indicator: '3D'
                        data:
                            icon-key: ''
                            counts: 'True'
                            group: 'Enemy'
                            spread: 'Cone'
                            amount-base: '1'
                            amount-scale: '0'
                            velocity-base: '1.5'
                            velocity-scale: '0'
                            angle-base: '30'
                            angle-scale: '0'
                            position: '0'
                            forward-base: '0'
                            forward-scale: '0'
                            upward-base: '1'
                            upward-scale: '0'
                            right-base: '0'
                            right-scale: '0'
                            gravity: '0'
                            pierce: 'False'
                            particle: 'Red Dust'
                            arrangement: 'Circle'
                            radius-base: '0.1'
                            radius-scale: '0'
                            particles-base: '5'
                            particles-scale: '0'
                            direction: 'XZ'
                            visible-radius: '20'
                            dx: '1'
                            dy: '1'
                            dz: '-1'
                            speed: '1'
                            amount: '0'
                            frequency: '0.05'
                            lifespan: '3'
                            use-effect: 'False'
                            indicator: '2D'
                        children:{}
                  Sound-o:
                      type: 'mechanic'
                      indicator: '3D'
                      data:
                        icon-key: ''
                        counts: 'True'
                        sound: 'Entity Firework Blast'
                        volume-base: '100'
                        volume-scale: '0'
                        pitch-base: '1'
                        pitch-scale: '0'
                        indicator: '2D'
                      children:{}
                Area-p:
                  type: 'target'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  radius-base: '10'
                  radius-scale: '0'
                  group: 'Enemy'
                  wall: 'False'
                  caster: 'True'
                  max-base: '99'
                  max-scale: '0'
                  random: 'False'
                  indicator: '2D'
                  children:
                  Message-q:
                      type: 'mechanic'
                      indicator: '3D'
                      data:
                        icon-key: ''
                        counts: 'True'
                        message: '{名字}使用技能快速射击'
                        indicator: '2D'
                      children:{}愈合术愈合术:
name: '愈合术'
type: '主动技能'
max-level: 5
skill-req-lvl: 0
needs-permission: 'false'
attributes:
    level-base: '10'
    level-scale: '10'
    cost-base: '5'
    cost-scale: '0'
    cooldown-base: '21'
    cooldown-scale: '-1'
    mana-base: '35'
    mana-scale: '15'
    points-spent-req-base: '0'
    points-spent-req-scale: '0'
    incompatible:
    - ''
msg: '&f[&c系统&f]&7玩家&6{player}&7释放&c{skill}'
icon: 'CLAY_BALL'
icon-durability: 0
icon-data: 0
icon-lore:
- '&f&l{name} &7({level}/{max})'
- '&7技能类型: &6主动技能'
- '&7&m一&8&m一一一一一一&7&m一'
- '&7升级所需职业等级: &b{attr:level}|{req:level}'
- '&7升级所需技能点: &b{attr:cost}|{req:cost}'
- ''
- '&b耗蓝: {attr:mana}   &e冷却: {attr:cooldown}'
- '&a治疗生命值: &b15% 每级+5%'
- ''
- '&f&l简述'
- '&a迅速愈合伤口!'
- '&a5格内离你最近的友方目标'
- '&6&l释放技能'
- '&a&lZ Z '
desc:[]
components:
    Cast:
      type: 'trigger'
      indicator: '3D'
      data:
      icon-key: ''
      indicator: '2D'
      children:
      Item-b:
          type: 'condition'
          indicator: '3D'
          data:
            icon-key: ''
            check-mat: 'False'
            check-data: 'False'
            check-lore: 'True'
            lore: '法杖'
            check-name: 'False'
            regex: 'False'
            indicator: '2D'
          children:
            Self-c:
            type: 'target'
            indicator: '3D'
            data:
                icon-key: ''
                indicator: '2D'
                group: 'enemy'
                wall: 'false'
                caster: 'false'
            children:
                Value Placeholder-d:
                  type: 'mechanic'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  counts: 'True'
                  key: '名字'
                  type: 'String'
                  placeholder: '%player_name%'
                  indicator: '2D'
                  children:{}
                Value Lore-e:
                  type: 'mechanic'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  counts: 'True'
                  key: '愈合术_额外主'
                  hand: 'Main'
                  regex: '使用愈合术增加额外 {value} 恢复生命'
                  multiplier-base: '1'
                  multiplier-scale: '0'
                  indicator: '2D'
                  children:{}
                Value Lore-f:
                  type: 'mechanic'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  counts: 'True'
                  key: '愈合术_额外副'
                  hand: 'Offhand'
                  regex: '使用愈合术增加额外 {value} 恢复生命'
                  multiplier-base: '1'
                  multiplier-scale: '0'
                  indicator: '2D'
                  children:{}
            Delay-g:
            type: 'mechanic'
            indicator: '3D'
            data:
                icon-key: ''
                counts: 'True'
                delay-base: '0.001'
                delay-scale: '0'
                indicator: '2D'
            children:
                Linear-h:
                  type: 'target'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  range-base: '5'
                  range-scale: '0'
                  tolerance-base: '3'
                  tolerance-scale: '0'
                  group: 'Ally'
                  wall: 'True'
                  caster: 'False'
                  max-base: '1'
                  max-scale: '0'
                  indicator: '2D'
                  children:
                  Health-i:
                      type: 'condition'
                      indicator: '3D'
                      data:
                        icon-key: ''
                        type: 'Health'
                        min-value-base: '2'
                        min-value-scale: '0'
                        max-value-base: '1000000'
                        max-value-scale: ' {}'
                        indicator: '2D'
                      children:
                        Heal-j:
                        type: 'mechanic'
                        indicator: '3D'
                        data:
                            icon-key: ''
                            counts: 'True'
                            type: 'Percent'
                            value-base: '15'
                            value-scale: '5'
                            indicator: '2D'
                        children:{}
                        Particle Animation-k:
                        type: 'mechanic'
                        indicator: '3D'
                        data:
                            icon-key: ''
                            counts: 'True'
                            steps: '1'
                            frequency: '0.05'
                            angle: '0'
                            start: '0'
                            duration-base: '1'
                            duration-scale: '0'
                            h-translation-base: '0'
                            h-translation-scale: '0'
                            v-translation-base: '1'
                            v-translation-scale: '0'
                            h-cycles: '1'
                            v-cycles: '1'
                            particle: 'Happy Villager'
                            arrangement: 'Circle'
                            radius-base: '2'
                            radius-scale: '0'
                            particles-base: '2'
                            particles-scale: '0'
                            direction: 'XZ'
                            visible-radius: '25'
                            dx: '0'
                            dy: '0'
                            dz: '0'
                            speed: '0.05'
                            amount: '1'
                            forward: '0'
                            upward: '0'
                            right: '0'
                            indicator: '2D'
                        children:{}
                        Particle Animation-l:
                        type: 'mechanic'
                        indicator: '3D'
                        data:
                            icon-key: ''
                            counts: 'True'
                            steps: '1'
                            frequency: '0.05'
                            angle: '0'
                            start: '0'
                            duration-base: '1'
                            duration-scale: '0'
                            h-translation-base: '0'
                            h-translation-scale: '0'
                            v-translation-base: '1'
                            v-translation-scale: '0'
                            h-cycles: '1'
                            v-cycles: '1'
                            particle: 'Heart'
                            arrangement: 'Circle'
                            radius-base: '1'
                            radius-scale: '0'
                            particles-base: '1'
                            particles-scale: '0'
                            direction: 'XZ'
                            forward: '0'
                            upward: '0'
                            right: '0'
                            indicator: '2D'
                        children:{}
                        Heal-m:
                        type: 'mechanic'
                        indicator: '3D'
                        data:
                            icon-key: ''
                            counts: 'True'
                            type: 'Health'
                            value-base: '愈合术_额外主'
                            value-scale: '0'
                            indicator: '2D'
                        children:{}
                        Heal-n:
                        type: 'mechanic'
                        indicator: '3D'
                        data:
                            icon-key: ''
                            counts: 'True'
                            type: 'Health'
                            value-base: '愈合术_额外副'
                            value-scale: '0'
                            indicator: '2D'
                        children:{}
                Area-o:
                  type: 'target'
                  indicator: '3D'
                  data:
                  icon-key: ''
                  radius-base: '10'
                  radius-scale: '0'
                  group: 'Enemy'
                  wall: 'False'
                  caster: 'True'
                  max-base: '99'
                  max-scale: '0'
                  random: 'False'
                  indicator: '2D'
                  children:
                  Message-p:
                      type: 'mechanic'
                      indicator: '3D'
                      data:
                        icon-key: ''
                        counts: 'True'
                        message: '{名字}释放愈合术'
                        indicator: '2D'
                      children:{}正圣冲斩**** Hidden Message *****闪避(建议绑定按键使用)**** Hidden Message *****


持续更新





夜航星Star 发表于 2021-9-12 10:12:05

awa

YEChen 发表于 2021-9-20 13:02:47

支持支持

内鬼 发表于 2021-9-20 17:40:16

{:4_104:}{:4_104:}

落夏之雨 发表于 2021-10-1 22:48:37

支持支持

1351734626 发表于 2024-7-14 23:55:05

.
ggggggggggggggggggggggggggg

orangwhit 发表于 2025-1-10 22:40:51

感谢分享
页: [1]
查看完整版本: [插件SkillAPI]技能分享