====== 伤害性法术例子 DamageSpells ====== ---- ===== 单目标火焰 ===== * 基础 SingleTargetFire: Cooldown: 1 Skills: - effect:particles{p=flame;hs=1;vs=1;a=50;s=0.01;} @target - damage{a=6;ignorearmor=true;} - ignite{d=60;} * 进阶:施法时间,怪物停止施法 SingleTargetFire: Cooldown: 1 Skills: - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=40;level=7;} @self - delay 40 - message{m=" &ecombusts."} @PIR{r=20} - effect:particles{p=largesmoke;vs=1;hs=1;a=50;s=0.01;} - effect:particles{p=flame;hs=1;vs=1;a=50;s=0.01;} @target - effect:particles{p=explode;vs=1;hs=1;a=50;s=0.01;} - effect:sound{s=entity.ghast.fireball;v=1;p=1;} - damage{a=6;ignorearmor=true;} - ignite{d=60;} * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) SingleTargetFire: Cooldown: 1 Conditions: - targetwithin 15 - targetinlineofsight true - offgcd true Skills: - GCD{t=40} - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=40;level=7;} @self - delay 40 - message{m=" &ecombusts."} @PIR{r=20} - effect:particles{p=largesmoke;vs=1;hs=1;a=50;s=0.01;} - effect:particles{p=flame;hs=1;vs=1;a=50;s=0.01;} @target - effect:particles{p=explode;vs=1;hs=1;a=50;s=0.01;} - effect:sound{s=entity.ghast.fireball;v=1;p=1;} - damage{a=6;ignorearmor=true;} - ignite{d=60;} ===== AOE火焰 ===== * 基础 AOEFire: Cooldown: 1 Skills: - effect:particles{p=flame;hs=10;vs=1;a=1000;s=0.01;} - damage{a=6;ignorearmor=true;} @PIR{r=10} - ignite{d=60;} @PIR{r=10} * 进阶:施法时间,怪物停止施法 AOEFire: Cooldown: 1 Skills: - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=80;level=7;} - delay 80 - message{m="&e combusts."} @PIR{r=20} - effect:particles{p=reddust;hs=10;vs=1;a=1000;s=0.01;} - effect:particles{p=flame;hs=10;vs=1;a=1000;s=0.01;} - effect:sound{s=entity.ghast.fireball;v=1;p=1;} - damage{a=6;ignorearmor=true;} @PIR{r=10} - ignite{d=60;} @PIR{r=10} * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) AOEFire: Cooldown: 1 Conditions: - targetwithin 20 - offgcd true Skills: - GCD{t=80} - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=80;level=7;} - delay 80 - message{m="&e combusts."} @PIR{r=20} - effect:particles{p=reddust;hs=10;vs=1;a=1000;s=0.01;} - effect:particles{p=flame;hs=10;vs=1;a=1000;s=0.01;} @self - effect:sound{s=entity.ghast.fireball;v=1;p=1;} - damage{a=6;ignorearmor=true;} @PIR{r=10} - ignite{d=60;} @PIR{r=10} ===== 单目标冰伤 ===== * 基础 SingleTargetFrost: Cooldown: 1 Skills: - effect:particles{p=splash;vs=1;hs=1;a=100;s=0.01} - effect:sound{s=block.fire.extinguish;v=2;p=1;} - damage{a=3;i=true;} - potion{type=SLOW;d=60;level=3;} * 进阶:施法时间,怪物停止施法 SingleTargetFrost: Cooldown: 1 Skills: - message{m="$boss &ebegins casting a spell."} @PIR{r=20} - potion{type=SLOW;d=40;level=7;} @self - delay 40 - message{m="&e is frozen."} @PIR{r=20} - effect:particles{p=splash;vs=1;hs=1;a=100;s=0.01} - effect:sound{s=block.fire.extinguish;v=1;p=1;} - damage{a=3;i=true;} - potion{type=SLOW;d=60;level=3;} * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) SingleTargetFrost: Cooldown: 1 Conditions: - targetwithin 15 - targetinlineofsight true - offgcd true Skills: - GCD{t=40} - message{m="$boss &ebegins casting a spell."} @PIR{r=20} - potion{type=SLOW;d=40;level=7;} @self - delay 40 - message{m="&e is frozen"} @PIR{r=20} - effect:particles{p=splash;vs=1;hs=1;a=100;s=0.01} - effect:sound{s=block.fire.extinguish;v=1;p=1;} - damage{a=3;i=true;} - potion{type=SLOW;d=60;level=3;} ===== AOE冰 ===== * 基础 AOEFrost: Cooldown: 1 Skills: - effect:particles{p=splash;hs=5;vs=1;a=5000;s=0.01;y=1} - effect:sound{s=block.fire.extinguish;v=2;p=1;} - damage{a=6;ignorearmor=true;} @PIR{r=10} - potion{type=SLOW;d=60;level=3;} @PIR{r=10} * 进阶:施法时间,怪物停止施法 AOEFrost: Cooldown: 1 Skills: - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is frozen"} @PIR{r=20} - effect:particles{p=splash;hs=5;vs=1;a=5000;s=0.01;y=1} - effect:sound{s=block.fire.extinguish;v=2;p=1;} - damage{a=6;ignorearmor=true;} @PIR{r=10} - potion{type=SLOW;d=60;level=3;} @PIR{r=10} * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) AOEFrost: Cooldown: 1 Conditions: - targetwithin 20 - offgcd true Skills: - GCD{t=80} - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is frozen"} @PIR{r=20} - effect:particles{p=splash;hs=5;vs=1;a=5000;s=0.01;y=1} - effect:sound{s=block.fire.extinguish;v=2;p=1;} - damage{a=6;ignorearmor=true;} @PIR{r=10} - potion{type=SLOW;d=60;level=3;} @PIR{r=10} ===== 单目标闪电 ===== * 基础 SingleTargetLightning: Cooldown: 1 Skills: - lightning{d=5;} - delay 5 - effect:particles{p=fireworksSpark;vs=1;hs=1;a=100;s=1;} * 进阶:施法时间,怪物停止施法 SingleTargetLightning: Cooldown: 1 Skills: - message{m="$boss &ebegins casting a spell."} @PIR{r=20} - potion{type=SLOW;d=60;level=7;} @self - delay 60 - lightning{d=5;} - message{m="&e is shocked."} @PIR{r=20} - delay 5 - effect:smoke @target - effect:particles{p=fireworksSpark;vs=1;hs=1;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=1;a=500;s=0.01;} * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) SingleTargetLightning: Cooldown: 1 Conditions: - targetwithin 15 - targetinlineofsight true - offgcd true Skills: - GCD{t=60} - message{m="$boss &ebegins casting a spell."} @PIR{r=20} - potion{type=SLOW;d=60;level=7;} @self - delay 60 - lightning{d=5;} - message{m="&e is shocked."} @PIR{r=20} - delay 5 - effect:smoke @target - effect:particles{p=fireworksSpark;vs=1;hs=1;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=1;a=500;s=0.01;} ===== 范围闪电 ===== * 基础 AOELightning: Cooldown: 1 Skills: - lightning{d=18;} @PIR{r=10} - delay 5 - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} * 进阶:施法时间,怪物停止施法 AOELightning: Cooldown: 1 Skills: Cooldown: 1 Skills: - message{m="$boss &ebegins casting a spell."} @PIR{r=20} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is shocked."} @PIR{r=20} - lightning{d=18;} @PIR{r=10} - delay 5 - effect:smoke - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=5;a=100;s=0.01;} * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) AOELightning: Cooldown: 1 Conditions: - targetwithin 20 - offgcd true Skills: - GCD{t=80} - message{m="$boss &ebegins casting a spell."} @PIR{r=20} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is shocked."} @PIR{r=20} - lightning{d=18;} @PIR{r=10} - delay 5 - effect:smoke - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=5;a=100;s=0.01;} ===== AOE闪电风暴 ===== * 进阶:施法时间。怪物停止施法,条件和 GCD(全局冷却),多次打击 AOELightningStorm: Cooldown: 1 Conditions: - targetwithin 20 - offgcd true Skills: - GCD{t=80} - message{m="$boss &ebegins casting a spell."} @PIR{r=20} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is consumed by lightning."} @PIR{r=20} - lightning 10:3 - delay 5 - effect:smoke - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=5;a=100;s=0.01;} - delay 10 - lightning 10:3 - delay 5 - effect:smoke - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=5;a=100;s=0.01;} - delay 10 - lightning 10:3 - delay 5 - effect:smoke - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=5;a=100;s=0.01;} - delay 10 - lightning 10:3 - delay 5 - effect:smoke - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=5;a=100;s=0.01;} - delay 10 - lightning 10:3 - delay 5 - effect:smoke - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=5;a=100;s=0.01;} - delay 10 - lightning 10:3 - delay 5 - effect:smoke - effect:particles{p=fireworksSpark;vs=1;hs=5;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=5;a=100;s=0.01;} ===== 单目标DOT ===== * 基础 SingleTargetDOT: Cooldown: 1 Skills: - effect:particles{p=happyVillager;hs=1;vs=1;a=250;s=0.5;} - effect:sound{s=entity.spider.ambient;v=2;p=1;} - potion{type=POISON;d=200;level=1;} - potion{type=SLOW;d=80;level=7;} @self * 进阶:施法时间,怪物停止施法 SingleTargetDOT: Cooldown: 1 Skills: - message{m="$boss&e begins casting a spell"} @PIR{r=20} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is poisoned."} @PIR{r=20} - effect:particles{p=happyVillager;hs=1;vs=1;a=250;s=0.5;} - effect:sound{s=entity.spider.ambient;v=2;p=1;} - potion{type=POISON;d=200;level=1;} * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) SingleTargetDOT: Cooldown: 1 Conditions: - targetwithin 15 - targetinlineofsight true - offgcd true Skills: - GCD{t=80} - message{m="$boss&e begins casting a spell"} @PIR{r=20} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is poisoned."} @PIR{r=20} - effect:particles{p=happyVillager;hs=1;vs=1;a=250;s=0.5;} - effect:sound{s=entity.spider.ambient;v=2;p=1;} - potion{type=POISON;d=200;level=1;} ===== AOE DOT ===== * 基础 AOEDOT: Cooldown: 1 Skills: - effect:particles{p=happyVillager;hs=1;vs=1;a=250;s=0.5;} - effect:sound{s=entity.spider.ambient;v=2;p=1;} - potion{type=POISON;d=200;level=1;} @PIR{r=10} * 进阶:施法时间,怪物停止施法 AOEDOT: Cooldown: 1 Skills: - message{m="$boss&e begins casting a spell"} @PIR{r=20} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is poisoned."} @PIR{r=20} - effect:particles{p=happyVillager;hs=1;vs=1;a=250;s=0.5;} - effect:sound{s=entity.spider.ambient;v=2;p=1;} - potion{type=POISON;d=200;level=1;} @PIR{r=10} * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) AOEDOT: Cooldown: 1 Conditions: - targetwithin 15 - offgcd true Skills: - GCD{t=80} - message{m="$boss&e begins casting a spell"} @PIR{r=20} - potion{type=SLOW;d=80;level=7;} @self - delay 80 - message{m="&e is poisoned."} @PIR{r=20} - effect:particles{p=happyVillager;hs=1;vs=1;a=250;s=0.5;} - effect:sound{s=entity.spider.ambient;v=2;p=1;} - potion{type=POISON;d=200;level=1;} @PIR{r=10} ===== 单目标流血 ===== * 基础 LifeTap: Cooldown: 1 Skills: - effect:particles{p=dripLava;hs=1;vs=1;a=250;s=0.5;} - consume{d=12;h=12} - effect:particles{p=dripLava;hs=1;vs=1;a=250;s=0.1;} @self * 进阶:施法时间,怪物停止施法 LifeTap: Cooldown: 1 Skills: - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=30;level=7;} @self - delay 30 - message{m="&e feels their life drain away."} @PIR{r=20} - effect:particles{p=dripLava;hs=1;vs=1;a=250;s=0.5;} - consume{d=12;h=12} - effect:particles{p=dripLava;hs=1;vs=1;a=250;s=0.1;} @self * 进阶:施法时间,怪物停止施法、条件和 GCD(全局冷却) LifeTap: Cooldown: 1 Conditions: - targetwithin 15 - targetinlineofsight true - offgcd true Skills: - GCD 30 - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=30;level=7;} @self - delay 30 - message{m="&e feels their life drain away."} @PIR{r=20} - effect:particles{p=dripLava;hs=1;vs=1;a=250;s=0.5;} - consume{d=12;h=12} - effect:particles{p=dripLava;hs=1;vs=1;a=250;s=0.1;} @self ===== 螺旋升天 ===== * 将玩家发射到空中。高级:施法时间、生物停止施法、条件和 GCD(全局冷却) GravityFlux: Cooldown: 30 Conditions: - targetwithin 15 - offgcd true Skills: - GCD{t=80} - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=40;level=7;} @self - delay 40 - message{m="&e rises chaotically into the air."} @PIR{r=20} - effect:sound{s=entity.wither.death;v=2;p=1;} @self - effect:particles{p=cloud:1:10:a=1000;s=0.01;} - throw{velocity=0;velocityY=10} ===== 流星 ===== * Meteor v1(较高 CPU 占用) 高级:施法时间。怪物停止施放,条件和 GCD(全局冷却) * 记住将此指定为@target 技能,例如。- 技能{s=流星} @target Meteor: Cooldown: 1 Conditions: - targetwithin 15 - targetinlineofsight true - offgcd true Skills: - GCD{t=60} - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=60;level=7;} @self - delay 60 - message{m="&eA meteor slams into &f."} @PIR{r=20} - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=20;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=20;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=18;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=18;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=16;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=16;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=14;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=14;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=12;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=12;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=10;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=10;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=8;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=8;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=6;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=6;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=4;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=4;} - delay 1 - effect:particles{p=cloud;vs=1;hs=1;a=50;s=0.01;y=2;} - effect:particles{p=reddust;vs=1;hs=1;a=100;s=0.01;y=2} - delay 1 - effect:particles{p=flame;vs=1;hs=3;a=1000;s=0.01;} - effect:particles{p=lava;vs=2;hs=1;a=100;s=1;} - effect:particles{p=lava;vs=1;hs=1;a=100;s=1;} - effect:particles{p=reddust;vs=1;hs=3;a=500;s=0.01;} - effect:sound{s=entity.ghast.fireball;v=1;p=1;} - throw{velocity=3;velocityY=3} - potion{type=slow,duration=20;level=7;} - damage{a=6;ignorearmor=true;} * Meteor v2(更多 CPU 密集型) * 高级:施法时间。怪物停止施法、条件和 GCD(全局冷却) Meteor: Cooldown: 1 Conditions: - targetwithin 15 - targetinlineofsight true - offgcd true Skills: - GCD{t=60} - message{msg="&e begins casting a spell."} @PIR{r=15} - potion{type=SLOW;d=60;level=7;} @self - delay 60 - message{m="&eA meteor slams into &f."} @PIR{r=20} - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=20;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=18;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=16;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=14;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=12;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=10;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=8;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=6;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=4;} - delay 1 - effect:particles{p=lava;vs=1;hs=1;a=300;s=1;y=2;} - delay 1 - effect:particles{p=flame;vs=1;hs=3;a=1000;s=0.01;} - effect:particles{p=lava;vs=1;hs=1;a=1000;s=1;} - effect:particles{p=cloud;vs=1;hs=3;a=1000;s=0.01;} - effect:sound{s=entity.ghast.fireball;v=2;p=1;} - throw{velocity=3;velocityY=3} - potion{type=slow,duration=20;level=7;} - damage{a=6;ignorearmor=true;}