Advertisement
Guest User

Untitled

a guest
Aug 17th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. -----------------------------mobs.yml-----------------------------
  2.  
  3. Minerai_Fer:
  4. Mobtype: ZOMBIE
  5. Display: '&eMinerai de Fer &c<caster.hp>/<caster.mhp>'
  6. Health: 11
  7. Options:
  8. PreventRandomEquipment: true
  9. PreventOtherDrops: true
  10. Silent: true
  11. NoAI: true
  12. PreventJockeyMounts: true
  13. PreventTransformation: true
  14. Skills:
  15. - setname{name="&eMinerai de Fer &c<caster.hp>/<caster.mhp>"} @self ~onTimer:5
  16. - model{mid=minerai_fer;n=true} @self ~onSpawn
  17. - skill{s=HitMinerais;sync=true} ~onDamaged
  18. - dropitem{i=iron_ingot} @self ~onSignal:DROP
  19.  
  20. -----------------------------skills.yml-----------------------------
  21. HitMinerais:
  22. TriggerConditions:
  23. - holding{m=WOODEN_AXE} cast HitMinerais2
  24. - holding{m=IRON_AXE} cast HitMinerais3
  25. Skills:
  26. - CancelEvent
  27.  
  28. HitMinerais2:
  29. Skills:
  30. - damage{a=1;ia=true} @self
  31. - signal{s=DROP} @self
  32.  
  33. HitMinerais3:
  34. Skills:
  35. - damage{a=4;ia=true} @self
  36. - signal{s=DROP} @self
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement