File tree Expand file tree Collapse file tree
src/main/java/ch/njol/skript/effects Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 "Copies objects into a variable. When copying a list over to another list, the source list and its sublists are also copied over." ,
2727 "<strong>Note: Copying a value into a variable/list will overwrite the existing data.</strong>"
2828})
29- @ Example ("set {_foo::bar} to 1" )
30- @ Example ("set {_foo::sublist::foobar} to \" hey\" " )
31- @ Example ("copy {_foo::*} to {_copy::*}" )
32- @ Example ("broadcast indices of {_copy::*} # bar, sublist" )
33- @ Example ("broadcast {_copy::bar} # 1" )
34- @ Example ("broadcast {_copy::sublist::foobar} # \" hey!\" " )
29+ @ Example ("""
30+ set {_foo::bar} to 1
31+ set {_foo::sublist::foobar} to "hey"
32+ copy {_foo::*} to {_copy::*}"
33+ broadcast indices of {_copy::*} # bar, sublist
34+ broadcast {_copy::bar} # 1
35+ broadcast {_copy::sublist::foobar} # "hey!"
36+ """ )
3537@ Since ("2.8.0" )
3638@ Keywords ({"clone" , "variable" , "list" })
3739public class EffCopy extends Effect {
You can’t perform that action at this time.
0 commit comments