Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit c63cc2d

Browse files
committed
Fatalis break thresholds and tenderize ids
1 parent a55207d commit c63cc2d

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

HunterPie/HunterPie.Resources/Data/MonsterData.xml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -270,16 +270,24 @@
270270
<Crown Mini="0.9" Silver="1.15" Gold="1.23"/>
271271
<Parts Max="12">
272272
<Part Name="MONSTER_PART_UNKNOWN" Group="HORN" IsRemovable="True"/>
273-
<Part Name="MONSTER_PART_HEAD" Group="HEAD"/>
273+
<Part Name="MONSTER_PART_HEAD" Group="HEAD" TenderizeIds="0,3">
274+
<Break Threshold="3"/>
275+
</Part>
274276
<Part Name="MONSTER_PART_NECK" Group="NECK"/>
275-
<Part Name="MONSTER_PART_CHEST" Group="CHEST"/>
277+
<Part Name="MONSTER_PART_CHEST" Group="CHEST">
278+
<Break Threshold="2"/>
279+
</Part>
276280
<Part Name="MONSTER_PART_BODY" Group="BODY"/>
277-
<Part Name="MONSTER_PART_LARM" Group="ARM"/>
278-
<Part Name="MONSTER_PART_RARM" Group="ARM"/>
279-
<Part Name="MONSTER_PART_LLEG" Group="LEG"/>
280-
<Part Name="MONSTER_PART_RLEG" Group="LEG"/>
281-
<Part Name="MONSTER_PART_LWING" Group="WING"/>
282-
<Part Name="MONSTER_PART_RWING" Group="WING"/>
281+
<Part Name="MONSTER_PART_LARM" Group="ARM" TenderizeIds="1,4"/>
282+
<Part Name="MONSTER_PART_RARM" Group="ARM" TenderizeIds="1,4"/>
283+
<Part Name="MONSTER_PART_LLEG" Group="LEG" TenderizeIds="2"/>
284+
<Part Name="MONSTER_PART_RLEG" Group="LEG" TenderizeIds="5"/>
285+
<Part Name="MONSTER_PART_LWING" Group="WING">
286+
<Break Threshold="1"/>
287+
</Part>
288+
<Part Name="MONSTER_PART_RWING" Group="WING">
289+
<Break Threshold="1"/>
290+
</Part>
283291
<Part Name="MONSTER_PART_TAIL" Group="TAIL"/>
284292
</Parts>
285293
</Monster>

HunterPie/Hunterpie.xaml.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
using System.Net.Http;
3131
using HunterPie.Core.Craft;
3232
using Newtonsoft.Json;
33+
using System.Diagnostics;
3334

3435
namespace HunterPie
3536
{
@@ -97,7 +98,7 @@ public Hunterpie()
9798
AppDomain.CurrentDomain.UnhandledException += ExceptionLogger;
9899

99100
IsPlayerLoggedOn = false;
100-
101+
101102
SetDPIAwareness();
102103

103104
Buffers.Initialize(1024);
@@ -114,7 +115,6 @@ public Hunterpie()
114115
LoadCustomTheme();
115116
LoadOverwriteTheme();
116117
Debugger.LoadNewColors();
117-
118118
AdministratorIconVisibility = IsRunningAsAdmin() ? Visibility.Visible : Visibility.Collapsed;
119119

120120
Environment.CurrentDirectory = AppDomain.CurrentDomain.BaseDirectory;
@@ -457,7 +457,7 @@ private void ExceptionLogger(object sender, UnhandledExceptionEventArgs e)
457457
using (var content = new MultipartFormDataContent())
458458
{
459459
content.Add(new StringContent(""), "username");
460-
content.Add(new StringContent($"```Exception type: {e.ExceptionObject.GetType()}\n-----------------------------------\nBranch: {UserSettings.PlayerConfig.HunterPie.Update.Branch}\nVersion: {HUNTERPIE_VERSION}\nGAME BUILD VERSION: {Game.Version}\nHunterPie elapsed time: {DateTime.UtcNow - Process.GetCurrentProcess().StartTime.ToUniversalTime()}```"), "content");
460+
content.Add(new StringContent($"```Exception type: {e.ExceptionObject.GetType()}\n-----------------------------------\nBranch: {UserSettings.PlayerConfig.HunterPie.Update.Branch}\nVersion: {FileVersionInfo.GetVersionInfo(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "HunterPie.exe")).FileVersion}\nGAME BUILD VERSION: {Game.Version}\nHunterPie elapsed time: {DateTime.UtcNow - Process.GetCurrentProcess().StartTime.ToUniversalTime()}```"), "content");
461461
content.Add(new StringContent(e.ExceptionObject.ToString()), "file", "crashes.txt");
462462
req.Content = content;
463463

HunterPie/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@
5454
// by using the '*' as shown below:
5555
// [assembly: AssemblyVersion("1.0.*")]
5656
[assembly: AssemblyVersion("1.0.3.97")]
57-
[assembly: AssemblyFileVersion("1.0.3.971")]
57+
[assembly: AssemblyFileVersion("1.0.3.973")]
5858
[assembly: NeutralResourcesLanguage("en")]
5959

0 commit comments

Comments
 (0)