皓月kanni
本帖最后由 皓月kanni 于 2020-8-20 14:01 编辑

服务器版本是1.15.2
插件版本是5.10
物品的文件是这样的
  1. name: '&a&f魔法侍从 法杖 [法师]'
  2. lore:
  3. - '&7品阶: %TIER_NAME%'
  4. - '&7等级: &f%ITEM_LEVEL%'
  5. - '%ITEM_AMMO%'
  6. - '%ITEM_HAND%'
  7. - '%ENCHANTS%'
  8. - ''
  9. - '%USER_CLASS%'
  10. - '%USER_LEVEL%'
  11. - '%ITEM_SET%'
  12. - '%GENERATOR_ABILITY%'
  13. - '%GENERATOR_DEFENSE%'
  14. - '%GENERATOR_DAMAGE%'
  15. - '%GENERATOR_STATS%'
  16. - '%GENERATOR_SOCKETS_GEM%'
  17. - '%GENERATOR_SOCKETS_ESSENCE%'
  18. - '%GENERATOR_SOCKETS_RUNE%'
  19. color: 170,0,170
  20. unbreakable: true
  21. item-flags:
  22. - '*'
  23. tier: common
  24. level:
  25.   min: 1
  26.   max: 1
  27. generator:
  28.   materials:
  29.     reverse: true
  30.     black-list:
  31.     - WOODEN_HOE
  32.   damage-types:
  33.     minimum: 1
  34.     maximum: 1
  35.     lore-format:
  36.     - '%DAMAGE_PHYSICAL%'
  37.     - '%DAMAGE_MAGICAL%'
  38.     - '%DAMAGE_POISON%'
  39.     - '%DAMAGE_FIRE%'
  40.     - '%DAMAGE_WATER%'
  41.     - '%DAMAGE_WIND%'
  42.     - ''
  43.     - '%DAMAGE__VANILLA_GENERIC%'
  44.     list:
  45.       physical:
  46.         chance: 100.0
  47.         scale-by-level: 1.2
  48.         min: '0'
  49.         max: '0'
  50.       magical:
  51.         chance: 100.0
  52.         scale-by-level: 1.2
  53.         min: 8
  54.         max: 12
  55.       fire:
  56.         chance: 0.0
  57.         scale-by-level: 1.0
  58.         min: '0'
  59.         max: '0'
  60.       poison:
  61.         chance: 0.0
  62.         scale-by-level: 1.0
  63.         min: '0'
  64.         max: '0'
  65.       water:
  66.         chance: 0.0
  67.         scale-by-level: 1.0
  68.         min: '0'
  69.         max: '0'
  70.       wind:
  71.         chance: 0.0
  72.         scale-by-level: 1.0
  73.         min: '0'
  74.         max: '0'
  75.       _vanilla_generic:
  76.         chance: 0.0
  77.         scale-by-level: 1.0
  78.         min: '0'
  79.         max: '0'
  80.   enchantments:
  81.     safe-levels: true
  82.   defense-types:
  83.     list:
  84.       physical:
  85.         chance: 0.0
  86.         scale-by-level: 1.0
  87.         min: '0'
  88.         max: '0'
  89.       magical:
  90.         chance: 0.0
  91.         scale-by-level: 1.0
  92.         min: '0'
  93.         max: '0'
  94.       fire:
  95.         chance: 0.0
  96.         scale-by-level: 1.0
  97.         min: '0'
  98.         max: '0'
  99.       poison:
  100.         chance: 0.0
  101.         scale-by-level: 1.0
  102.         min: '0'
  103.         max: '0'
  104.       water:
  105.         chance: 0.0
  106.         scale-by-level: 1.0
  107.         min: '0'
  108.         max: '0'
  109.       wind:
  110.         chance: 0.0
  111.         scale-by-level: 1.0
  112.         min: '0'
  113.         max: '0'
  114.     lore-format:
  115.     - '%DEFENSE_PHYSICAL%'
  116.     - '%DEFENSE_MAGICAL%'
  117.     - '%DEFENSE_FIRE%'
  118.     - '%DEFENSE_POISON%'
  119.     - '%DEFENSE_WATER%'
  120.     - '%DEFENSE_WIND%'
  121.   item-stats:
  122.     list:
  123.       direct_damage:
  124.         chance: 0.0
  125.         scale-by-level: 1.0
  126.         min: '0'
  127.         max: '0'
  128.       sale_price:
  129.         chance: 0.0
  130.         scale-by-level: 1.0
  131.         min: '0'
  132.         max: '0'
  133.       burn_rate:
  134.         chance: 0.0
  135.         scale-by-level: 1.0
  136.         min: '0'
  137.         max: '0'
  138.       max_health:
  139.         chance: 0.0
  140.         scale-by-level: 1.0
  141.         min: '0'
  142.         max: '0'
  143.       dodge_rate:
  144.         chance: 0.0
  145.         scale-by-level: 1.0
  146.         min: '0'
  147.         max: '0'
  148.       accuracy_rate:
  149.         chance: 0.0
  150.         scale-by-level: 1.0
  151.         min: '0'
  152.         max: '0'
  153.       thornmail:
  154.         chance: 0.0
  155.         scale-by-level: 1.0
  156.         min: '0'
  157.         max: '0'
  158.       penetration:
  159.         chance: 0.0
  160.         scale-by-level: 1.0
  161.         min: '0'
  162.         max: '0'
  163.       pvp_defense:
  164.         chance: 0.0
  165.         scale-by-level: 1.0
  166.         min: '0'
  167.         max: '0'
  168.       disarm_rate:
  169.         chance: 0.0
  170.         scale-by-level: 1.0
  171.         min: '0'
  172.         max: '0'
  173.       critical_rate:
  174.         chance: 0.0
  175.         scale-by-level: 1.0
  176.         min: '0'
  177.         max: '0'
  178.       aoe_damage:
  179.         chance: 0.0
  180.         scale-by-level: 1.0
  181.         min: '0'
  182.         max: '0'
  183.       block_rate:
  184.         chance: 0.0
  185.         scale-by-level: 1.0
  186.         min: '0'
  187.         max: '0'
  188.       loot_rate:
  189.         chance: 0.0
  190.         scale-by-level: 1.0
  191.         min: '0'
  192.         max: '0'
  193.       bleed_rate:
  194.         chance: 0.0
  195.         scale-by-level: 1.0
  196.         min: '0'
  197.         max: '0'
  198.       health_regen:
  199.         chance: 0.0
  200.         scale-by-level: 1.0
  201.         min: '0'
  202.         max: '0'
  203.       mana_regen:
  204.         chance: 0.0
  205.         scale-by-level: 1.0
  206.         min: '0'
  207.         max: '0'
  208.       vampirism:
  209.         chance: 0.0
  210.         scale-by-level: 1.0
  211.         min: '0'
  212.         max: '0'
  213.       block_damage:
  214.         chance: 0.0
  215.         scale-by-level: 1.0
  216.         min: '0'
  217.         max: '0'
  218.       pve_damage:
  219.         chance: 0.0
  220.         scale-by-level: 1.0
  221.         min: '0'
  222.         max: '0'
  223.       critical_damage:
  224.         chance: 0.0
  225.         scale-by-level: 1.0
  226.         min: '0'
  227.         max: '0'
  228.       pve_defense:
  229.         chance: 0.0
  230.         scale-by-level: 1.0
  231.         min: '0'
  232.         max: '0'
  233.       pvp_damage:
  234.         chance: 0.0
  235.         scale-by-level: 1.0
  236.         min: '0'
  237.         max: '0'
  238.       durability:
  239.         chance: 0.0
  240.         scale-by-level: 1.0
  241.         min: '0'
  242.         max: '0'
  243.       attack_speed:
  244.         chance: 0.0
  245.         scale-by-level: 1.0
  246.         min: '0'
  247.         max: '0'
  248.       movement_speed:
  249.         chance: 0.0
  250.         scale-by-level: 1.0
  251.         min: '0'
  252.         max: '0'
  253.     lore-format:
  254.     - '%ITEM_STAT_DIRECT_DAMAGE%'
  255.     - '%ITEM_STAT_SALE_PRICE%'
  256.     - '%ITEM_STAT_BURN_RATE%'
  257.     - '%ITEM_STAT_MAX_HEALTH%'
  258.     - '%ITEM_STAT_DODGE_RATE%'
  259.     - '%ITEM_STAT_ACCURACY_RATE%'
  260.     - '%ITEM_STAT_THORNMAIL%'
  261.     - '%ITEM_STAT_PENETRATION%'
  262.     - '%ITEM_STAT_PVP_DEFENSE%'
  263.     - '%ITEM_STAT_DISARM_RATE%'
  264.     - '%ITEM_STAT_CRITICAL_RATE%'
  265.     - '%ITEM_STAT_AOE_DAMAGE%'
  266.     - '%ITEM_STAT_BLOCK_RATE%'
  267.     - '%ITEM_STAT_LOOT_RATE%'
  268.     - '%ITEM_STAT_BLEED_RATE%'
  269.     - '%ITEM_STAT_HEALTH_REGEN%'
  270.     - '%ITEM_STAT_MANA_REGEN%'
  271.     - '%ITEM_STAT_VAMPIRISM%'
  272.     - '%ITEM_STAT_BLOCK_DAMAGE%'
  273.     - '%ITEM_STAT_PVE_DAMAGE%'
  274.     - '%ITEM_STAT_CRITICAL_DAMAGE%'
  275.     - '%ITEM_STAT_PVE_DEFENSE%'
  276.     - '%ITEM_STAT_PVP_DAMAGE%'
  277.     - '%ITEM_STAT_DURABILITY%'
  278.     - '%ITEM_STAT_ATTACK_SPEED%'
  279.     - '%ITEM_STAT_MOVEMENT_SPEED%'
  280.   sockets:
  281.     GEM:
  282.       list:
  283.         common:
  284.           chance: 0.0
  285.         rare:
  286.           chance: 0.0
  287.       lore-format:
  288.       - '%SOCKET_GEM_COMMON%'
  289.       - '%SOCKET_GEM_RARE%'
  290.     RUNE:
  291.       list:
  292.         default:
  293.           chance: 0.0
  294.       lore-format:
  295.       - '%SOCKET_RUNE_DEFAULT%'
  296.     ESSENCE:
  297.       list:
  298.         default:
  299.           chance: 0.0
  300.       lore-format:
  301.       - '%SOCKET_ESSENCE_DEFAULT%'
  302.   abilities:
  303.     minimum: 1
  304.     maximum: 1
  305.     allowed-clicks:
  306.     - RIGHT
  307.     - LEFT
  308.     variables-by-level:
  309.       '1':
  310.         rad: 4.0
  311.         dur: '&f10 &7秒'
  312.         durTick: 200
  313.     list:
  314.       ability-1:
  315.         chance: 100.0
  316.         cooldown: 1.0
  317.         lore-format:
  318.         - '&b火球术: &7[&f%key%&7]'
  319.         actions:
  320.           default:
  321.             target-selectors:
  322.               radius:
  323.               - '[RADIUS] ~distance: %var_rad%; ~allow-self: false; ~party-member:
  324.                 false; ~attackable: true;'
  325.               self:
  326.               - '[SELF]'
  327.             conditions:
  328.               list: []
  329.               actions-on-fail: 'null'
  330.             action-executors:
  331.             - '[PROGRESS_BAR] ~title: &e&l施法中...; ~subtitle: •; ~color-empty: &7;~color-fill: &e; ~duration: 35; ~target: self;'
  332.             - '[PROJECTILE] ~name: FIREBALL; ~speed: 3.5; ~target: around;'
  333. target-requirements: {}
复制代码