ship:
  Faction: salazar
  Type: SKELETON 
  Display: '&3&lSalazar' 
  Health: 600
  Modules:
    ThreatTable: false
  BossBar:
    Enabled: true
    Title: '&3&lSalazar &c<&heart> <caster.hp{round=1}>/<caster.mhp>'
    Range: 20
    Color: RED
    Style: SEGMENTED_10
    DarkenSky: false
    CreateFog: false
  Equipment:
  - ship HEAD
  - shipCHESTPLATE CHEST
  - shipLEGGINGS LEGS
  - air HAND
  Options:
    PreventOtherDrops: true
    KnockbackResistance: 0,01
    Despawn: false
    PreventSunburn: true
    Silent: true
    MinimumAttackRange: 30
    FollowRange: 10
    AttackSpeed: 20
    MaxCombatDistance: 5
    MovementSpeed: 0.26
    KnockbackResistance: 0.6
    DigOutOfGround: true
    ScoreMessage: true
  Skills:
  - effect:bloodyScreen{d=25} @PIR{r=5} ~onTimer:20
  - velocity{m=set;x=0;y=0;z=0} @self ~onDamaged
  - shootpotion{type=POISON;duration=200;level=3;velocity=5} @PIR{r=5} ~onTimer:400
  - summon{type=cb_phantom;amount=1;radius=4;if=false} @Self ~onDamaged ?~isPlayer 0.05 
  - effect:particlering{particle=bubble_column;radius=1} @self ~onDamaged 1
  - potion{type=CONFUSION;d=400;l=9} @PIR{r=5} ~onTimer:200
  - sound{minecraft:entity.drowned.hurt_water;v=0.5;p=2;} @self ~onDamaged 1
  - potion{type=SLOW;d=400;l=0} @PIR{r=10} ~onTimer:400
  - damage{a=12} @PIR{r=5} ~onDamaged
  - setname{name=<caster.name>;delay=2} @self ~onDamaged
  - setname{name=<caster.name>;delay=2} @self ~onTimer:10 ?incombat{}
  - effect:particleorbital{r=1;points=16;t=50;i=1;vy=20;p=composter} @self ~onTimer:1200 1
  - heal{amount=50} @self ~onTimer:1200 1