插件手册:mythicmobs:技能:机制列表:throw

throw

将所有目标从生物(或起源)处扔开。

属性缩写描述默认值
velocityv实体被抛出的水平速度。1
velocityYvy实体被抛出的垂直速度1

在这个例子中,生物会在他们周围产生爆炸效果,对半径 5 个方块内的玩家造成 10 点伤害(5 颗心)并将他们击退。给人一种强烈爆炸的错觉。

  1. GroundSlam:
  2.   Skills:
  3. - effect:explosion @Self
  4. - damage{amount=10} @PlayersInRadius{r=5}
  5. - throw{velocity=15;velocityY=5} @PlayersInRadius{r=5}

这个复杂的例子展示了如何将投掷机制与其他机制结合使用以产生相当惊人的效果。施法者释放出强大的冲击波,对 10 格内的所有玩家造成 50 点伤害(25 颗心),并使用投掷机制将他们稍微抛向空中。还添加了额外的效果,使攻击更具吸引力和威慑力。

  1. SuperShockslam:
  2.   Skills:
  3. - throw{velocity=5;velocityY=5} @PIR{r=10}
  4. - damage{a=50;i=false} @PIR{r=10}
  5. - effect:particles{p=hugeexplode;a=5;vs=0.5;hs=0.5;s=0;y=1} @Self
  6. - effect:sound{s=entity.generic.explode;v=2;p=0.5} @Self
  7. - effect:sound{s=entity.generic.explode;v=2;p=1;repeat=7;repeatInterval=2} @Self
  8. - effect:particlering{p=largeexplode;a=40;vs=0.5;hs=0.5;s=0;y=0.3;points=20;radius=1} @Self
  9. - delay 2
  10. - effect:particlering{p=largeexplode;a=40;vs=0.5;hs=0.5;s=0;y=0.3;points=20;radius=3} @Self
  11. - delay 2
  12. - effect:particlering{p=largeexplode;a=40;vs=0.5;hs=0.5;s=0;y=0.3;points=20;radius=5} @Self
  13. - delay 2
  14. - effect:particlering{p=largeexplode;a=40;vs=0.5;hs=0.5;s=0;y=0.3;points=20;radius=7} @Self
  15. - delay 2
  16. - effect:particlering{p=largeexplode;a=40;vs=0.5;hs=0.5;s=0;y=0.3;points=20;radius=9} @Self
  17. - delay 2
  18. - effect:particlering{p=largeexplode;a=40;vs=0.5;hs=0.5;s=0;y=0.3;points=20;radius=11} @Self
  • 插件手册/mythicmobs/技能/机制列表/throw.txt
  • 最后更改: 2021/09/07 12:01
  • duangfafa