2005 lines
90 KiB
HTML
2005 lines
90 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Documentation</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<base href="../">
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
<link rel="stylesheet" href="css/normalize.css">
|
|
<link rel="stylesheet" href="css/base.css">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/template.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
<script src="js/search.js"></script>
|
|
<script defer src="js/searchIndex.js"></script>
|
|
</head>
|
|
<body id="top">
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
|
<i class="fas fa-bars"></i>
|
|
</label>
|
|
<section data-search-form class="phpdocumentor-search">
|
|
<label>
|
|
<span class="visually-hidden">Search for</span>
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
|
</svg>
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
|
</label>
|
|
</section>
|
|
|
|
<nav class="phpdocumentor-topnav">
|
|
<ul class="phpdocumentor-topnav__menu">
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="phpdocumentor">
|
|
<div class="phpdocumentor-section">
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
|
Menu
|
|
</label>
|
|
<aside class="phpdocumentor-column -four phpdocumentor-sidebar">
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/lotgd.html">LotGD</a></h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/lotgd-core.html">Core</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</section>
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace"><a href="packages/Application.html">Application</a></h4>
|
|
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
|
</section>
|
|
</aside>
|
|
|
|
<div class="phpdocumentor-column -eight phpdocumentor-content">
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/lotgd.html">LotGD</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/lotgd-core.html">Core</a></li>
|
|
</ul>
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
<h2 class="phpdocumentor-content__title">
|
|
BuffList
|
|
|
|
|
|
<div class="phpdocumentor-element__package">
|
|
in package
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</h2>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">23</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Description of BuffList.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h3>
|
|
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_activeBuffs">$activeBuffs</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_badguyAttackModifier">$badguyAttackModifier</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_badguyDamageModifier">$badguyDamageModifier</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_badguyDefenseModifier">$badguyDefenseModifier</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_badguyInvulnurable">$badguyInvulnurable</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>True if the badguy is invulnurable</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_buffs">$buffs</a>
|
|
<span>
|
|
: <abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr> </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_buffsBySlot">$buffsBySlot</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_events">$events</a>
|
|
<span>
|
|
: <abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr> </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_goodguyAttackModifier">$goodguyAttackModifier</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_goodguyDamageModifier">$goodguyDamageModifier</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_goodguyDefenseModifier">$goodguyDefenseModifier</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_goodguyInvulnurable">$goodguyInvulnurable</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_loaded">$loaded</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_modifiersCalculated">$modifiersCalculated</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>True of the modifiers have already been calculated</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#property_usedBuffs">$usedBuffs</a>
|
|
<span>
|
|
: <abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr> </span>
|
|
</dt>
|
|
<dd></dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Initiates some variables.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_activate">activate()</a>
|
|
<span>
|
|
: <abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr> </span>
|
|
</dt>
|
|
<dd>Activates all buffs that activate upon the given activation parameter.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_add">add()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Adds a buff to the buff list, occupying the slot.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_badguyIsInvulnurable">badguyIsInvulnurable()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the badguy is invulnurable.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_expireOneRound">expireOneRound()</a>
|
|
<span>
|
|
: <abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr> </span>
|
|
</dt>
|
|
<dd>Decreases the rounds left on all used buffs.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getBadguyAttackModifier">getBadguyAttackModifier()</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd>Returns the badguy attack modifier calculated over the whole bufflist.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getBadguyDamageModifier">getBadguyDamageModifier()</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd>Returns the badguy damage modifier calculated over the whole bufflist.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getBadguyDefenseModifier">getBadguyDefenseModifier()</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd>Returns the badguy defense modifier calculated over the whole bufflist.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getGoodguyAttackModifier">getGoodguyAttackModifier()</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd>Returns the badguy attack modifier calculated over the whole bufflist.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getGoodguyDamageModifier">getGoodguyDamageModifier()</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd>Returns the badguy damage modifier calculated over the whole bufflist.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getGoodguyDefenseModifier">getGoodguyDefenseModifier()</a>
|
|
<span>
|
|
: float </span>
|
|
</dt>
|
|
<dd>Returns the badguy defense modifier calculated over the whole bufflist.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_goodguyIsInvulnurable">goodguyIsInvulnurable()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the goodguy is invulnurable.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_hasBuffsInUse">hasBuffsInUse()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns whether any buffs are in use.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_loadBuffs">loadBuffs()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Loads all buffs (since it's a lazy correlation).</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_processDamageDependentBuffs">processDamageDependentBuffs()</a>
|
|
<span>
|
|
: <abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr> </span>
|
|
</dt>
|
|
<dd>Processes buffs that are dependant on the damage done in one round.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_processDirectBuffs">processDirectBuffs()</a>
|
|
<span>
|
|
: <abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr> </span>
|
|
</dt>
|
|
<dd>Processes buffs that do direct damage or regeneration.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_remove">remove()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Removes a buff from the buff list.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_renew">renew()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Renews a buff.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_resetBuffUsage">resetBuffUsage()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Resets the buff usage for a new round.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_calculateModifiers">calculateModifiers()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Calculates all total modifiers.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getBuffMessage">getBuffMessage()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Returns the buff's start or round message.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_hasBuffBeenUsed">hasBuffBeenUsed()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Returns true if the given buff has already been used this round.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_iterateBuffList">iterateBuffList()</a>
|
|
<span>
|
|
: <abbr title="\LotGD\Core\Generator">Generator</abbr>|array<string|int, <abbr title="\LotGD\Core\Model\Buff">Buff</abbr>> </span>
|
|
</dt>
|
|
<dd>Iterates over every buff that gets activated at one point during a round.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/LotGD-Core-BuffList.html#method_useBuff">useBuff()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Marks the given buff as used.</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/LotGD-Core-BuffList.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_activeBuffs">
|
|
$activeBuffs
|
|
<a href="classes/LotGD-Core-BuffList.html#property_activeBuffs" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">26</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
|
<span class="phpdocumentor-signature__name">$activeBuffs</span>
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_badguyAttackModifier">
|
|
$badguyAttackModifier
|
|
<a href="classes/LotGD-Core-BuffList.html#property_badguyAttackModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">35</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">float</span>
|
|
<span class="phpdocumentor-signature__name">$badguyAttackModifier</span>
|
|
= <span class="phpdocumentor-signature__default-value">1.0</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_badguyDamageModifier">
|
|
$badguyDamageModifier
|
|
<a href="classes/LotGD-Core-BuffList.html#property_badguyDamageModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">34</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">float</span>
|
|
<span class="phpdocumentor-signature__name">$badguyDamageModifier</span>
|
|
= <span class="phpdocumentor-signature__default-value">1.0</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_badguyDefenseModifier">
|
|
$badguyDefenseModifier
|
|
<a href="classes/LotGD-Core-BuffList.html#property_badguyDefenseModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">36</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">float</span>
|
|
<span class="phpdocumentor-signature__name">$badguyDefenseModifier</span>
|
|
= <span class="phpdocumentor-signature__default-value">1.0</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_badguyInvulnurable">
|
|
$badguyInvulnurable
|
|
<a href="classes/LotGD-Core-BuffList.html#property_badguyInvulnurable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">32</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">True if the badguy is invulnurable</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$badguyInvulnurable</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_buffs">
|
|
$buffs
|
|
<a href="classes/LotGD-Core-BuffList.html#property_buffs" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">50</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span>
|
|
<span class="phpdocumentor-signature__name">$buffs</span>
|
|
</code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_buffsBySlot">
|
|
$buffsBySlot
|
|
<a href="classes/LotGD-Core-BuffList.html#property_buffsBySlot" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">25</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
|
<span class="phpdocumentor-signature__name">$buffsBySlot</span>
|
|
</code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_events">
|
|
$events
|
|
<a href="classes/LotGD-Core-BuffList.html#property_events" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">42</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></span>
|
|
<span class="phpdocumentor-signature__name">$events</span>
|
|
</code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_goodguyAttackModifier">
|
|
$goodguyAttackModifier
|
|
<a href="classes/LotGD-Core-BuffList.html#property_goodguyAttackModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">39</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">float</span>
|
|
<span class="phpdocumentor-signature__name">$goodguyAttackModifier</span>
|
|
= <span class="phpdocumentor-signature__default-value">1.0</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_goodguyDamageModifier">
|
|
$goodguyDamageModifier
|
|
<a href="classes/LotGD-Core-BuffList.html#property_goodguyDamageModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">38</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">float</span>
|
|
<span class="phpdocumentor-signature__name">$goodguyDamageModifier</span>
|
|
= <span class="phpdocumentor-signature__default-value">1.0</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_goodguyDefenseModifier">
|
|
$goodguyDefenseModifier
|
|
<a href="classes/LotGD-Core-BuffList.html#property_goodguyDefenseModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">40</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">float</span>
|
|
<span class="phpdocumentor-signature__name">$goodguyDefenseModifier</span>
|
|
= <span class="phpdocumentor-signature__default-value">1.0</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_goodguyInvulnurable">
|
|
$goodguyInvulnurable
|
|
<a href="classes/LotGD-Core-BuffList.html#property_goodguyInvulnurable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">37</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$goodguyInvulnurable</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_loaded">
|
|
$loaded
|
|
<a href="classes/LotGD-Core-BuffList.html#property_loaded" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">43</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$loaded</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_modifiersCalculated">
|
|
$modifiersCalculated
|
|
<a href="classes/LotGD-Core-BuffList.html#property_modifiersCalculated" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">30</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">True of the modifiers have already been calculated</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$modifiersCalculated</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_usedBuffs">
|
|
$usedBuffs
|
|
<a href="classes/LotGD-Core-BuffList.html#property_usedBuffs" class="headerlink"><i class="fas fa-link"></i></a>
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">27</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></span>
|
|
<span class="phpdocumentor-signature__name">$usedBuffs</span>
|
|
</code>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
<section class="phpdocumentor-description"></section>
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/LotGD-Core-BuffList.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h3>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
|
__construct()
|
|
<a href="classes/LotGD-Core-BuffList.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">49</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Initiates some variables.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr> </span><span class="phpdocumentor-signature__argument__name">$buffs</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$buffs</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_activate">
|
|
activate()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_activate" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">138</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Activates all buffs that activate upon the given activation parameter.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">activate</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$activation</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$activation</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/LotGD-Core-Exceptions-ArgumentException.html"><abbr title="\LotGD\Core\Exceptions\ArgumentException">ArgumentException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/LotGD-Core-Exceptions-BuffListAlreadyActivatedException.html"><abbr title="\LotGD\Core\Exceptions\BuffListAlreadyActivatedException">BuffListAlreadyActivatedException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_add">
|
|
add()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_add" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">219</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds a buff to the buff list, occupying the slot.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">add</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$buff</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$buff</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/LotGD-Core-Exceptions-BuffSlotOccupiedException.html"><abbr title="\LotGD\Core\Exceptions\BuffSlotOccupiedException">BuffSlotOccupiedException</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>if the slot is already occupied. Use renew instead.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_badguyIsInvulnurable">
|
|
badguyIsInvulnurable()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_badguyIsInvulnurable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">329</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the badguy is invulnurable.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">badguyIsInvulnurable</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_expireOneRound">
|
|
expireOneRound()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_expireOneRound" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">178</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Decreases the rounds left on all used buffs.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">expireOneRound</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>A Collection containing expire messages (if there are any)</p>
|
|
</section>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getBadguyAttackModifier">
|
|
getBadguyAttackModifier()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getBadguyAttackModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">299</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the badguy attack modifier calculated over the whole bufflist.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getBadguyAttackModifier</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">float</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getBadguyDamageModifier">
|
|
getBadguyDamageModifier()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getBadguyDamageModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">319</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the badguy damage modifier calculated over the whole bufflist.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getBadguyDamageModifier</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">float</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getBadguyDefenseModifier">
|
|
getBadguyDefenseModifier()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getBadguyDefenseModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">309</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the badguy defense modifier calculated over the whole bufflist.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getBadguyDefenseModifier</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">float</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getGoodguyAttackModifier">
|
|
getGoodguyAttackModifier()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getGoodguyAttackModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">339</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the badguy attack modifier calculated over the whole bufflist.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getGoodguyAttackModifier</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">float</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getGoodguyDamageModifier">
|
|
getGoodguyDamageModifier()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getGoodguyDamageModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">359</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the badguy damage modifier calculated over the whole bufflist.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getGoodguyDamageModifier</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">float</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getGoodguyDefenseModifier">
|
|
getGoodguyDefenseModifier()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getGoodguyDefenseModifier" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">349</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the badguy defense modifier calculated over the whole bufflist.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getGoodguyDefenseModifier</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">float</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">float</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_goodguyIsInvulnurable">
|
|
goodguyIsInvulnurable()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_goodguyIsInvulnurable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">369</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the goodguy is invulnurable.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">goodguyIsInvulnurable</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hasBuffsInUse">
|
|
hasBuffsInUse()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_hasBuffsInUse" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">126</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns whether any buffs are in use.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">hasBuffsInUse</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadBuffs">
|
|
loadBuffs()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_loadBuffs" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">59</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Loads all buffs (since it's a lazy correlation).</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">loadBuffs</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_processDamageDependentBuffs">
|
|
processDamageDependentBuffs()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_processDamageDependentBuffs" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">485</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Processes buffs that are dependant on the damage done in one round.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">processDamageDependentBuffs</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$activation</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$damage</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Game.html"><abbr title="\LotGD\Core\Game">Game</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$game</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-FighterInterface.html"><abbr title="\LotGD\Core\Models\FighterInterface">FighterInterface</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$goodguy</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-FighterInterface.html"><abbr title="\LotGD\Core\Models\FighterInterface">FighterInterface</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$badguy</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$activation</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$damage</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Positive damage is applied to the badguy, negative damage is applied to the goodguy</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$game</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Game.html"><abbr title="\LotGD\Core\Game">Game</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$goodguy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-FighterInterface.html"><abbr title="\LotGD\Core\Models\FighterInterface">FighterInterface</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$badguy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-FighterInterface.html"><abbr title="\LotGD\Core\Models\FighterInterface">FighterInterface</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_processDirectBuffs">
|
|
processDirectBuffs()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_processDirectBuffs" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">383</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Processes buffs that do direct damage or regeneration.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">processDirectBuffs</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$activation</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Game.html"><abbr title="\LotGD\Core\Game">Game</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$game</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-FighterInterface.html"><abbr title="\LotGD\Core\Models\FighterInterface">FighterInterface</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$goodguy</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-FighterInterface.html"><abbr title="\LotGD\Core\Models\FighterInterface">FighterInterface</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$badguy</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$activation</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$game</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Game.html"><abbr title="\LotGD\Core\Game">Game</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$goodguy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-FighterInterface.html"><abbr title="\LotGD\Core\Models\FighterInterface">FighterInterface</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$badguy</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-FighterInterface.html"><abbr title="\LotGD\Core\Models\FighterInterface">FighterInterface</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_remove">
|
|
remove()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_remove" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">207</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Removes a buff from the buff list.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">remove</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$buff</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$buff</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_renew">
|
|
renew()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_renew" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">236</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Renews a buff.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">renew</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$buff</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$buff</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_resetBuffUsage">
|
|
resetBuffUsage()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_resetBuffUsage" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">115</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Resets the buff usage for a new round.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">resetBuffUsage</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_calculateModifiers">
|
|
calculateModifiers()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_calculateModifiers" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">252</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Calculates all total modifiers.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">calculateModifiers</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">void</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getBuffMessage">
|
|
getBuffMessage()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_getBuffMessage" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">98</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the buff's start or round message.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">getBuffMessage</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$buff</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$buff</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hasBuffBeenUsed">
|
|
hasBuffBeenUsed()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_hasBuffBeenUsed" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">73</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns true if the given buff has already been used this round.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">hasBuffBeenUsed</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$buff</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$buff</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_iterateBuffList">
|
|
iterateBuffList()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_iterateBuffList" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">284</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Iterates over every buff that gets activated at one point during a round.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">iterateBuffList</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\LotGD\Core\Generator">Generator</abbr>|array<string|int, <abbr title="\LotGD\Core\Model\Buff">Buff</abbr>></span></code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\LotGD\Core\Generator">Generator</abbr>|array<string|int, <abbr title="\LotGD\Core\Model\Buff">Buff</abbr>></span>
|
|
—
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_useBuff">
|
|
useBuff()
|
|
<a href="classes/LotGD-Core-BuffList.html#method_useBuff" class="headerlink"><i class="fas fa-link"></i></a>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="src/BuffList.php"><a href="files/src-bufflist.html"><abbr title="src/BuffList.php">BuffList.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">88</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Marks the given buff as used.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">useBuff</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$buff</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$buff</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/LotGD-Core-Models-Buff.html"><abbr title="\LotGD\Core\Models\Buff">Buff</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
|
|
<script type="text/javascript">
|
|
function loadExternalCodeSnippets(line) {
|
|
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
|
var src = pre.getAttribute('data-src').replace( /\\/g, '/');
|
|
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
|
var language = 'php';
|
|
|
|
var code = document.createElement('code');
|
|
code.className = 'language-' + language;
|
|
|
|
pre.textContent = '';
|
|
|
|
pre.setAttribute('data-line', line)
|
|
code.textContent = 'Loading…';
|
|
|
|
pre.appendChild(code);
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open('GET', src, true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState == 4) {
|
|
|
|
if (xhr.status < 400 && xhr.responseText) {
|
|
code.textContent = xhr.responseText;
|
|
|
|
Prism.highlightElement(code);
|
|
}
|
|
else if (xhr.status >= 400) {
|
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
}
|
|
else {
|
|
code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
|
|
}
|
|
}
|
|
};
|
|
|
|
xhr.send(null);
|
|
});
|
|
}
|
|
|
|
var modals = document.querySelectorAll("[data-modal]");
|
|
|
|
modals.forEach(function (trigger) {
|
|
trigger.addEventListener("click", function (event) {
|
|
//event.preventDefault();
|
|
const modal = document.getElementById(trigger.dataset.modal);
|
|
modal.classList.add("phpdocumentor-modal__open");
|
|
loadExternalCodeSnippets(trigger.dataset.line)
|
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
|
exits.forEach(function (exit) {
|
|
exit.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
modal.classList.remove("phpdocumentor-modal__open");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
|
|
</article>
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
|
<section class="phpdocumentor-search-results__dialog">
|
|
<header class="phpdocumentor-search-results__header">
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
|
</header>
|
|
<section class="phpdocumentor-search-results__body">
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<a href="classes/LotGD-Core-BuffList.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
cssVars({});
|
|
</script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
|
</body>
|
|
</html>
|