This repository has been archived on 2025-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
AIDScripting/examples/skills.js
2021-01-15 20:44:31 -08:00

33 lines
No EOL
667 B
JavaScript

//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
const modifier = (text) => {
state.skills = {'turtle':1}
state.skillPoints = 1
state.disableRandomSkill = true
}
// Don't modify this part
modifier(text)