EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Spell Casting Mastery (https://www.eqemulator.org/forums/showthread.php?t=39847)

provocating 07-14-2015 04:41 PM

Spell Casting Mastery
 
Anyone know why SCM is checking against a random? I was under the understanding that it was a passive always on ability and should not be random.

https://github.com/EQEmu/Server/blob...ne/effects.cpp

I put some extra logging in the code so I can get a feel for what is going on and it is rather rare there are any spell savings at all.

Code:

        if(SuccessChance <= (SpecializeSkill * 0.3 * bonus))
        {
                PercentManaReduction = 1 + 0.05f * SpecializeSkill;
                switch(GetAA(aaSpellCastingMastery))
                {
                case 1:
                        PercentManaReduction += 2.5;
                        break;
                case 2:
                        PercentManaReduction += 5.0;
                        break;
                case 3:
                        PercentManaReduction += 10.0;
                        break;
                }

                switch(GetAA(aaAdvancedSpellCastingMastery))
                {
                case 1:
                        PercentManaReduction += 2.5;
                        break;
                case 2:
                        PercentManaReduction += 5.0;
                        break;
                case 3:
                        PercentManaReduction += 10.0;
                        break;
                }
        }


Shendare 07-14-2015 04:43 PM

Your understanding sounds the same as mine... SCM is a flat mana preservation effect applied to all spellcasts. Don't think it has anything to do with Specialization skills. Sounds like a matter of confusion when it was implemented.

Shendare 07-14-2015 04:44 PM

http://everquest.allakhazam.com/wiki...asting_Mastery

provocating 07-14-2015 04:51 PM

Ahh.....nevermind... I see, this explained it.

http://otherworlds31279.yuku.com/top...r#.VaV3SkYgZ8E

provocating 07-14-2015 04:55 PM

Quote:

Originally Posted by Shendare (Post 241672)

LOL Shendare, when I started digging into it I was like "That is not how I understood it". That kind of blows if you think about it. You are not guaranteed a savings.

demonstar55 07-14-2015 06:56 PM

SPA 132 (what mana pres focus and SCM use) works by saving between base1 and base2 percent of the mana. I think this SPA needs to be looked at again and SCM shouldn't have any GetAA non-sense.

I also don't see anything in the AA data that says it shouldn't work as I described (which has no RNG since base1 and base2 are the same)


All times are GMT -4. The time now is 09:27 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.