Skip to main content
The Deno 2 Release Candidate is here
Learn more
method TraderHelper.prototype.addStandingValuesTogether
Re-export
import { TraderHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Add standing to current standing and clamp value if it goes too low

Parameters

currentStanding: number

current trader standing

standingToAdd: number

stansding to add to trader standing

Returns

number

current standing + added standing (clamped if needed)