Advertisement
Guest User

MythicMobs archer.yml

a guest
Mar 25th, 2020
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.08 KB | None | 0 0
  1. # ------------- PASSIVE ------------- #
  2. ArcherPassive:
  3.     Skills:
  4.        - potion{type=speed;duration=60;level=1} @self
  5.  
  6. # ------------- CRITICAL SHOT ------------- #
  7. CriticalShot:
  8.     Skills:
  9.        #   USE A FLAT VALUE UNTIL SHOOT REGISTERS PLACEHOLDERS
  10.         #- shoot{type=ARROW;velocity=3;damage="<mmocore.skill.PowerShot.damage>"} @targetLocation
  11.         - shoot{type=ARROW;velocity=2;damage=10;ot=cs-effect} @target
  12.  
  13. cs-effect:
  14.     Skills:
  15.        - effect:particles{p=crit;amount=10;speed=0;hS=0.2;vS=0.2} @origin
  16.  
  17. # ------------- RETREAT ------------- #
  18. Retreat:
  19.     Skills:
  20.        - leap{velocity=250} @forward{f=-5}
  21.  
  22. # ------------- BINDING ARROW ------------- #
  23. BindingArrow:
  24.     Skills:
  25.        - shoot{type=ARROW;velocity=2;damage=5;ot=ba-effect;onhitskill=ba-hit;} @target
  26.  
  27. ba-effect:
  28.     Skills:
  29.        - effect:particles{p=smoke_large;amount=10;speed=0;hS=0.2;vS=0.2} @origin
  30.  
  31. ba-hit:
  32.     Skills:
  33.        - potion{type=SLOW;duration=100;level=70}
  34.  
  35. # -------------HEAVY SHOT ------------- #
  36. HeavyShot:
  37.     Skills:
  38.        - shoot{type=ARROW;velocity=2;damage=6;ot=hs-effect;onhitskill=hs-hit;} @target
  39.  
  40. hs-effect:
  41.     Skills:
  42.        - effect:particles{p=reddust;amount=10;speed=0;hS=0.2;vS=0.2} @origin
  43.  
  44. hs-hit:
  45.     Skills:
  46.        - damagepercent{p=0.2;ia=true}
  47.  
  48.  
  49. # ------------- EXECUTION ------------- #
  50.  
  51. mob-Execution:
  52.     Skills:
  53.        - SudoSkill{skill=ex-check} ~onAttack
  54.  
  55. Execution:
  56.     Skills:
  57.        - message{m="Die !"} @target
  58.         - shoot{type=ARROW;velocity=2;damage=10;ot=ex-effect;onhitskill=ex-hit;} @target
  59.  
  60. ex-effect:
  61.     Skills:
  62.        - effect:particles{p=reddust;amount=10;speed=0;hS=0.2;vS=0.2;color=000000} @origin
  63.  
  64. ex-hit:
  65.     Skills:
  66.        - SudoSkill{skill=ex-check}
  67.  
  68. ex-check:
  69.     Conditions:
  70.     Skills:
  71.        - delay 20
  72.         - message{m="HP percentage is <caster.php>"} @PlayersInRadius{r=30}
  73.         - skill{s=ex-suicide} =0%-15%
  74.  
  75. ex-suicide:
  76.     Skills:
  77.        - message{m="HP Check passed, killing the mob"} @PlayersInRadius{r=30}
  78.         - damage{amount=<caster.hp>;ignoreArmor=true}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement