Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##### MOB FILE YML ########
- TestMob1:
- Type: ZOMBIE
- Options.PreventSunburn: true
- Health: 100
- Skills:
- - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=1;color=WHITE;style=SEGMENTED_4} @self ~onSpawn
- - skill{s=ZombieBarWhiteUpdate} @self ~onDamaged >90%
- - skill{s=ZombieBarGreenUpdate} @self ~onDamaged =51%-90%
- - skill{s=ZombieBarYellowUpdate} @self ~onDamaged =21%-50%
- - skill{s=ZombieBarRedUpdate;delay=2} @self ~onDamaged <21%
- ######## SKILL FILE YML #########
- ZombieBarWhiteUpdate:
- Skills:
- - barRemove{name='ZombieRadioattivo';delay=2}
- - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=1.0;color=WHITE;style=SEGMENTED_4;delay=3} @self
- ZombieBarGreenUpdate:
- Skills:
- - barRemove{name='ZombieRadioattivo'}
- - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=0.9;color=GREEN;style=SEGMENTED_4;delay=1} @self
- ZombieBarYellowUpdate:
- Skills:
- - barRemove{name='ZombieRadioattivo'}
- - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=0.5;color=YELLOW;style=SEGMENTED_4;delay=1} @self
- ZombieBarRedUpdate:
- Conditions:
- - health{h=<1} castinstead ZombieBarRemove
- Skills:
- - barRemove{name='ZombieRadioattivo'}
- - barCreate{name='ZombieRadioattivo';display='&aZombie Radioattivo';value=0.2;color=RED;style=SEGMENTED_4;delay=1} @self
- ZombieBarRemove:
- Skills:
- - barRemove{name='ZombieRadioattivo'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement