Class: Battle

Battle


new Battle( [girlArray] [, difficulty] [, parameters])

Parameters:
Name Type Argument Default Description
girlArray Array.<string> <optional>
difficulty 'Easy' | 'Normal' | 'Hard' <optional>
"Easy"
parameters * <optional>
Source:
Returns:
Type
Battle

Methods


addClient(client)

Parameters:
Name Type Description
client BattleClient

BattleClient

Source:

addClients(clients)

Parameters:
Name Type Description
clients Array.<BattleClient>
Source:
Returns:
Type
Battle

effectGirl(girlID, BattleEffect)

Parameters:
Name Type Description
girlID string
BattleEffect BattleEffect
Source:

fuck(girl, client)

Parameters:
Name Type Description
girl string
client BattleClient
Source:
Returns:
Type
null

getActiveGirls()

Returns the girls that have stamina

Source:
Returns:
Type
Array.<string>

getClientByGirl(girlID)

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
boolean | BattleClient

getClientByGUID(clientGUID)

Parameters:
Name Type Description
clientGUID
Source:
Returns:
Type
* | boolean

getEffect(girlID)

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
boolean

getTrap(girlID)

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
boolean

getUltimate(girlID)

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
boolean

getUltimateEffect(girlID)

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
BattleEffect

isEffected(girlID)

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
boolean

isTrapped(girlID)

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
boolean

isUltimating(girlID)

Parameters:
Name Type Description
girlID string
Source:
Returns:
Type
boolean

loseBattle()

To manually lose the battle at any point

Source:

numActiveClients()

Returns a number of active clients

Source:
Returns:
Type
number

removeEffect(girlID)

Parameters:
Name Type Description
girlID string
Source:

removeTrap(girlID)

Parameters:
Name Type Description
girlID string
Source:

removeUltimate(girlID)

Parameters:
Name Type Description
girlID string
Source:

stopFuckingClient(client)

Parameters:
Name Type Description
client
Source:

trapGirl(girlID, BattleEffect)

Parameters:
Name Type Description
girlID string
BattleEffect BattleEffect
Source:

ultimateGirl(girlID)

Parameters:
Name Type Description
girlID string
Source:

useUltimate(girlID)

Parameters:
Name Type Description
girlID string
Source:

winBattle()

To manually win the battle at any point

Source: