We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 794a494 + 1902c39 commit 88f37a0Copy full SHA for 88f37a0
1 file changed
Code/MethodSystem/Methods/HealthMethods/DamageInfoMethod.cs
@@ -47,7 +47,7 @@ public override void Execute()
47
48
ReturnValue = Args.GetOption("property") switch
49
{
50
- "damage" => new StaticTextValue(standard?.Damage.ToString() ?? "none"),
+ "damage" => new NumberValue((decimal)(standard?.Damage ?? 0)),
51
"hitbox" => new StaticTextValue(standard?.Hitbox.ToString() ?? "none"),
52
"firearmused" => new ReferenceValue(firearm?.Firearm),
53
"attacker" => new ReferenceValue(attacker?.Attacker),
0 commit comments