Guest User

Untitled

a guest
Oct 11th, 2018
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.83 KB | None | 0 0
  1. SentryCannonSmall:
  2.   Type: skeleton
  3.   Display: '&CSentry Cannon - Small'
  4.   Faction: NeutralOrFriendly
  5.   Disguise.Type: skeleton
  6.   Disguise:
  7.     Invisible: true
  8.   Health: 30
  9.   Damage: 0
  10.   Skills:
  11.  - effect:sound{s=servo_motor;volume=0.5;pitch=1.0} @Self ~onTimer:300
  12.   - skill{s=FireSentryCannonSmall} @Target ~onTimer:100
  13.   - skill{s=Invisibility} @Self ~onTimer:200
  14.   - skill{s=SentryEffect} @Self ~onTimer:10
  15.   - heal{amount=2} @self ~onTimer:200
  16.   - skill{s=SentrySetOwner} @trigger ~onInteract
  17.   - potion{t=INVISIBILITY;duration=2147483647;l=1} @Self ~onSpawn
  18.   - effect:particles{particle=cloud;amount=13;hS=0.2;vS=0.2;speed=0.1;y=1} @self ~onSpawn
  19.   - skill{s=RedeploySentrySmallCannon} @trigger ~onInteract
  20.   Equipment:
  21.  - SentryCannonSmall:4
  22.   - air:1
  23.   - air:2
  24.   - air:3
  25.   Drops:
  26.  - SentryGunDrop
  27.   Options:
  28.     Despawn: false
  29.     Persistent: true
  30.     MovementSpeed: 0.005
  31.     Silent: true
  32.     KnockbackResistance: 1
  33.     PreventRandomEquipment: true
  34.     FollowRange: 40
  35.     Invisible: true
  36.     PreventLeashing: false
  37. #  Modules:
  38. #    ThreatTable: true
  39.   AIGoalSelectors:
  40.  - 0 skeletonbowattack
  41.   AITargetSelectors:
  42.  - 0 clear
  43.   - 1 ownerattacker  
  44.   - 2 ownertarget
  45.   - 3 otherfactionmonsters
  46.   KillMessages:
  47.  - '<target.name>&e was killed by a small Sentry Cannon'
  48.  
  49.  
  50. FireSentryCannonSmall:
  51.   Cooldown: 1
  52.   Skills:
  53.  - effect:sound{s=beep_beep;volume=2.0;pitch=1.0} @Self
  54.   - delay 15
  55.   - projectile{ontick=SentryCannon_small_Tick;onhit=SentryCannon_small_Hit;onend=SentryCannon_small_Hit;hitnonplayers=true;velocity=60;i=1;horizontalradius=1.0;verticalradius=1.0;startfoffset=1.4;startyoffset=1.5;duration=300;horizontalradius=1.0;verticalradius=1.5;maxrange=100;gravity=0.2}
  56.   - effect:sound{s=recoiless;volume=1.2;pitch=0.9}
  57.   TargetConditions:
  58.  - entitytype player false
  59.   - lineofsight true
Add Comment
Please, Sign In to add comment