Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 165 additions & 0 deletions Item/GetArmor.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="API documentation for the Item:GetArmor method in the Eluna engine.">
<meta name="keywords" content="eluna, lua, lua engine, trinitycore, trinity, mangos, cmangos, script, scripting, doc, docs, documentation">

<title>Item:GetArmor - Eluna</title>

<link rel="stylesheet" type="text/css" href="../static/main.css">
<link rel="stylesheet" href="../static/highlight.css">

<link rel="shortcut icon" href="../static/favicon.ico">

<script>
// Inline script to set theme before the rest of the document loads
(function() {
const currentTheme = localStorage.getItem('theme');
if (currentTheme) {
document.documentElement.classList.add(currentTheme);
}
})();
</script>
<script src="../static/highlight.min.js"></script>
<script src="../static/lua.min.js"></script>
</head>
<body class="rustdoc">
<section class="sidebar">
<a href='../index.html'><img src='../static/eluna-logo.png' alt='Eluna Logo' width='100'></a>
<div class="block">

<h2>Item Methods</h2>
<script src="sidebar.js"></script>
<script>
// Highlight current method by adding "current" class to it
var element = document.getElementById("Item:GetArmor");
if (element) {
var classname = "current";
arr = element.className.split(" ");
if (arr.indexOf(classname) == -1) {
element.className += " " + classname;
}
}
</script>

</div>
</section>

<nav class="sub">
<form class="search-form js-only">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press 'S' to search..."
type="search">

<div class="toggle-container" id="themeToggle">
<svg class="sun-icon" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
<svg class="moon-icon" xmlns="http://www.w3.org/2000/svg">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
</div>
</form>
</nav>

<section id='main' class="content mod">
<h1 class='fqn'>
Method
<a class="mod" href="../Item/index.html">Item</a>:<a class="fn" href="../Item/GetArmor.html">GetArmor</a>
<span class='out-of-band'>
<span id='render-detail'>
<a id="collapse-all" href="#">[-]</a>
<a id="expand-all" href="#">[+]</a>
</span>
</span>
</h1>


<div class='docblock'>
<p>Returns the base armor of this <a class="mod" href="../Item/index.html">Item</a></p>


<h2 id="synopsis" class='section-header'>
<a href="#synopsis">Synopsis</a>
</h2>
<p>
<code>armor = Item:GetArmor()</code>
</p>

<h2 id="arguments" class='section-header'>
<a href="#arguments">Arguments</a>
</h2>
<p>
None.
</p>

<h2 id="returns" class='section-header'>
<a href="#returns">Returns</a>
</h2>
<p>
<dl>
<dt><code><strong><a href="http://www.lua.org/pil/2.3.html">number</a></strong> armor</code></dt>
<dd class="docblock"><p><em>Valid numbers</em>: integers from 0 to 4,294,967,295.</p></dd>
</dl>
</p>
</div>

</section>

<section id='search' class="content hidden"></section>

<section class="footer"></section>

<div id="help" class="hidden">
<div class="shortcuts">
<h1>Keyboard shortcuts</h1>
<dl>
<dt>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>&larrb;</dt>
<dd>Move up in search results</dd>
<dt>&rarrb;</dt>
<dd>Move down in search results</dd>
<dt>&#9166;</dt>
<dd>Go to active search result</dd>
</dl>
</div>
<div class="infos">
<h1>Search tricks</h1>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code> (or <code>str</code>), <code>enum</code>,
<code>trait</code>, <code>typedef</code> (or
<code>tdef</code>).
</p>
</div>
</div>

<script>
window.rootPath = "../";
</script>
<script src="../static/jquery.js"></script>
<script src="../static/main.js"></script>
<script src="../static/theme.js"></script>
<script async src="../search-index.js"></script>
<center>Generated on <script src="../date.js"></script></center>
<center>&copy; 2010 - 2024 Eluna Lua Engine</center>
</body>
</html>
176 changes: 176 additions & 0 deletions Item/GetDamageInfo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="API documentation for the Item:GetDamageInfo method in the Eluna engine.">
<meta name="keywords" content="eluna, lua, lua engine, trinitycore, trinity, mangos, cmangos, script, scripting, doc, docs, documentation">

<title>Item:GetDamageInfo - Eluna</title>

<link rel="stylesheet" type="text/css" href="../static/main.css">
<link rel="stylesheet" href="../static/highlight.css">

<link rel="shortcut icon" href="../static/favicon.ico">

<script>
// Inline script to set theme before the rest of the document loads
(function() {
const currentTheme = localStorage.getItem('theme');
if (currentTheme) {
document.documentElement.classList.add(currentTheme);
}
})();
</script>
<script src="../static/highlight.min.js"></script>
<script src="../static/lua.min.js"></script>
</head>
<body class="rustdoc">
<section class="sidebar">
<a href='../index.html'><img src='../static/eluna-logo.png' alt='Eluna Logo' width='100'></a>
<div class="block">

<h2>Item Methods</h2>
<script src="sidebar.js"></script>
<script>
// Highlight current method by adding "current" class to it
var element = document.getElementById("Item:GetDamageInfo");
if (element) {
var classname = "current";
arr = element.className.split(" ");
if (arr.indexOf(classname) == -1) {
element.className += " " + classname;
}
}
</script>

</div>
</section>

<nav class="sub">
<form class="search-form js-only">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press 'S' to search..."
type="search">

<div class="toggle-container" id="themeToggle">
<svg class="sun-icon" xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
<svg class="moon-icon" xmlns="http://www.w3.org/2000/svg">
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
</svg>
</div>
</form>
</nav>

<section id='main' class="content mod">
<h1 class='fqn'>
Method
<a class="mod" href="../Item/index.html">Item</a>:<a class="fn" href="../Item/GetDamageInfo.html">GetDamageInfo</a>
<span class='out-of-band'>
<span id='render-detail'>
<a id="collapse-all" href="#">[-]</a>
<a id="expand-all" href="#">[+]</a>
</span>
</span>
</h1>


<div class='docblock'>
<p>Returns the damage info of the specified damage slot of this <a class="mod" href="../Item/index.html">Item</a></p>


<h2 id="synopsis" class='section-header'>
<a href="#synopsis">Synopsis</a>
</h2>
<p>
<code>damageType, minDamage, maxDamage = Item:GetDamageInfo( damageSlot )</code>
</p>

<h2 id="arguments" class='section-header'>
<a href="#arguments">Arguments</a>
</h2>
<p>
<dl>
<dt><code><strong><a href="http://www.lua.org/pil/2.3.html">number</a></strong> damageSlot</code></dt>
<dd class="docblock"><p>The damage slot specified (1 or 2). </p><p><em>Valid numbers</em>: integers from 0 to 255.</p></dd>
</dl>
</p>

<h2 id="returns" class='section-header'>
<a href="#returns">Returns</a>
</h2>
<p>
<dl>
<dt><code><strong><a href="http://www.lua.org/pil/2.3.html">number</a></strong> damageType</code></dt>
<dd class="docblock"><p><em>Valid numbers</em>: integers from 0 to 4,294,967,295.</p></dd>
</dl>
<dl>
<dt><code><strong><a href="http://www.lua.org/pil/2.3.html">number</a></strong> minDamage</code></dt>
<dd class="docblock"><p><em>Valid numbers</em>: all decimal numbers.</p></dd>
</dl>
<dl>
<dt><code><strong><a href="http://www.lua.org/pil/2.3.html">number</a></strong> maxDamage</code></dt>
<dd class="docblock"><p><em>Valid numbers</em>: all decimal numbers.</p></dd>
</dl>
</p>
</div>

</section>

<section id='search' class="content hidden"></section>

<section class="footer"></section>

<div id="help" class="hidden">
<div class="shortcuts">
<h1>Keyboard shortcuts</h1>
<dl>
<dt>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>&larrb;</dt>
<dd>Move up in search results</dd>
<dt>&rarrb;</dt>
<dd>Move down in search results</dd>
<dt>&#9166;</dt>
<dd>Go to active search result</dd>
</dl>
</div>
<div class="infos">
<h1>Search tricks</h1>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code> (or <code>str</code>), <code>enum</code>,
<code>trait</code>, <code>typedef</code> (or
<code>tdef</code>).
</p>
</div>
</div>

<script>
window.rootPath = "../";
</script>
<script src="../static/jquery.js"></script>
<script src="../static/main.js"></script>
<script src="../static/theme.js"></script>
<script async src="../search-index.js"></script>
<center>Generated on <script src="../date.js"></script></center>
<center>&copy; 2010 - 2024 Eluna Lua Engine</center>
</body>
</html>
Loading