Akim91

Untitled

Jul 21st, 2021
1,325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.84 KB | None | 0 0
  1. #### Mob.yml #####
  2.  
  3. DeliriousLuckyMobs_Tier2_FriendlyWitch:
  4.   Type: ZOMBIE
  5.   Display: 'Friendly Witch'
  6.   Health: 300
  7.   Damage: 4
  8.   Faction: Summons
  9.   Disguise: WITCH
  10.   BossBar:
  11.     Enabled: true
  12.     Title: '&e<caster.name> &f[&a<caster.hp>&f/&a<caster.mhp>&c<&heart>&f]'
  13.   AIGoalSelectors:
  14.  - 0 clear
  15.   - 1 gotoowner 3
  16.   AITargetSelectors:
  17.  - 0 clear
  18.   - 1 OtherFactionMonsters
  19.   DamageModifiers:
  20.  - FALL 0
  21.   - SUFFOCATION 0
  22.   - DROWNING 0
  23.   Options:
  24.     MovementSpeed: 0.36
  25.     KnockbackResistance: 1
  26.     PreventItemPickup: true
  27.     PreventOtherDrops: true
  28.     PreventSunburn: true
  29.     PreventRandomEquipment: true
  30.     FollowRange: 30
  31.     Silent: true
  32.   Skills:
  33.  - setstance{stance=WALKING} @self ~onSpawn
  34.   - skill{s=DeliriousLuckyMobs_Tier2_FriendlyWitchPotion} @PIR{r=6} ~onTimer:10
  35.   - remove{delay=1200} @self ~onSpawn  #encase the mob never makes it to the player, we remove it after 1 minute
  36.  
  37. #### Skill.yml #####
  38.  
  39. 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
  40.   Skills:
  41.  - sudoskill{s=[
  42.       - summon{t=DeliriousLuckyMobs_Tier2_FriendlyWitch;a=1;r=5;os=true} @RLNTE{a=1;radius=20;minr=8;s=1}
  43.       - aura{auraName=FriendlyWitch;d=600} @self
  44.     ]} @trigger
  45.   - message{msg="A friendly witch walks toward you wanting to share her legendary potion with you"} @trigger
  46. DeliriousLuckyMobs_Tier2_FriendlyWitchPotion:
  47.   Conditions:
  48.  - stance{stance=WALKING} true
  49.   TargetConditions:
  50.  - distance{d=<6} true
  51.   Skills:
  52.   - setstance{stance=DIALOGUE} @self
  53.   - potion{t=SLOW;d=6000;l=10;hasParticles=false;hasIcon=false;force=true} @self
  54.   - sound{s=entity.witch.ambient;v=1;p=1} @self
  55.   - 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"}
  56.   - delay 40
  57.   - sound{s=entity.witch.ambient;v=1;p=1} @self
  58.   - message{msg="&f<&eFriendly Witch&f><&co> Here. Breathe in the fumes of my new Legendary Potion. You will feel invigorated!"}
  59.   - delay 40
  60.   - sound{s=entity.splash_potion.throw;v=1;p=1} @self
  61.   - missile{i=1;in=3;md=60;mr=20;v=8;syo=1;sfo=0.75;sso=0;tyo=1;par=false;pav=false;
  62.     oT=[
  63.         - particles{particle=spell_mob;hs=0.1;vs=0.1;s=1.2;y=0} @origin
  64.       ];
  65.     oE=[
  66.         - particles{particle=spell_mob;a=100;hs=1.5;vs=0.5;s=1.2;y=0} @origin
  67.         - sound{s=entity.splash_potion.break;v=1;p=1} @origin
  68.         - skill{s=[
  69.             - potion{t=ABSORPTION;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
  70.             - potion{t=REGENERATION;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
  71.             - potion{t=INCREASE_DAMAGE;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
  72.             - potion{t=DAMAGE_RESISTANCE;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
  73.             - potion{t=FIRE_RESISTANCE;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
  74.             - potion{t=FAST_DIGGING;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
  75.             - potion{t=LUCK;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
  76.             - potion{t=SPEED;duration=2400;l=4;hasParticles=true;hasIcon=true;force=true}
  77.             - delay 40
  78.             - sound{s=entity.witch.ambient;v=1;p=1} @self
  79.             - 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!"}
  80.             - delay 40
  81.             - sound{s=entity.splash_potion.break;v=1;p=1} @self
  82.             - particles{particle=reddust;color=#343434;size=4;a=80;hs=0.6;vs=0.95;y=0.75;s=0} @self
  83.             - delay 5
  84.             - remove{} @self
  85.           ]} @EntitiesNearOrigin{r=5;conditions=[  - entitytype{type=PLAYER} true ]}
  86.       ]} @PIR{r=30;conditions=[  - hasaura{name=FriendlyWitch} true ]}
Advertisement
Add Comment
Please, Sign In to add comment