<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Damage and medic weapon"]]></title>
		<link>https://www.disastrousconsequences.com/dcforum/posts/list/1.page</link>
		<description><![CDATA[Latest messages posted in the topic "Damage and medic weapon"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Damage and medic weapon</title>
				<description><![CDATA[ Does damage bonus increase the amount of healing done?]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19807</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19807</link>
				<pubDate><![CDATA[Fri, 11 Aug 2006 18:24:49]]> GMT</pubDate>
				<author><![CDATA[ Moof]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ It depends. The healing weapons are like piercing - they get the maximum out of the original damage or the damage after modifiers.

So, in general terms, if you are healing someone with more DR than you have DB, it will ignore DB and DR. 
If you are healing someone with lower DR than your DB, then the DB does help.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19810</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19810</link>
				<pubDate><![CDATA[Fri, 11 Aug 2006 19:23:26]]> GMT</pubDate>
				<author><![CDATA[ Szlat]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ Okay, so I'll gun for 50 DB soon then. Thanks.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19811</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19811</link>
				<pubDate><![CDATA[Fri, 11 Aug 2006 19:27:20]]> GMT</pubDate>
				<author><![CDATA[ Moof]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ I would max out your weapon speed first, if you haven't already, as the DB only gives you 0.5% per point, whereas weapon speed is 1% per point.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19813</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19813</link>
				<pubDate><![CDATA[Fri, 11 Aug 2006 19:45:53]]> GMT</pubDate>
				<author><![CDATA[ Szlat]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ Have it :)

My medic isn't intended to be a full time char, just backup healing. WS 50, HB 50, loaded healer 3, exp healing 5. Not sure what to get next, regen 1 or DB 50.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19814</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19814</link>
				<pubDate><![CDATA[Fri, 11 Aug 2006 20:07:09]]> GMT</pubDate>
				<author><![CDATA[ Moof]]></author>
			</item>
			<item>
				<title>Damage and medic weapon</title>
				<description><![CDATA[ Actually, it is not Piercing.  It actually performs the damage formula again with the only modifier being Damage Bonus, and then percent-ing it based upon the Healing modifier.  This is done, I believe, to negate both damage reduction and amplification.  I am not positive on this point, but I think it also smokes amplification from Double and Triple Damage (anyone witness to otherwise?), at least when healing.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19822</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19822</link>
				<pubDate><![CDATA[Sat, 12 Aug 2006 00:48:46]]> GMT</pubDate>
				<author><![CDATA[ KohanX]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ Rather than 'piercing' meaning going through armour, I was refering to how the Piercing weapons calculate how much damage they are doing i.e. calculating with DB/DR etc, and comparing against the Original Damage the weapon would have done without DB/DR, and choosing whichever is the highest. For the medic weapon, this is only for the healing damage.

For damage against opponents it is a standard non-piercing weapon, with a 6*1% damage bonus added on. So the DB/DR always apply there.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19823</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19823</link>
				<pubDate><![CDATA[Sat, 12 Aug 2006 02:38:07]]> GMT</pubDate>
				<author><![CDATA[ Szlat]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ I'm not sure whether this is because I'm always healing people who have their DR maxed out, but my weapon of choice is a flak cannon.  All this time I've been healing others, it seems to be for 27-28 health.  My damage bonus is 50 (25%) so I would of expected it to of gone up a little bit.  Though, I have been healing myself for a little bit more with splash damage.

Am I really just healing people that have higher DB than I have DR, or does the increased healing only work for certain weapons, perhaps non-splash weapons like the minigun?]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19826</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19826</link>
				<pubDate><![CDATA[Sat, 12 Aug 2006 06:06:24]]> GMT</pubDate>
				<author><![CDATA[ Icey]]></author>
			</item>
			<item>
				<title>Damage and medic weapon</title>
				<description><![CDATA[ Oh!  Excuse me!  I read the code wrong!  It is just like a piercing weapon, to all foes O.o.  The part I saw used the variable DamageBonus, which I thought was referring to the DB stat, but was actually talking about the Healing weapon's DB-per-point.

Flak shells should heal for 27 flat with no other modifiers (no DB, no Triple, no Double).

After looking through the code involving all of the steps taken to control damage, I never want to do so again.  My head will probably explode.

But as far as I can tell, yes, DR and DB affect how much is healed, but it will never go below the totally unmodified amount.  Being as how you have a DB of 50, it should cancel out others' DR of 50.  Putting more than 50 DB is a sure-fire way (well, except for Advanced DR on the recieving side, I don't hope) to increase the amount you heal.

Being as how DR affects the amount healed, I think the formula should be redone to ignore DR when healing.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19854</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#19854</link>
				<pubDate><![CDATA[Sun, 13 Aug 2006 00:01:57]]> GMT</pubDate>
				<author><![CDATA[ KohanX]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ Okay I'm stupid so please type slowly.

Is the medic weapon piercing or not piercing against foes?

Also, on a related topic, does anyone know anything about pet dmg output?  Do pet stats correlate to player stats?  I.e. does the pet get my DB/DR or DB/DR based on my level?  Or my health bonus, etc.  Also, is pet dmg piercing?

]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20239</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20239</link>
				<pubDate><![CDATA[Mon, 21 Aug 2006 13:03:48]]> GMT</pubDate>
				<author><![CDATA[ 320]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ <p></p>

		<cite>320 wrote:</cite><br>
		<blockquote>Is the medic weapon piercing or not piercing against foes?
&nbsp;
		</blockquote>Not piercing]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20245</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20245</link>
				<pubDate><![CDATA[Mon, 21 Aug 2006 14:09:21]]> GMT</pubDate>
				<author><![CDATA[ Szlat]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ <p></p>

		<cite>Szlat wrote:</cite><br>
		<blockquote><p></p>

		<cite>320 wrote:</cite><br>
		<blockquote>Is the medic weapon piercing or not piercing against foes?
&nbsp;
		</blockquote>Not piercing&nbsp;
		</blockquote>
Yes piercing.

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>function NewAdjustTargetDamage&#40;out int Damage, int OriginalDamage, Actor Victim, vector HitLocation, out vector Momentum, class&lt;DamageType&gt; DamageType&#41;
{
	Local Pawn P;
	local int BestDamage;
	local int HealthGiven;
	local int localMaxHealth;

	//sup up the damage a bit
	if&#40;damage &gt; 0&#41;
	{
		Damage = Max&#40;1, Damage * &#40;1.0 + DamageBonus * Modifier&#41;&#41;;
		Momentum *= 1.0 + DamageBonus * Modifier;
	}

	BestDamage = Max&#40;Damage, OriginalDamage&#41;;</pre>
		</div>
That's the beginning of healing, and this is the beginning of piercing:
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>function NewAdjustTargetDamage&#40;out int Damage, int OriginalDamage, Actor Victim, vector HitLocation, out vector Momentum, class&lt;DamageType&gt; DamageType&#41;
{
	if &#40;!bIdentified&#41;
		Identify&#40;&#41;;

	if&#40;damage &gt; 0&#41;
	{
		Damage = Max&#40;Damage, OriginalDamage&#41;; //smokes any reduction. This wont affect reduction because of skills though.
		//if I Ever think of coding up a "skill" that does damage reduction, I'll have to do math
		// here to increase the damage up enough that the reduction results in nothing.
		Damage = Max&#40;1, Damage * &#40;1.0 + DamageBonus * Modifier&#41;&#41;;
		Momentum *= 1.0 + DamageBonus * Modifier;
	}</pre>
		</div>

Healing is *almost* piercing.  It could be considered post-piercing.  The only difference between those two pieces of script is that Piercing applies its modifier after the reduction-smoking, and Healing applies its modifier before it.  But regardless, it will never do less than its base damage.

After saying Piercing so much you begin to question whether it is a word...]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20301</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20301</link>
				<pubDate><![CDATA[Tue, 22 Aug 2006 14:03:48]]> GMT</pubDate>
				<author><![CDATA[ KohanX]]></author>
			</item>
			<item>
				<title>Re:Damage and medic weapon</title>
				<description><![CDATA[ Not piercing.

Looking at the code you pasted, Healing does
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>BestDamage = Max&#40;Damage, OriginalDamage&#41;;</pre>
		</div> whereas Piercing does
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>Damage = Max&#40;Damage, OriginalDamage&#41;; </pre>
		</div>
The difference is that the amount of damage done to enemies is determined by Damage not by BestDamage. BestDamage is just used internally by the healing code to work out how much health to restore.]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20307</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20307</link>
				<pubDate><![CDATA[Tue, 22 Aug 2006 14:52:24]]> GMT</pubDate>
				<author><![CDATA[ Szlat]]></author>
			</item>
			<item>
				<title>Damage and medic weapon</title>
				<description><![CDATA[ ...I hate it when I'm stupid...]]></description>
				<guid isPermaLink="true">https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20331</guid>
				<link>https://www.disastrousconsequences.com/dcforum/posts/list/2325.page#20331</link>
				<pubDate><![CDATA[Tue, 22 Aug 2006 22:57:30]]> GMT</pubDate>
				<author><![CDATA[ KohanX]]></author>
			</item>
	</channel>
</rss>