edited March 22 in ORK Scripting
Hi,
I'm using
equipShortcut.SetStatusValue(i, equipShortcut.GetStatusValue(i) + (int)mainBonusCurrentValue);
to add status bonus to my equipment.

Here comes new requirement: I want to use Status Value Percent type of Status Bonus, but I can't find a way to change the status bonus type via code, also I want the Multiply to be checked, how can I do it?
statusbonuspercent
Post edited by bitmore on
  • That is a bit complex - you can do it via the AddRandomStatusBonus function of the EquipShortcut, but you'd need to create a new RandomStatusBonusSettings with that setup. I'd recommend to use a schematic with an Add Random Status Bonus node instead.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.