EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Bards can now cast while running! (https://www.eqemulator.org/forums/showthread.php?t=5758)

IADaenks 03-06-2003 05:03 AM

Bards can now cast while running!
 
This fixes bards not being able to cast while running, its VERY simple...

this is in spells.cpp:
Code:

void Mob::SpellProcess() {

    if (casting_spell_id)

    {

        float dist = (float)sqrt((float)pow(x_pos-GetSpellX(),2)+pow(y_pos-GetSpellY(),2));

        if (dist > 5 && !IsBardSong(casting_spell_id))

        {

                        isinterrupted = true;

        }

    }

continue with rest of function normally

still working on the fixzzle bug, and spells getting intrupted by normal hits.... but heres a start :)


-Dan

Baron Sprite 03-06-2003 06:06 AM

ok


All times are GMT -4. The time now is 11:30 PM.

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