Advertisement
Guest User

mm bad dreams

a guest
Oct 20th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.15 KB | None | 0 0
  1. BadDreams:
  2.   Cooldown: 5
  3.   TargetConditions:
  4.  - HasTag{t=IsSleeping} cancel
  5.   - HasTag{t=SleepImmune} cancel
  6.   Conditions:
  7.  - wearing{slot=chestplate;mmitem=DarkraiChestplate} true
  8.   - wearing{slot=leggings;mmitem=DarkraiLeggings} true
  9.   #- wearing{slot=helmet;mmitem=DarkraiHelmet} true
  10.   - wearing{slot=boots;mmitem=DarkraiBoots} true
  11.   Skills:
  12.  - aura{auraName=BadDreams;CancelOnTakeDamage=true;onTick=SleepTick;Interval=20;onStart=SleepOn;onEnd=SleepOff;duration=120;refreshDuration=true}
  13. SleepOn:
  14.   Skills:
  15.  - TagAdd{t=IsSleeping}
  16. SleepTick:
  17.   Skills:
  18.  - potion{t=SLOW;d=40;l=10;force=true}
  19.   - potion{t=JUMP;d=40;l=-3;force=true}
  20.   - effect:particles{p=magicCrit;a=10;hs=0.1;vs=0.1;yOffset=2.5}
  21. SleepOff:
  22.   Skills:
  23.  - TagRemove{t=IsSleeping}
  24. BadDreamsDamage:
  25.   TargetConditions:
  26.  - HasTag{t=IsSleeping}
  27.   Conditions:
  28.  - wearing{slot=chestplate;mmitem=DarkraiChestplate} true
  29.   - wearing{slot=leggings;mmitem=DarkraiLeggings} true
  30.   #- wearing{slot=helmet;mmitem=DarkraiHelmet} true
  31.   - wearing{slot=boots;mmitem=DarkraiBoots} true
  32.   Skills:
  33.  - healpercent{m=0.25} @Self
  34.   - damage{a=4;element=DARKTYPE}
  35.   - TagRemove{t=IsSleeping}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement