<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.sternenschweif.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki.sternenschweif.com/index.php?action=history&amp;feed=atom&amp;title=GetBest_%2F_getWorst</id>
		<title>GetBest / getWorst - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.sternenschweif.com/index.php?action=history&amp;feed=atom&amp;title=GetBest_%2F_getWorst"/>
		<link rel="alternate" type="text/html" href="https://wiki.sternenschweif.com/index.php?title=GetBest_/_getWorst&amp;action=history"/>
		<updated>2026-05-11T13:29:15Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in Sternenschweif Wiki</subtitle>
		<generator>MediaWiki 1.22.9</generator>

	<entry>
		<id>https://wiki.sternenschweif.com/index.php?title=GetBest_/_getWorst&amp;diff=1161&amp;oldid=prev</id>
		<title>Chrisfirefox am 14. Juni 2016 um 13:34 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.sternenschweif.com/index.php?title=GetBest_/_getWorst&amp;diff=1161&amp;oldid=prev"/>
				<updated>2016-06-14T13:34:29Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 14. Juni 2016, 13:34 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;var result = getBest({&amp;quot;which&amp;quot;:&amp;quot;schwerter&amp;quot;,&amp;quot;type&amp;quot;:&amp;quot;skill&amp;quot;,&amp;quot;queryAll&amp;quot;:true});&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;var result = getBest({&amp;quot;which&amp;quot;:&amp;quot;schwerter&amp;quot;,&amp;quot;type&amp;quot;:&amp;quot;skill&amp;quot;,&amp;quot;queryAll&amp;quot;:true&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,&amp;quot;ignore&amp;quot;:3&lt;/ins&gt;});&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;var raworst = getWorst({&amp;quot;which&amp;quot;:&amp;quot;RA&amp;quot;});&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;var raworst = getWorst({&amp;quot;which&amp;quot;:&amp;quot;RA&amp;quot;});&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''which''': Welche Eigenschaft abgefragt werden soll, interne Bezeichnung (siehe skills.xml bzw. Savegame für Attribute)&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''which''': Welche Eigenschaft abgefragt werden soll, interne Bezeichnung (siehe skills.xml bzw. Savegame für Attribute)&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''type''': ''(optional)'' Auf welchen Typ sich &amp;quot;which&amp;quot; bezieht, möglich sind &amp;quot;skill&amp;quot; (Fertigkeit), &amp;quot;spell&amp;quot; (Zauberspruch) oder &amp;quot;attribute&amp;quot; (Attribut, Standardwert)&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''type''': ''(optional)'' Auf welchen Typ sich &amp;quot;which&amp;quot; bezieht, möglich sind &amp;quot;skill&amp;quot; (Fertigkeit), &amp;quot;spell&amp;quot; (Zauberspruch) oder &amp;quot;attribute&amp;quot; (Attribut, Standardwert)&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''queryAll''': ''(optional)'' true, um auch bewusstlose Charaktere einzubeziehen, Standard false&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''queryAll''': ''(optional)'' true, um auch bewusstlose Charaktere einzubeziehen, Standard false&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''ignore''': ''(optional'' welche char-ids von der Prüfung ausgeschlossen werden sollen. Kann entweder eine einzelne Zahl oder ein Array im Format ''[1,2,3]'' sein&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Rückgabewert==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Rückgabewert==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Chrisfirefox</name></author>	</entry>

	<entry>
		<id>https://wiki.sternenschweif.com/index.php?title=GetBest_/_getWorst&amp;diff=1159&amp;oldid=prev</id>
		<title>Chrisfirefox: Die Seite wurde neu angelegt: „Category:NLTScript Referenz  Ermittelt den Besten oder Schlechtesten Charakter der aktuell aktiven Gruppe bei einem bestimmten Attribut, Talent oder Zauber…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.sternenschweif.com/index.php?title=GetBest_/_getWorst&amp;diff=1159&amp;oldid=prev"/>
				<updated>2016-06-13T14:30:54Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&lt;a href=&quot;/index.php/Kategorie:NLTScript_Referenz&quot; title=&quot;Kategorie:NLTScript Referenz&quot;&gt;Category:NLTScript Referenz&lt;/a&gt;  Ermittelt den Besten oder Schlechtesten Charakter der aktuell aktiven Gruppe bei einem bestimmten Attribut, Talent oder Zauber…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:NLTScript Referenz]]&lt;br /&gt;
&lt;br /&gt;
Ermittelt den Besten oder Schlechtesten Charakter der aktuell aktiven Gruppe bei einem bestimmten Attribut, Talent oder Zauberspruch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var result = getBest({&amp;quot;which&amp;quot;:&amp;quot;schwerter&amp;quot;,&amp;quot;type&amp;quot;:&amp;quot;skill&amp;quot;,&amp;quot;queryAll&amp;quot;:true});&lt;br /&gt;
var raworst = getWorst({&amp;quot;which&amp;quot;:&amp;quot;RA&amp;quot;});&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Parameter==&lt;br /&gt;
Folgende Parameter sind möglich:&lt;br /&gt;
&lt;br /&gt;
'''which''': Welche Eigenschaft abgefragt werden soll, interne Bezeichnung (siehe skills.xml bzw. Savegame für Attribute)&amp;lt;br&amp;gt;&lt;br /&gt;
'''type''': ''(optional)'' Auf welchen Typ sich &amp;quot;which&amp;quot; bezieht, möglich sind &amp;quot;skill&amp;quot; (Fertigkeit), &amp;quot;spell&amp;quot; (Zauberspruch) oder &amp;quot;attribute&amp;quot; (Attribut, Standardwert)&amp;lt;br&amp;gt;&lt;br /&gt;
'''queryAll''': ''(optional)'' true, um auch bewusstlose Charaktere einzubeziehen, Standard false&lt;br /&gt;
&lt;br /&gt;
==Rückgabewert==&lt;br /&gt;
Als Ergebnis gibt es ein Objekt mit folgenden Eigenschaften:&lt;br /&gt;
&lt;br /&gt;
'''charid''': die Charakter-ID innerhalb der Party&amp;lt;br&amp;gt;&lt;br /&gt;
'''shortname''': Der Name des Besten/Schlechtesten Charakters&amp;lt;br&amp;gt;&lt;br /&gt;
'''uniqueid''': Eindeutige ID des Charakters&amp;lt;br&amp;gt;&lt;br /&gt;
'''which''': Der abgefragte Wert&amp;lt;br&amp;gt;&lt;br /&gt;
'''type''': Der Typ des abgefragten Werts (Skill/Spell/Attribute)&amp;lt;br&amp;gt;&lt;br /&gt;
'''value''': Der tatsächliche Wert&lt;br /&gt;
&lt;br /&gt;
Sollte es ein Problem gegeben haben (zB unbekanntes &amp;quot;which&amp;quot;, keine Charaktere verfügbar, zB keine magisch Begabten bei einer Spell-Abfrage), so kommt als &amp;quot;charid&amp;quot; -1 zurück und als &amp;quot;value&amp;quot; -99.&lt;br /&gt;
&lt;br /&gt;
==Sonderfälle==&lt;br /&gt;
===Abfrage negative Attribute===&lt;br /&gt;
Grundsätzlich wird der höchste Wert als der &amp;quot;Best&amp;quot;e interpretiert, der Niedrigste als der Schlechteste. Bei negativen Attributen ist das durch die Regeln umgedreht, d.h. die &amp;quot;best&amp;quot;e Raumangst ist der niedrigste Wert der anwesenden Charaktere, die Schlechteste ist die Höchste.&lt;br /&gt;
&lt;br /&gt;
===Abfrage Waffentalente===&lt;br /&gt;
Es werden die tatsächlichen Talentwerte abgefragt, NICHT die Effektivwerte für Attacke / Parade / Fernkampf&lt;/div&gt;</summary>
		<author><name>Chrisfirefox</name></author>	</entry>

	</feed>