EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   COMMITTED: SE_InterruptCasting (https://www.eqemulator.org/forums/showthread.php?t=31620)

Caryatis 07-08-2010 12:20 AM

COMMITTED: SE_InterruptCasting
 
Kinda minor one but seemed easy to bang out, used in the bard AA Cacophony and some late expansion AEs.

code...
spell effects.cpp - line 2818 - add this
Code:

case SE_InterruptCasting:
spell effects.cpp - line 3288 - add this
Code:

                case SE_InterruptCasting:
                {       
                        if(IsCasting())
                        {
                                if(MakeRandomInt(0, 100) <= spells[spell_id].base[i])
                                {
                                        InterruptSpell();
                                }
                        }
                        break;
                }



All times are GMT -4. The time now is 05:16 AM.

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