I have this bit of code for a mod that is supposed to change the base stats of the character
function update_player_skills(bonus_effect,bonus_amount)
player:remove_effect(bonus_effect)
if bonus_amount > 0 then
player:add_effect(bonus_effect, 1, "num_bp", true, bonus_amount)
end
end
I looked up on github but nothing comes up for bonus_effect. Can anyone tell me where it is defined ?
edit: Found it, it was in a json file of said mod. Silly me