Legend of the Green Dragon

NewDayTrait

Table of Contents

$battle  : mixed
$buffer  : mixed
$sanitize  : mixed
$tool  : mixed
setBattle()  : self
setBuffer()  : self
setSanitize()  : self
setTool()  : self
newDay()  : mixed
checkHaunted()  : void
generateNewGameDay()  : void
proccessBuffs()  : void
proccessTurns()  : void
resurrection()  : void

Properties

Methods

setBattle()

public setBattle(Battle $battle) : self
Parameters
$battle : Battle
Tags
required
Return values
self —

setBuffer()

public setBuffer(Buffer $buffer) : self
Parameters
$buffer : Buffer
Tags
required
Return values
self —

setTool()

public setTool(Tool $tool) : self
Parameters
$tool : Tool
Tags
required
Return values
self —

newDay()

protected newDay(array<string|int, mixed> &$params, mixed $resurrection) : mixed
Parameters
$params : array<string|int, mixed>
$resurrection : mixed
Return values
mixed —

checkHaunted()

private checkHaunted(array<string|int, mixed> &$params, mixed &$turnstoday) : void
Parameters
$params : array<string|int, mixed>
$turnstoday : mixed
Return values
void —

generateNewGameDay()

private generateNewGameDay() : void
Return values
void —

proccessBuffs()

private proccessBuffs(array<string|int, mixed> &$params, mixed &$dkff) : void
Parameters
$params : array<string|int, mixed>
$dkff : mixed
Return values
void —

proccessTurns()

private proccessTurns(array<string|int, mixed> &$params, mixed &$dkff) : void
Parameters
$params : array<string|int, mixed>
$dkff : mixed
Return values
void —

resurrection()

private resurrection(array<string|int, mixed> &$params, mixed &$resurrectionturns, mixed &$spirits, mixed $dkff, mixed $resurrection) : void
Parameters
$params : array<string|int, mixed>
$resurrectionturns : mixed
$spirits : mixed
$dkff : mixed
$resurrection : mixed
Return values
void —

Search results