Other great resources: Official JS API docs, Scripting Forum
setExperienceModifier()
Set the rate at which droids gain experience...
Syntax
setExperienceModifier(player, percent)Parameters
Parameter | Type | Mandatory | Notes | Game Version |
|---|---|---|---|---|
player | Number | The player who's droid's will be affected | 3.2 | |
percent | Number | The percentage at which droids will gain experience | 3.2 |
Return values
Value | Type | Notes | Game Version |
|---|---|---|---|
3.2 | |||
<error> | Error | Invalid parameters. | 3.2 |
Example
setExperienceModifier(me, 40); // my droids gain at 40%