Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### Mob.yml #####
- DeliriousLuckyMobs_Tier2_FriendlyWitch:
- Type: ZOMBIE
- Display: 'Friendly Witch'
- Health: 300
- Damage: 4
- Faction: Summons
- Disguise: WITCH
- BossBar:
- Enabled: true
- Title: '&e<caster.name> &f[&a<caster.hp>&f/&a<caster.mhp>&c<&heart>&f]'
- AIGoalSelectors:
- - 0 clear
- - 1 gotoowner 3
- AITargetSelectors:
- - 0 clear
- - 1 OtherFactionMonsters
- DamageModifiers:
- - FALL 0
- - SUFFOCATION 0
- - DROWNING 0
- Options:
- MovementSpeed: 0.36
- KnockbackResistance: 1
- PreventItemPickup: true
- PreventOtherDrops: true
- PreventSunburn: true
- PreventRandomEquipment: true
- FollowRange: 30
- Silent: true
- Skills:
- - setstance{stance=WALKING} @self ~onSpawn
- - skill{s=DeliriousLuckyMobs_Tier2_FriendlyWitchPotion} @PIR{r=6} ~onTimer:10
- - remove{delay=1200} @self ~onSpawn #encase the mob never makes it to the player, we remove it after 1 minute
- #### Skill.yml #####
- DeliriousLuckyMobs_Tier2_FriendlyWitch: # a witch spawns and walks up to the player, then throws a super splash potion at them giving them insane buffs for 2 minutes
- Skills:
- - sudoskill{s=[
- - summon{t=DeliriousLuckyMobs_Tier2_FriendlyWitch;a=1;r=5;os=true} @RLNTE{a=1;radius=20;minr=8;s=1}
- - aura{auraName=FriendlyWitch;d=600} @self
- ]} @trigger
- - message{msg="A friendly witch walks toward you wanting to share her legendary potion with you"} @trigger
- DeliriousLuckyMobs_Tier2_FriendlyWitchPotion:
- Conditions:
- - stance{stance=WALKING} true
- TargetConditions:
- - distance{d=<6} true
- Skills:
- - setstance{stance=DIALOGUE} @self
- - potion{t=SLOW;d=6000;l=10;hasParticles=false;hasIcon=false;force=true} @self
- - sound{s=entity.witch.ambient;v=1;p=1} @self
- - message{msg="&f<&eFriendly Witch&f><&co> Hello my friend. It is good to see you. I Have something I would like to share with you"}
- - delay 40
- - sound{s=entity.witch.ambient;v=1;p=1} @self
- - message{msg="&f<&eFriendly Witch&f><&co> Here. Breathe in the fumes of my new Legendary Potion. You will feel invigorated!"}
- - delay 40
- - sound{s=entity.splash_potion.throw;v=1;p=1} @self
- - missile{i=1;in=3;md=60;mr=20;v=8;syo=1;sfo=0.75;sso=0;tyo=1;par=false;pav=false;
- oT=[
- - particles{particle=spell_mob;hs=0.1;vs=0.1;s=1.2;y=0} @origin
- ];
- oE=[
- - particles{particle=spell_mob;a=100;hs=1.5;vs=0.5;s=1.2;y=0} @origin
- - sound{s=entity.splash_potion.break;v=1;p=1} @origin
- - skill{s=[
- - potion{t=ABSORPTION;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
- - potion{t=REGENERATION;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
- - potion{t=INCREASE_DAMAGE;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
- - potion{t=DAMAGE_RESISTANCE;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
- - potion{t=FIRE_RESISTANCE;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
- - potion{t=FAST_DIGGING;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
- - potion{t=LUCK;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
- - potion{t=SPEED;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
- - delay 40
- - sound{s=entity.witch.ambient;v=1;p=1} @self
- - message{msg="&f<&eFriendly Witch&f><&co> How do you feel my friend? Amazing right? Well.. I'll see you later. I must get back to my work!"}
- - delay 40
- - sound{s=entity.splash_potion.break;v=1;p=1} @self
- - particles{particle=reddust;color=#343434;size=4;a=80;hs=0.6;vs=0.95;y=0.75;s=0} @self
- - delay 5
- - remove{} @self
- ]} @EntitiesNearOrigin{r=5;conditions=[ - entitytype{type=PLAYER} true ]}
- ]} @PIR{r=30;conditions=[ - hasaura{name=FriendlyWitch} true ]}
Advertisement
Add Comment
Please, Sign In to add comment