Post#8 » Thu Mar 14, 2013 3:16 am
The changes to mana cost focus effects/buffs are live on the Test Server.
Main Change:
Prior to these changes, the spell with the highest % modification would always take precedence.
Example of Old Code:
You have Focus A which reduces mana cost by 36% (code calculates it as a 36 value)
You have buff A that increases mana cost by 30% (code calculates it as a -30 value)
You have buff B that increases mana cost by 75% (code calculates it as a -75 value)
In the end the code was calculating like this: 36+(-30) = 6% Mana Cost reduction. It would null out Buff B because it saw Buff A as being a "higher" value.
Now the code will add all of the values together to get the correct %.
New Code Example 1:
You have Focus A which reduces mana cost by 36% (code calculates it as a 36 value)
You have Buff A which reduces mana cost by 100% (code calculates it as a 100 value)
You have Buff B which increases mana cost by 75% (code calculates it as a -75 value)
In the end you have 36+100+(-75) = 61% Mana Cost reduction.
New Code Example 2:
You have Focus A which reduces mana cost by 36% (code calculates it as a 36 value)
You have Buff A which increases mana cost by 75% (code calculates it as a -75 value)
You have Buff B which increases mana cost by 30% (code calculates it as a -30 value)
In the end you have 36+(-75)+(-30) = 69% Mana Cost Increase.
The way that Mana Cost focuses work did not change. The highest Focus effect will still take precedence. The only thing that changed is how the code adds up BUFF effects with mana cost modifications.
Also, the spells now stack properly with this change.
Again these changes are on test server if anyone wants to see it in action.
Oh the fun you all are going to have in DSK3...
Simon says.. touch the green one! Nooooo BLIQUE NOT THE RED ONE! zomg you just got me "Vaion Touched"!