Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ProfileHelper.prototype.addSkillPointsToPlayer
import { ProfileHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/ProfileHelper.d.ts";

Add points to a specific skill in player profile

Parameters

pmcProfile: IPmcData

Skill to add points to

skill: SkillTypes

Points to add

pointsToAdd: number

Player profile with skill

optional
useSkillProgressRateMultipler: boolean

Skills are multiplied by a value in globals, default is off to maintain compatibility with legacy code