Advertisement
Akim91

Untitled

Jan 21st, 2021
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. ##### MOB FILE YML ########
  2.  
  3. TestMob1:
  4. Type: ZOMBIE
  5. Options.PreventSunburn: true
  6. Health: 100
  7. Skills:
  8. - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=1;color=WHITE;style=SEGMENTED_4} @self ~onSpawn
  9. - skill{s=ZombieBarWhiteUpdate} @self ~onDamaged >90%
  10. - skill{s=ZombieBarGreenUpdate} @self ~onDamaged =51%-90%
  11. - skill{s=ZombieBarYellowUpdate} @self ~onDamaged =21%-50%
  12. - skill{s=ZombieBarRedUpdate;delay=2} @self ~onDamaged <21%
  13.  
  14. ######## SKILL FILE YML #########
  15.  
  16. ZombieBarWhiteUpdate:
  17. Skills:
  18. - barRemove{name='ZombieRadioattivo';delay=2}
  19. - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=1.0;color=WHITE;style=SEGMENTED_4;delay=3} @self
  20. ZombieBarGreenUpdate:
  21. Skills:
  22. - barRemove{name='ZombieRadioattivo'}
  23. - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=0.9;color=GREEN;style=SEGMENTED_4;delay=1} @self
  24. ZombieBarYellowUpdate:
  25. Skills:
  26. - barRemove{name='ZombieRadioattivo'}
  27. - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=0.5;color=YELLOW;style=SEGMENTED_4;delay=1} @self
  28. ZombieBarRedUpdate:
  29. Conditions:
  30. - health{h=<1} castinstead ZombieBarRemove
  31. Skills:
  32. - barRemove{name='ZombieRadioattivo'}
  33. - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=0.2;color=RED;style=SEGMENTED_4;delay=1} @self
  34. ZombieBarRemove:
  35. Skills:
  36. - barRemove{name='ZombieRadioattivo'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement