File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
main/java/ch/njol/skript/effects
test/skript/tests/syntaxes/effects Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public class EffPush extends Effect {
3030
3131 static {
3232 Skript .registerEffect (EffPush .class ,
33- "(push|thrust) %entities% [along] %direction% [(at|with) [a] (speed|velocity|force) [of] %-number%]" ,
33+ "(push|thrust|pull ) %entities% [along] %direction% [(at|with) [a] (speed|velocity|force) [of] %-number%]" ,
3434 "(push|thrust|pull) %entities% (towards|away:away from) %location% [(at|with) [a] (speed|velocity|force) [of] %-number%]" );
3535 }
3636
Original file line number Diff line number Diff line change @@ -21,4 +21,8 @@ test "pushing and pulling":
2121 push {_e} along vector(-2,-1,-1)
2222 assert {_e}'s velocity is vector(0,0,0) with "pig's velocity after push was wrong"
2323
24+ set the velocity of {_e} to vector(0,0,0)
25+ pull {_e} along vector(1,2,3)
26+ assert {_e}'s velocity is vector(1,2,3) with "pig's velocity after pull was wrong"
27+
2428 delete entity within {_e}
You can’t perform that action at this time.
0 commit comments