From: <ama...@us...> - 2010-11-14 04:01:42
|
Revision: 13831 http://pcgen.svn.sourceforge.net/pcgen/?rev=13831&view=rev Author: amaitland Date: 2010-11-14 04:01:36 +0000 (Sun, 14 Nov 2010) Log Message: ----------- Lost the coding for Spirit Weapons, and Martial Arts support in Eclipse. Modified Paths: -------------- Trunk/pcgen/outputsheets/base.xml Modified: Trunk/pcgen/outputsheets/base.xml =================================================================== --- Trunk/pcgen/outputsheets/base.xml 2010-11-13 21:29:49 UTC (rev 13830) +++ Trunk/pcgen/outputsheets/base.xml 2010-11-14 04:01:36 UTC (rev 13831) @@ -511,6 +511,19 @@ ==================================== ====================================--> <weapons> +|IIF(VAR.UseMartialArts:1)| + <martialarts> + <total>|WEAPONH.TOTALHIT|</total> +|IIF(VAR.MartialArtsBonusDamage<0)| + <damage>|VAR.MartialArtsDie.INTVAL|d|VAR.MartialArtsDieSize.INTVAL|-|VAR.MartialArtsBonusDamage.INTVAL|</damage> +|ELSE| + <damage>|VAR.MartialArtsDie.INTVAL|d|VAR.MartialArtsDieSize.INTVAL|+|VAR.MartialArtsBonusDamage.INTVAL|</damage> +|ENDIF| + <critical>|WEAPONH.CRIT|/x|WEAPONH.MULT|</critical> + <!-- Should be changed to a variable due to improved crit --> + <reach>|REACH|</reach> + </martialarts> +|ELSE| <unarmed> <total>|WEAPONH.TOTALHIT|</total> <damage>|WEAPONH.DAMAGE|</damage> @@ -535,7 +548,35 @@ --> </unarmed> |ENDIF| +<!-- Spirit Weapon - Melee --> +|IIF(VAR.UseSpiritWeaponMelee:1)| + <spiritweaponmelee> + <total>|VAR.SpiritWeaponMeleeToHit.INTVAL|</total> +|IIF(VAR.SpiritWeaponMeleeBonusDamage<0)| + <damage>|VAR.SpiritWeaponMeleeDie.INTVAL|d|VAR.SpiritWeaponMeleeDieSize.INTVAL|-|VAR.SpiritWeaponMeleeBonusDamage.INTVAL|</damage> +|ELSE| + <damage>|VAR.SpiritWeaponMeleeDie.INTVAL|d|VAR.SpiritWeaponMeleeDieSize.INTVAL|+|VAR.SpiritWeaponMeleeBonusDamage.INTVAL|</damage> +|ENDIF| + <critical>|VAR.SpiritWeaponMeleeCrit.INTVAL|/x|VAR.SpiritWeaponMeleeMult.INTVAL|</critical> + <reach>|REACH|</reach> + </spiritweaponmelee> +|ENDIF| +<!-- Spirit Weapon - Ranged --> +|IIF(VAR.UseSpiritWeaponRanged:1)| + <spiritweaponranged> + <total>+|VAR.SpiritWeaponRangedToHit.INTVAL|</total> +|IIF(VAR.SpiritWeaponRangedBonusDamage<0)| + <damage>|VAR.SpiritWeaponRangedDie.INTVAL|d|VAR.SpiritWeaponRangedDieSize.INTVAL|-|VAR.SpiritWeaponRangedBonusDamage.INTVAL|</damage> +|ELSE| + <damage>|VAR.SpiritWeaponRangedDie.INTVAL|d|VAR.SpiritWeaponRangedDieSize.INTVAL|+|VAR.SpiritWeaponRangedBonusDamage.INTVAL|</damage> +|ENDIF| + <critical>|VAR.SpiritWeaponRangedCritRange.INTVAL|/x|VAR.SpiritWeaponRangedCritMult.INTVAL|</critical> + <range>|VAR.SpiritWeaponRangedRange.INTVAL|</range> + </spiritweaponranged> +|ENDIF| +<!-- End Spirit Weapon - Ranged --> + |FOR,%weap,0,COUNT[EQTYPE.WEAPON]-1,1,1| |IIF(WEAPON.%weap.CATEGORY:BOTH)| This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |