We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a65f464 commit 1902c39Copy full SHA for 1902c39
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