Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #907 from Tostov/TouhouStyle-CE
Browse files Browse the repository at this point in the history
Touhou Style Patch
  • Loading branch information
LockdownX7 authored Nov 17, 2019
2 parents b289891 + 751287d commit eac1e08
Show file tree
Hide file tree
Showing 2 changed files with 266 additions and 0 deletions.
178 changes: 178 additions & 0 deletions Patches/TouhouStyle/ThingDefs_Misc/Apparel_TouHou.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationFindMod">

<mods><li>[TH]TouhouStyle - 红魔郷造型包</li></mods>

<match Class="PatchOperationSequence">
<operations>

<!--Outifts-->

<!--Flandre Outfit-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressFL"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>10.8</ArmorRating_Sharp>
<Bulk>7</Bulk>
<WornBulk>5</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressFL"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>21.6</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressFL"]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>0.08</ShootingAccuracyPawn>
<AimingAccuracy>0.04</AimingAccuracy>
</value>
</li>

<!--Remilia Outfit-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressRM"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>9.6</ArmorRating_Sharp>
<Bulk>7</Bulk>
<WornBulk>5</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressRM"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>18.9</ArmorRating_Blunt>
</value>
</li>

<!--Patchouli Outfit-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressMQ"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>1.25</ArmorRating_Sharp>
<Bulk>3</Bulk>
<WornBulk>1</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressMQ"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>0.24</ArmorRating_Blunt>
</value>
</li>

<!--Izayoi Outfit-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressPAD"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>10.8</ArmorRating_Sharp>
<Bulk>7</Bulk>
<WornBulk>3</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressPAD"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>13.5</ArmorRating_Blunt>
</value>
</li>

<!--Meirin Outfit-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressHMR"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>14.4</ArmorRating_Sharp>
<Bulk>7</Bulk>
<WornBulk>5</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressHMR"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>29.7</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressHMR"]/equippedStatOffsets/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>0.04</MeleeDodgeChance>
</value>
</li>

<!--Koakuma Outfit-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressLD"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>4</ArmorRating_Sharp>
<Bulk>3</Bulk>
<WornBulk>1</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNdressLD"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>0.42</ArmorRating_Blunt>
</value>
</li>

<!--Cirno Outfit-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_Cirno"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>2.2</ArmorRating_Sharp>
<Bulk>5</Bulk>
<WornBulk>1</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_Cirno"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>0.54</ArmorRating_Blunt>
</value>
</li>

<!--Rumia Outfit-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_Rumia"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>4.7</ArmorRating_Sharp>
<Bulk>5</Bulk>
<WornBulk>1</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_Rumia"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>0.72</ArmorRating_Blunt>
</value>
</li>

</operations>
</match>
</li>
</operations>
</Operation>
</Patch>
88 changes: 88 additions & 0 deletions Patches/TouhouStyle/ThingDefs_Misc/Headgear_TouHou.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationFindMod">

<mods><li>[TH]TouhouStyle - 红魔郷造型包</li></mods>

<match Class="PatchOperationSequence">
<operations>

<!--Hats-->

<!--Flandre Hat-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatFL"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>6</ArmorRating_Sharp>
<Bulk>3</Bulk>
<WornBulk>1</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatFL"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>10.8</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatFL"]/equippedStatOffsets/ShootingAccuracyPawn</xpath>
<value>
<ShootingAccuracyPawn>0.04</ShootingAccuracyPawn>
<AimingAccuracy>0.02</AimingAccuracy>
</value>
</li>

<!--Remilia Hat-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatRM"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>3.6</ArmorRating_Sharp>
<Bulk>7</Bulk>
<WornBulk>5</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatRM"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>5</ArmorRating_Blunt>
</value>
</li>

<!--Meirin Hat-->

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatHMR"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>4.8</ArmorRating_Sharp>
<Bulk>7</Bulk>
<WornBulk>1</WornBulk>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatHMR"]/statBases/ArmorRating_Blunt</xpath>
<value>
<ArmorRating_Blunt>13.5</ArmorRating_Blunt>
</value>
</li>

<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_TH_ZUNhatHMR"]/equippedStatOffsets/MeleeDodgeChance</xpath>
<value>
<MeleeDodgeChance>0.07</MeleeDodgeChance>
</value>
</li>

</operations>
</match>
</li>
</operations>
</Operation>
</Patch>

0 comments on commit eac1e08

Please sign in to comment.