Class: ClientManager

ClientManager


new ClientManager()

Source:

Methods


client(clientID, clientLevel)

Constructor for creating clients.

Parameters:
Name Type Description
clientID string
clientLevel number
Source:
Returns:
Type
ClientManager.client
Example
let client = new GAME.client.client('EasthollowResident', 5);

getClientExp(girlLevel, clientLevel, clientID)

Returns the amount of exp a client will give

Parameters:
Name Type Description
girlLevel number
clientLevel number
clientID string
Source:
Returns:
Type
number

getClientGold(clientID [, clientLevel])

Returns the amount of gold a client will give

Parameters:
Name Type Argument Description
clientID string
clientLevel number <optional>

If you want to scale the gold based on the clients level

Source:
Returns:
Type
number

getClientObj(clientID)

Returns the object list of all clients

Parameters:
Name Type Description
clientID
Source:
Returns:
Type
Object

getClientPack()

Generates an array of clients that could have been summoned with the current reputation

Source:

getGoldMultipler()

Returns the gold multiplier which is used to increase the amount of gold a client gives based on their level

Source:
Returns:
Type
number

guyDrops(clientID)

Parameters:
Name Type Description
clientID string
Source:

setGoldMultipler(amount)

Sets the gold multiplier

Parameters:
Name Type Description
amount number
Source:

Type Definitions


client

Type:
  • object
Properties:
Name Type Description
ID string

Client ID

Name string

Client's name

Combo Array.<BattleManager.comboObj>

Current battle combo for this client

Cum number

How close a client is to cumming (0-100)

Level number

client level

Status array

Client's status effects

Source:

clientObj

Type:
  • object
Properties:
Name Type Description
Name string

Full name of client

ID string

ID of client

Region string

Region of client

Gold number

Gold given if client cums in a battle

Level number

Level of client

BaseLevel number

Level used for determining min and max gold/exp

Difficulty number

How easy it is to make this client cum, higher is harder, 50 is default

Source: