Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 39 additions & 4 deletions src/NosCore.Data/Enumerations/Buff/AdditionalTypes.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// __ _ __ __ ___ __ ___ ___
// __ _ __ __ ___ __ ___ ___
// | \| |/__\ /' _/ / _//__\| _ \ __|
// | | ' | \/ |`._`.| \_| \/ | v / _|
// |_|\__|\__/ |___/ \__/\__/|_|_\___|
Expand Down Expand Up @@ -110,7 +110,15 @@ public enum Block : byte
ChanceRangedIncreased = 31,
ChanceRangedDecreased = 32,
ChanceMagicalIncreased = 41,
ChanceMagicalDecreased = 42
ChanceMagicalDecreased = 42,

/// <summary>
/// "Final damage from incoming critical hits is reduced by %s%% per critical hit
/// (max. %s hits)." Not a negation of anything above it: the first four pairs are the
/// parry, which is a chance, while this is priced per critical in a RUN.
/// </summary>
CriticalDamageReducedPerHit = 51,
CriticalDamageReducedPerHitNegated = 52
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}

public enum BossMonstersSkill : byte
Expand Down Expand Up @@ -1292,14 +1300,41 @@ public enum Type103 : byte
DecreaseConcentration = 52
}

/// <summary>
/// Type 104. Four of the ten subtypes were missing, and the fourth pair was marked as not
/// existing when the files declare it.
/// </summary>
Comment thread
coderabbitai[bot] marked this conversation as resolved.
/// <remarks>
/// What BCard.dat says, resolved through the client's language files:
///
/// 11 "When you're defending, there is a %s%% chance of %s%% of the damage being
/// reflected at the enemy (up to 50%% of the max. HP of the player with the buff)."
/// 12 the same sentence WITHOUT the cap - not a negation of 11
/// 21 "All opponents within %s space(s) take %s damage every 1.5 seconds."
/// 31 "When you're defending, there is a %s%% chance of summoning a(n) %s."
/// 32 the same, summoning two
/// 41 "Increases the attack power of your NosMate by %s%%."
/// 51 "All opponents within %s space(s) suffer %s every 1.5 seconds."
/// 52 "Allies within %s space(s) suffer [%s] every 1.5 seconds."
///
/// 51 and 52 are not a pair either: one names enemies and the other allies, so a handler
/// that treats 52 as the negation of 51 would put a hostile aura on its own party.
///
/// The names of 12 and of the existing 51 are left alone so nothing downstream breaks;
/// what they actually mean is written above.
/// </remarks>
public enum Type104 : byte
{
ReflectOnDeff = 11,
ReflectOnDeffNegated = 12,
AreaDamageEachSecond = 21,
AreaDamageEachSecondNegated = 22,
SummonMonsterOnDef = 31,
//SubType 4 didn't exist.
AreaBuffEachSecond = 51
SummonTwoMonstersOnDef = 32,
MateAttackIncreased = 41,
MateAttackDecreased = 42,
AreaBuffEachSecond = 51,
AreaBuffOnAlliesEachSecond = 52
}

public enum Type107 : byte
Expand Down
Loading