<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Proposal: Changes to DruidNoWeaponDrop.uc"]]></title>
		<link>https://www.disastrousconsequences.com/dcforum/posts/list/20.page</link>
		<description><![CDATA[Latest messages posted in the topic "Proposal: Changes to DruidNoWeaponDrop.uc"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Proposal: Changes to DruidNoWeaponDrop.uc</title>
				<description><![CDATA[ In order to fix some annoyances (not necessarily full blown bugs, but potentially) in Denial and Ghost which will occur until we come up with a more workable solution to what I've come to call the ?Death Order issue, I'd like to add:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
// Fix for Denial before Ghost - this does icky things if we don't run ghost first.
// Once we "fix" ?death, things like this won't be an issue.
	StatsInv = RPGStatsInv&#40;Killed.FindInventoryType&#40;class'RPGStatsInv'&#41;&#41;;
// Loop through - stop when you find ghost.  If you've found denial by then, then
// you have Denial before Ghost and Ghost needs to run first.
	if &#40;StatsInv != None&#41;
	{
		for &#40;y = 0; y &lt; StatsInv.Data.Abilities.length && !gotghost; y++&#41;
		{
			if &#40;StatsInv.Data.Abilities&#91;y&#93; == class'DruidNoWeaponDrop'&#41;
			{
				gotdenial = true;
			}
			if &#40;StatsInv.Data.Abilities&#91;y&#93; == class'DruidGhost'&#41;
			{
				gotghost = true;
				GhostLevel = StatsInv.Data.AbilityLevels&#91;y&#93;;
			}
		}
	}

	if &#40;gotghost && gotdenial&#41;
	{
// If DruidGhost returns true, we need to return true - and the bAP check in Ghost
// should result in DruidGhost's PD &#40;when run by RPGRules&#41; doing nothing.
		if&#40;class'DruidGhost'.static.PreventDeath&#40;Killed, Killer, DamageType, HitLocation, GhostLevel, bAlreadyPrevented&#41;&#41;
			return true;
	}
// End Denial before Ghost fix.
</pre>
		</div>
After the 'bAlreadyPrevented' check in DruidNoWeaponDrop's PreventDeath function.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2463.page#20986</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2463.page#20986</link>
				<pubDate><![CDATA[Thu, 7 Sep 2006 16:24:15]]> GMT</pubDate>
				<author><![CDATA[ BotFodder]]></author>
			</item>
			<item>
				<title>Re:Proposal: Changes to DruidNoWeaponDrop.uc</title>
				<description><![CDATA[ I can't see any immediate problems with it. It should plug a hole for the time being.

In the long term, if/when we get a more comprehensive solution to the PreventDeath ordering problems, then code will have to come back out. But, until then, I say go for it.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2463.page#21007</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2463.page#21007</link>
				<pubDate><![CDATA[Fri, 8 Sep 2006 00:51:51]]> GMT</pubDate>
				<author><![CDATA[ Szlat]]></author>
			</item>
			<item>
				<title>Re:Proposal: Changes to DruidNoWeaponDrop.uc</title>
				<description><![CDATA[ I like it. Check it in ;)]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2463.page#21011</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2463.page#21011</link>
				<pubDate><![CDATA[Fri, 8 Sep 2006 10:30:39]]> GMT</pubDate>
				<author><![CDATA[ TheDruidXpawX]]></author>
			</item>
			<item>
				<title>Re:Proposal: Changes to DruidNoWeaponDrop.uc</title>
				<description><![CDATA[ Do you want me look at slipping it in to anything else?  Do we want to implement the LA Pinata fix using this or do we want to wait until we've developed DruidRPGRules and DruidRPGAbility?

For question two, I'd vote option "B" but if you want Pinata fixed "now" I think I could rig something up.

As for question one, I don't think there's anything that screams "Fix this now!" as far as I can remember ...]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2463.page#21014</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2463.page#21014</link>
				<pubDate><![CDATA[Fri, 8 Sep 2006 11:41:25]]> GMT</pubDate>
				<author><![CDATA[ BotFodder]]></author>
			</item>
	</channel>
</rss>