Mechanic
sudoskill
Forces the inherited target to execute the skill at the targeted entity
Aliases
sudo
Examples & Notes
Examples
# Mob File
SudoMonkey:
Type: villager
Display: 'a Villager'
Skills:
- sudoskill{s=ExampleSudoskill;cat=true} @trigger ~onDamaged
# Skills file
ExampleSudoskill:
Skills:
- arrowvolley{a=20;s=25;v=10;f=50;rd=200} @EIR{r=30}
- message{msg="Triggername<&co> <trigger.name>"} @world
This metaskill will make every entity in a 20 block radius from the caster summon a particle effect. Because of the target attribute, the inherited target of the metaskill will be the player that is nearest to the caster in a 30 blocks radius
ExampleTargetSkill:
Skills:
- sudoskill{
target=@NearestPlayer{r=30};
s=[
- effect:particles
]} @EIR{r=20}
Universal Mechanic Options
- Author:
- Ashijin
