Classes

Concepts

Libraries

advertisement »

ambientSounds »

bitser »

contentPoints »

eventBoxText »

factValidity »

frameBuffer »

officeBuildingInserter »

priorityRenderer »

randomEvents »

scaling »

spritesheetParser »

statusIcons »

test3 »

util »

Objects

createPracticeTask

Description

Creates a practice skill task.

Arguments

1 string skillID

the skill to practice.

2 number expMin

the minimum amount of experience to give per training session.

3 number expMax

the maximum amount of experience to give per training session.

4 number practiceMin

the minimum amount of time for one practice session.

5 number practiceMax

the maximum amount of time for one practice session.

6 number sessions

amount of practice sessions it will have. Setting it to -1 will make it have infinite sessions. Defaults to -1.

Returns

1 practice_skill

the newly-created skill practice task.