simplify example
This commit is contained in:
parent
ffb6039536
commit
a4dd047b32
1 changed files with 1 additions and 22 deletions
|
@ -1,27 +1,6 @@
|
|||
//input modifiers to set up skills
|
||||
|
||||
|
||||
//EXAMPLE 1
|
||||
//creates skills with 0 skill points
|
||||
const modifier = (text) => {
|
||||
state.skills = {'turtle':1}
|
||||
}
|
||||
|
||||
// Don't modify this part
|
||||
modifier(text)
|
||||
|
||||
//EXAMPLE 2
|
||||
//creates skills with 1 skill point
|
||||
const modifier = (text) => {
|
||||
state.skills = {'turtle':1}
|
||||
state.skillPoints = 1
|
||||
}
|
||||
|
||||
// Don't modify this part
|
||||
modifier(text)
|
||||
|
||||
//EXAMPLE 3
|
||||
//creates skills with 5 skill points and
|
||||
//creates skills with 5 skill points (for input modifier)
|
||||
const modifier = (text) => {
|
||||
state.skills = {'turtle':1}
|
||||
state.skillPoints = 1
|
||||
|
|
Reference in a new issue