Code question on spells.cpp
Hello,
In subroutine Mob::CastedSpellFinished on spells.cpp, the bard AA check function GetAA(aaInternalMetronome) is called within the if-then-else section which is not usable by Bard: if(GetClass() == BARD) // bard's can move when casting any spell... { /* some code skipped */ } else // not bard, check movement { // if has been attacked, or moved while casting // check for regain concentration /* some code skipped */ if(IsClient()) { // max 93% chance at 252 skill channelchance = 30 + GetSkill(CHANNELING) / 400.0f * 100; channelchance -= attacked_count * 2; channelchance += channelchance * (GetAA(aaChanellingFocus)*5) / 100; channelchance += channelchance * (GetAA(aaInternalMetronome)*5) / 100; } else { // NPCs are just hard to interrupt, otherwise they get pwned channelchance = 85; channelchance -= attacked_count; } } |
All times are GMT -4. The time now is 11:43 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.