Can use “shouldUpdateModifiers”. If shouldUpdateModifiers = true, the system will recalculate modifiers each time the method is called. If shouldUpdateModifiers = false, the system will cache the results of modifiers at BaseStats.cs, and will never update.
Pros: many enemies with their stats and weapon, but they will never change their weapon or lv ups or maybe some changes happen but not frequently. So, in each frame, recalculating modifiers of many enemies is unnecessary, “shouldUpdateModifiers” can be set as “false” for better performance.
Or just use shouldUseModifiers = false for enemies like the tutorial video, shouldUseModifiers = true for player