<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fonline-reloaded.net/w/index.php?action=history&amp;feed=atom&amp;title=A_Development_Tutorial%3A_Chapter_22</id>
	<title>A Development Tutorial: Chapter 22 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fonline-reloaded.net/w/index.php?action=history&amp;feed=atom&amp;title=A_Development_Tutorial%3A_Chapter_22"/>
	<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;action=history"/>
	<updated>2026-11-22T14:22:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;diff=16307&amp;oldid=prev</id>
		<title>Henry at 19:22, 22 September 2018</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;diff=16307&amp;oldid=prev"/>
		<updated>2018-09-22T19:22:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:22, 22 September 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| chapter = 22: Mysterious Stranger Perk&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| chapter = 22: Mysterious Stranger Perk&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &amp;quot;SAY&amp;quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 27|Pro Tips]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &amp;quot;SAY&amp;quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 27|Pro Tips]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| notes = &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;diff=16306&amp;oldid=prev</id>
		<title>Henry at 19:21, 22 September 2018</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;diff=16306&amp;oldid=prev"/>
		<updated>2018-09-22T19:21:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:21, 22 September 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| image = AWikiEditor.gif&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| image = AWikiEditor.gif&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| description = Get the developer tools and try building new content for this game!&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| description = Get the developer tools and try building new content for this game!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| season = All Seasons&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| status = Progress Stopped&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| status = Progress Stopped&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| complete = 75%&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| complete = 75%&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| authors = Slowhand&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| authors = Slowhand&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| chapter = 22: Mysterious Stranger Perk&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| chapter = 22: Mysterious Stranger Perk&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &quot;SAY&quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 27|Pro Tips&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;diff=9918&amp;oldid=prev</id>
		<title>Henry at 03:12, 26 January 2017</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;diff=9918&amp;oldid=prev"/>
		<updated>2017-01-26T03:12:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:12, 26 January 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** The player is attacked while being crippled, will try to doctor the player and then join the fight.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** The player is attacked while being crippled, will try to doctor the player and then join the fight.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** The player is below half health points and is attacked, will try to heal the player and then join the fight.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** The player is below half health points and is attacked, will try to heal the player and then join the fight.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;** The player fails to open a lock, will try to open the lock and stay for a duration. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/del&gt;not implemented &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(yet?&lt;/del&gt;) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;The player fails to open a lock, will try to open the lock and stay for a duration.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039; (&lt;/ins&gt;not implemented)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The Cooldown of the Mysterious Stranger spawn shall be dependent on the player&amp;#039;s Charisma, with the suggested formulas:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The Cooldown of the Mysterious Stranger spawn shall be dependent on the player&amp;#039;s Charisma, with the suggested formulas:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Chance for MS to spawn at random encounter: X + Y * CH + U * LK (Min V, Max Z)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Chance for MS to spawn at random encounter: X + Y * CH + U * LK (Min V, Max Z)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The Duration of the Mysterious Stranger aid shall be also dependent on the player&amp;#039;s Charisma, with suggested formulas:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The Duration of the Mysterious Stranger aid shall be also dependent on the player&amp;#039;s Charisma, with suggested formulas:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Duration of aid for Encounter shall last: X + Y * CH seconds in RT combat.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Duration of aid for Encounter shall last: X + Y * CH seconds in RT combat.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;** Duration of aid for Encounter shall last: X + Y * CH turns in TB combat. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/del&gt;unavailable due to SDK bugs regarding TB events &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;Duration of aid for Encounter shall last: X + Y * CH turns in TB combat.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039; (&lt;/ins&gt;unavailable due to SDK bugs regarding TB events&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The Strength of the Mysterious Stranger shall depend on the Level and the Charisma of the player:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* The Strength of the Mysterious Stranger shall depend on the Level and the Charisma of the player:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Level of the MS shall be the Level of the player + 3.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Level of the MS shall be the Level of the player + 3.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** The Level cap of the Mysterious Stranger shall be dependent on the players Charisma.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** The Level cap of the Mysterious Stranger shall be dependent on the players Charisma.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** The Perk, Stat and Inventory composition of the Mysterious Stranger shall better with the higher Charisma the player has.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** The Perk, Stat and Inventory composition of the Mysterious Stranger shall better with the higher Charisma the player has.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;** A Random factor can be introduced when determining the Strength of the Mysterious Stranger. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/del&gt;not implemented &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;A Random factor can be introduced when determining the Strength of the Mysterious Stranger.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039; (&lt;/ins&gt;not implemented&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If the player&amp;#039;s luck is very low, the Mysterious Stranger can be [[Jinxed]]. Good Luck!&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If the player&amp;#039;s luck is very low, the Mysterious Stranger can be [[Jinxed]]. Good Luck!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* AI - The Mysterious Stranger shall behave as:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* AI - The Mysterious Stranger shall behave as:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If the player is crippled, the Mysterious Stranger will try to doctor, with high priority, but only once per spawn session.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If the player is crippled, the Mysterious Stranger will try to doctor, with high priority, but only once per spawn session.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If the player is below half health points, the Mysterious Stranger will try to First Aid, with high priority, but only once per spawn session.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** If the player is below half health points, the Mysterious Stranger will try to First Aid, with high priority, but only once per spawn session.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;** If another player is attacking, the Mysterious Stranger shall change target to it. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/del&gt;not implemented &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;If another player is attacking, the Mysterious Stranger shall change target to it.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039; (&lt;/ins&gt;not implemented&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Integration into projects/servers:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Integration into projects/servers:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** All of the parameters of the Mysterious Stranger mechanic shall be configurable.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** All of the parameters of the Mysterious Stranger mechanic shall be configurable.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;** Special triggers shall be disableable with macros from header.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;Special triggers shall be disableable with macros from header.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Solutions shall be chosen, to conflict minimally with optimized code parts, like combat.fos&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Solutions shall be chosen, to conflict minimally with optimized code parts, like combat.fos&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Integration shall be documented in the tutorials as well, just like the mechanics.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;** Integration shall be documented in the tutorials as well, just like the mechanics.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot;&gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Code Review==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Code Review==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* Wipe: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; what&#039;s &lt;/del&gt;the point of checking if object is valid() when it&#039;s passed by reference?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* Wipe: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;What is &lt;/ins&gt;the point of checking if object is valid() when it&#039;s passed by reference?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* Wipe: lot of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;unended &lt;/del&gt;stuff at least from 2238/reloaded pov - own MS_LOG when you could use debug@WLog(), own get/set lvar instead of utils@Get/SetetLvar(),&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* Wipe: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;A &lt;/ins&gt;lot of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;unfinished &lt;/ins&gt;stuff at least from 2238/reloaded pov - own MS_LOG when you could use debug@WLog(), own get/set lvar instead of utils@Get/SetetLvar(),&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Wipe: perkeditor and reloaded...ha-ha!&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Wipe: perkeditor and reloaded...ha-ha!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* Wipe: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;or &lt;/del&gt;better yet, return( chance &amp;gt;= Random(0,100) ); !&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* Wipe: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Or &lt;/ins&gt;better yet, return( chance &amp;gt;= Random(0,100) ); !&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Guides]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Guides]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
	<entry>
		<id>https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;diff=9917&amp;oldid=prev</id>
		<title>Henry: Created page with &quot;{{Guide | name = A Development Tutorial: Chapter 22 | image = AWikiEditor.gif | description = Get the developer tools and try building new content for this game! | status = Pr...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.fonline-reloaded.net/w/index.php?title=A_Development_Tutorial:_Chapter_22&amp;diff=9917&amp;oldid=prev"/>
		<updated>2017-01-26T03:04:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Guide | name = A Development Tutorial: Chapter 22 | image = AWikiEditor.gif | description = Get the developer tools and try building new content for this game! | status = Pr...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Guide&lt;br /&gt;
| name = A Development Tutorial: Chapter 22&lt;br /&gt;
| image = AWikiEditor.gif&lt;br /&gt;
| description = Get the developer tools and try building new content for this game!&lt;br /&gt;
| status = Progress Stopped&lt;br /&gt;
| complete = 75%&lt;br /&gt;
| authors = Slowhand&lt;br /&gt;
| chapter = 22: Mysterious Stranger Perk&lt;br /&gt;
| chapters = [[A Development Tutorial|Title Page]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 01|Development Kit Setup]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 02|Making Maps]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 03|The World Map Editor]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 04|NPC Dialogues]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 05|Create a 2-Map Zone]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 06|Monsters, Loot, and Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 07|Tracking Quest Progress]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 08|Scenery Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 09|Dialogue-to-Quest Location]]&amp;lt;br&amp;gt;Chapter 10&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 11|The Scripting Environment]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 12|Understanding Quest Scripts]]&amp;lt;br&amp;gt;Chapter 13&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 14|Dialogue: The &amp;quot;SAY&amp;quot; Menu]]&amp;lt;br&amp;gt;Chapter 15&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 15.01|Lockpick Cooldown]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 16|Repeatable Locations]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 17|Floating FA Text]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 18|Roulette Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 19|Dialogues vs Scripts]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 20|Simple Kill Quest]]&amp;lt;br&amp;gt;Chapter 21&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 22|Mysterious Stranger Perk]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 23|Perk Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 24|Black Jack Game]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 25|Black Jack Installation]]&amp;lt;br&amp;gt;[[A Development Tutorial: Chapter 26|Sound Effects]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
If you have this perk, from time to time, a mysterious stranger appears out of the blue and tries to help you. This stranger might be there when you encounter difficulties in your travels, or sometimes even in remote zones, caves, hidden vaults, when you feel ill or are crippled. In the future he might even open locked doors for you, if you fail to do so.&lt;br /&gt;
&lt;br /&gt;
==Purpose==&lt;br /&gt;
The reason for this perk, besides coolness, is to introduce the stat [[Charisma]] back into the game (for servers that abandoned it totally [[PvP]] wise) The perk should help people who want to role-play with higher Charisma than 1. The perk should be available with lower [[Charisma]] as well, but [[Charisma]] shall have a great effect on strength of the perk, this is why most of the timers depend on Charisma. Of course, RP logic can surface as well, I leave to everyone&amp;#039;s imagination why someone would help a charismatic person more often or for longer period of time. Even if the perk is reduced to a minimum of only random encounter appearance, or support perk, I suggest that Charisma dependency shall be dominant. The code is free for everyone to use it as they wish. May the stranger be with you.&lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
From time to time, a mysterious stranger will help the player, regarding the rules below.&lt;br /&gt;
&lt;br /&gt;
* The Mysterious Stranger will spawn and act accordingly if the player has the perk and when:&lt;br /&gt;
** The player enters a random encounter, will stay for a duration and help the player.&lt;br /&gt;
** The player is attacked while being crippled, will try to doctor the player and then join the fight.&lt;br /&gt;
** The player is below half health points and is attacked, will try to heal the player and then join the fight.&lt;br /&gt;
** The player fails to open a lock, will try to open the lock and stay for a duration. - not implemented (yet?) - &lt;br /&gt;
* The Cooldown of the Mysterious Stranger spawn shall be dependent on the player&amp;#039;s Charisma, with the suggested formulas:&lt;br /&gt;
** Chance for MS to spawn at random encounter: X + Y * CH + U * LK (Min V, Max Z)&lt;br /&gt;
** Chance for MS to spawn for FA in non Town Control maps: X + CH * LK * U (Min V, Max Z)&lt;br /&gt;
** Chance for MS to spawn for Doctor: X + CH * LK * U (Min V, Max Z)&lt;br /&gt;
** FA and Doctor spawn block mechanic cooldown: X / CHA); (This is mechanic is explained in detail below)&lt;br /&gt;
** Death time of Mysterious Stranger cooldown: X /CHA -  and shall be much higher than encounter cooldown.&lt;br /&gt;
** Encounter spawn cooldown shall share the timer with with special spawns.&lt;br /&gt;
* The Duration of the Mysterious Stranger aid shall be also dependent on the player&amp;#039;s Charisma, with suggested formulas:&lt;br /&gt;
** Duration of aid for Encounter shall last: X + Y * CH seconds in RT combat.&lt;br /&gt;
** Duration of aid for Encounter shall last: X + Y * CH turns in TB combat. - unavailable due to SDK bugs regarding TB events - &lt;br /&gt;
* The Strength of the Mysterious Stranger shall depend on the Level and the Charisma of the player:&lt;br /&gt;
** Level of the MS shall be the Level of the player + 3.&lt;br /&gt;
** The Level cap of the Mysterious Stranger shall be dependent on the players Charisma.&lt;br /&gt;
** The Perk, Stat and Inventory composition of the Mysterious Stranger shall better with the higher Charisma the player has.&lt;br /&gt;
** A Random factor can be introduced when determining the Strength of the Mysterious Stranger. - not implemented -&lt;br /&gt;
** If the player&amp;#039;s luck is very low, the Mysterious Stranger can be [[Jinxed]]. Good Luck!&lt;br /&gt;
* AI - The Mysterious Stranger shall behave as:&lt;br /&gt;
** If the player is attacked, the attacker shall be added to the Mysterious Strangers target list, with medium priority.&lt;br /&gt;
** If the player is crippled, the Mysterious Stranger will try to doctor, with high priority, but only once per spawn session.&lt;br /&gt;
** If the player is below half health points, the Mysterious Stranger will try to First Aid, with high priority, but only once per spawn session.&lt;br /&gt;
** If another player is attacking, the Mysterious Stranger shall change target to it. - not implemented - &lt;br /&gt;
* Integration into projects/servers:&lt;br /&gt;
** All of the parameters of the Mysterious Stranger mechanic shall be configurable.&lt;br /&gt;
** Special triggers shall be disableable with macros from header.&lt;br /&gt;
** Solutions shall be chosen, to conflict minimally with optimized code parts, like combat.fos&lt;br /&gt;
** Integration shall be documented in the tutorials as well, just like the mechanics.&lt;br /&gt;
* Testing:&lt;br /&gt;
** Test file shall be supplied with a few scripts written to ease testing.&lt;br /&gt;
** There shall be a use case testing document to follow for testers, or developers after modifications.&lt;br /&gt;
&lt;br /&gt;
==Known Bugs==&lt;br /&gt;
&lt;br /&gt;
==Code Review==&lt;br /&gt;
* Wipe:  what&amp;#039;s the point of checking if object is valid() when it&amp;#039;s passed by reference?&lt;br /&gt;
* Wipe: lot of unended stuff at least from 2238/reloaded pov - own MS_LOG when you could use debug@WLog(), own get/set lvar instead of utils@Get/SetetLvar(),&lt;br /&gt;
* Wipe: perkeditor and reloaded...ha-ha!&lt;br /&gt;
* Wipe: or better yet, return( chance &amp;gt;= Random(0,100) ); !&lt;br /&gt;
&lt;br /&gt;
[[Category:Guides]]&lt;/div&gt;</summary>
		<author><name>Henry</name></author>
	</entry>
</feed>