NaiFen☀
用编辑器写好技能后加到游戏里发现技能无法造成伤害
不知道是什么原因
例如我做了一个叫突刺的技能,确实可以位移,但是无法造成伤害
还有一些AOE的技能 释放后并没有进入CD,也没有任何反馈,释放后没有任何效果
不知道是没有怪物组别还是因为没有SkillAPI里面的词条属性
求大佬帮帮我

青柠123
你把你写的内容发一下我康康

NaiFen☀
青柠123 发表于 2019-8-20 23:59
你把你写的内容发一下我康康


怒吼:
  name: '怒吼'
  type: '范围技能'
  max-level: 5
  skill-req: '英勇一击'
  skill-req-lvl: 3
  needs-permission: 'false'
  attributes:
    level-base: '30'
    level-scale: '5'
    cost-base: '5'
    cost-scale: '2'
    cooldown-base: '38'
    cooldown-scale: '-5'
    mana-base: '20'
    mana-scale: '4'
  msg: '&6{player} &2释放了 &6{skill}'
  icon: 'JACK_O_LANTERN'
  icon-durability: 0
  icon-data: 0
  icon-lore:
  - '&d{name} &7({level}/{max})'
  - '&2类型: &6{type}'
  - ''
  - '{req:level}等级: {attr:level}'
  - '{req:cost}技能点消耗: {attr:cost}'
  - ''
  - '&2怒气值消耗: {attr:mana}'
  - '&2冷却时间: {attr:cooldown}'
  - '&c将强大的力量压缩在咽喉并释放'
  - '&c前方3格扇形造成伤害并击退'
  - '&4每提高技能等级1增加0.6距离'
  - '&4前置技能:英勇一击 3级'
  desc:  []
  components:
    Cast:
      type: 'trigger'
      indicator: '3D'
      data:
        icon-key: ''
        indicator: '2D'
      children:
        Cone-b:
          type: 'target'
          indicator: '3D'
          data:
            icon-key: ''
            range-base: '3'
            range-scale: '0.6'
            angle-base: '90'
            angle-scale: '10'
            group: 'Enemy'
            wall: 'False'
            caster: 'False'
            max-base: '99'
            max-scale: '0'
            indicator: '2D'
          children:
            Class-c:
              type: 'condition'
              indicator: '3D'
              data:
                icon-key: ''
                class: '战士'
                exact: 'False'
                indicator: '2D'
              children:
                Class Level-d:
                  type: 'condition'
                  indicator: '3D'
                  data:
                    icon-key: ''
                    min-level: '30'
                    max-level: '300'
                    indicator: '2D'
                  children:
                    Particle Animation-e:
                      type: 'mechanic'
                      indicator: '3D'
                      data:
                        icon-key: ''
                        counts: 'True'
                        steps: '1'
                        frequency: '0.05'
                        angle: '0'
                        start: '0'
                        duration-base: '2'
                        duration-scale: '0.2'
                        h-translation-base: '-3'
                        h-translation-scale: '0.6'
                        v-translation-base: '0'
                        v-translation-scale: '0'
                        h-cycles: '1'
                        v-cycles: '1'
                        particle: 'Spell'
                        arrangement: 'Circle'
                        radius-base: '3'
                        radius-scale: '0.6'
                        particles-base: '20'
                        particles-scale: '0'
                        direction: 'XZ'
                        visible-radius: '25'
                        dx: '0'
                        dy: '0'
                        dz: '0'
                        speed: '10'
                        amount: '1'
                        forward: '0'
                        upward: '1'
                        right: '0'
                        indicator: '2D'
                      children:  {}
                    Push-f:
                      type: 'mechanic'
                      indicator: '3D'
                      data:
                        icon-key: ''
                        counts: 'True'
                        type: 'Scaled'
                        speed-base: '3'
                        speed-scale: '0.6'
                        indicator: '2D'
                      children:  {}
                    Damage-g:
                      type: 'mechanic'
                      indicator: '3D'
                      data:
                        icon-key: ''
                        counts: 'True'
                        type: '物理伤害'
                        value-base: '16'
                        value-scale: '4'
                        true: 'False'
                        indicator: '2D'
                      children:  {}