removed unnecessary indents in projectile examples authored by Phillip's avatar Phillip
...@@ -114,23 +114,23 @@ This example shoots a fast-moving ball of ice that damages and slows the ...@@ -114,23 +114,23 @@ This example shoots a fast-moving ball of ice that damages and slows the
first entity it hits: first entity it hits:
**Mob File** **Mob File**
```yaml ```yaml
Mob: Mob:
Type: SKELETON Type: SKELETON
Skills: Skills:
- skill{s=IceBolt} @target ~onTimer:100 - skill{s=IceBolt} @target ~onTimer:100
``` ```
**Skills File** **Skills File**
```yaml ```yaml
IceBolt: IceBolt:
Skills: Skills:
- projectile{onTick=IceBolt-Tick;onHit=IceBolt-Hit;v=8;i=1;hR=1;vR=1;hnp=true} - projectile{onTick=IceBolt-Tick;onHit=IceBolt-Hit;v=8;i=1;hR=1;vR=1;hnp=true}
IceBolt-Tick: IceBolt-Tick:
Skills: Skills:
- effect:particles{p=snowballpoof;amount=20;speed=0;hS=0.2;vS=0.2} @origin - effect:particles{p=snowballpoof;amount=20;speed=0;hS=0.2;vS=0.2} @origin
IceBolt-Hit: IceBolt-Hit:
Skills: Skills:
- damage{a=10} - damage{a=10}
- potion{type=SLOW;duration=100;lvl=2} - potion{type=SLOW;duration=100;lvl=2}
``` ```
hitConditions usage example: hitConditions usage example:
```yaml ```yaml
... ...
......