Jump to content

How does MUL + ADD work for Property Modifiers?


hwoodiwiss

Recommended Posts

  • 1 year later...

I only ask, because for uNumProjectiles, it just seems to add. What does it do?!

No one appears to really know :tongue:

I would assume it means Multiply the X by Y then add Y to the result, but it doesn't seem to work that way, no idea why that sort of insanity exists when we just want a Multiplier.

Edited by Halstrom
Link to comment
Share on other sites

Multiply and Add takes the base value it's editing and multiplies it by the value you enter, then adds the outcome to the base value. At least that's what I think it does after lots of experimenting. So, for example, if the weapon's base damage is 10, and you do a Mult. and Add 1.0, you'll end up with 10 being added to the value. It doesn't account for anything adding to/subtracting from the base value elsewhere - only the value as set in the weapon's form or any Set function used in a mod that's already attached.

 

I'm not sure about uNumProjectiles since I've only used Set and Add for this one, but you may be seeing the result of rounding after multiplying an integer by a float. EDIT: Never mind, the base nvalue for it is generally going to be 1, so Multiply and Add will have the same result as Add.

Edited by isathar
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...