Originally Posted by
~PureUnity~
I guess it's too complex of computer code to untangle.
i dont think it is .....
maybe its not as simple as i think, but from the mod's description, its an if else (if true then do this, else do that) statement.
They can just change it to an if statement inside the if else ....
to something like:
- Is there one or more debuff? If so:
- Is there also one or more buff? If so, use the lowest damage multiplier and use the highest damage multiplier on top of it (for example, if you have a 0.5 damage multiplier debuff, a 0.25 damage multiplier debuff and a 1.2 damage multiplier buff, this would result in a multiplier of 0.25*1.2 = 0.3). <--- i know it doesn't seem like much but if get a 75% debuff and then apply a 20% buff on it, it would turn out to be a 70% debuff( 200 damage, 75% debuff turn it into 50 damage, then apply the 20% buff on the 50 for 60 damage)
-If there is no buff, use the lowest damage multiplier (for example, if you have a 0.5 damage multiplier debuff and a 0.25 damage multiplier debuff, this would result in a multiplier of 0.25).
- Otherwise, is there one or more buff? If so, use the highest damage multiplier (for example, if you have a 1.05 damage multiplier buff and a 1.25 damage multiplier buff, this would result in a multiplier of 1.25).
i guess the difficulty is to decide if all the buff/debuff apply to the original stat or the stat after previous buff/debuff ?
like 20% buff+20% debuff= 0%
or 20%buff+ 20% dubuff= 4% debuff (1.2*0.8+0.96)
Bookmarks