Skip to content

Commit

Permalink
Add Horn Buffs
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonyue0417 committed Apr 22, 2020
1 parent 6ded567 commit 52a559f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
7 changes: 5 additions & 2 deletions SmartHunter/Game/Config/LocalizationConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,10 @@ public class LocalizationConfig
{ "LOC_STATUS_EFFECT_ALL_AILMENTS_NEGATED", "All Ailments Negated" },
{ "LOC_STATUS_EFFECT_WIND_PRESSURE_NEGATED_AND_EARPLUGS_S", "Wind Pressure Negated & Earplugs (S)" },
{ "LOC_STATUS_EFFECT_ABNORMAL_STATUS_ATTACK_INCREASED", "Abnormal Status Atk. Increased" },

{ "LOC_STATUS_EFFECT_STAMINA_UP_AND_RECOVERY", "Stamina Up & Recovery"},
{ "LOC_STATUS_EFFECT_EXTENDED_HEALTH_RECOVERY", "Extended Health Recovery"},
{ "LOC_STATUS_EFFECT_SPEED_BOOST_AND_EVADE_WINDOW_UP","Speed Boost & Evade Window Up" },
{ "LOC_STATUS_EFFECT_ELEMENTAL_EFFECTIVENESS_UP", "Elemental Effectiveness Up"},
// Orchestra
{ "LOC_STATUS_EFFECT_HEALTH_RECOVERY", "Health Recovery" },
{ "LOC_STATUS_EFFECT_HEALTH_BOOST", "Health Boost" },
Expand Down Expand Up @@ -340,7 +343,7 @@ public class LocalizationConfig
{ "LOC_STATUS_EFFECT_ARMORSKIN", "Armorskin" },
{ "LOC_STATUS_EFFECT_MEGA_ARMORSKIN", "Mega Armorskin" },
{ "LOC_STATUS_EFFECT_COOL_DRINK", "Cool Drink" },
{ "LOC_STATUS_EFFECT_HOT_DRINK", "Hot Drink" },
{ "LOC_STATUS_EFFECT_HOT_DRINK", "Hot Drink" },
{ "LOC_STATUS_EFFECT_HEALTH_RECOVERY(HOT_SPRING)","Health Recovery (Hot Spring)"},
{ "LOC_STATUS_EFFECT_CLODPROOF(HOT_SPRING)","Clodproof (Hot Spring)"},
{ "LOC_STATUS_EFFECT_ATTACK_UP(POWERCONE)","Attack UP (Powercone)"},
Expand Down
7 changes: 4 additions & 3 deletions SmartHunter/Game/Config/PlayerDataConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,16 @@ private static string indexToHexStrNoOffset(int index)
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_DRAGON_RESISTANCE_BOOST_L", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(52)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_ELEMENTAL_ATTACK_BOOST", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(53)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_BLIGHT_NEGATED", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(54)),


new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_KNOCKBACKS_NEGATED", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(57)),

new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_ELEMENTAL_RESISTANCE_UP", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(59)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_AFFINITY_UP", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(60)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_ALL_AILMENTS_NEGATED", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(61)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_WIND_PRESSURE_NEGATED_AND_EARPLUGS_S", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(62)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_ABNORMAL_STATUS_ATTACK_INCREASED", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(63)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_STAMINA_UP_AND_RECOVERY", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(67)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_EXTENDED_HEALTH_RECOVERY", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(68)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_SPEED_BOOST_AND_EVADE_WINDOW_UP", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(69)),
new StatusEffectConfig("Horn", "LOC_STATUS_EFFECT_ELEMENTAL_EFFECTIVENESS_UP", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(70)),

new StatusEffectConfig("Coral", "LOC_STATUS_EFFECT_ATTACK_UP_S", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(72)),
new StatusEffectConfig("Coral", "LOC_STATUS_EFFECT_ATTACK_UP_L", (uint)StatusEffectConfig.MemorySource.Base, indexToHexStrNoOffset(73)),
Expand Down
3 changes: 1 addition & 2 deletions SmartHunter/Game/Data/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public int CompareTo(Player other)
{
if (this.Damage == 0 && other.Damage == 0)
return 0;
int num = this.Damage > other.Damage ? -1 : 1;
return num;
return this.Damage > other.Damage ? -1 : 1;
}

public override string ToString()
Expand Down
4 changes: 2 additions & 2 deletions SmartHunter/SmartHunter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<LangVersion>latest</LangVersion>
<AssemblyTitle>SmartHunter</AssemblyTitle>
<Deterministic>false</Deterministic>
<AssemblyVersion>2020.04.20.01</AssemblyVersion>
<FileVersion>2020.04.20.01</FileVersion>
<AssemblyVersion>2020.04.23.00</AssemblyVersion>
<FileVersion>2020.04.23.00</FileVersion>
<OutputPath>bin\$(Configuration)</OutputPath>
<UseWPF>true</UseWPF>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
Expand Down
Binary file modified SmartHunter/bin/Debug/SmartHunter.exe
Binary file not shown.

0 comments on commit 52a559f

Please sign in to comment.