Bot spell damage question
I was trying to parse bots the other day to balance some things and i noticed that bots that cast spell don't seem to actually show how much damage they do unless they crit??
Is this something easy to fix?? I was going to tack on something after the crit block where it says... Code:
mlog(SPELLS__CRITS, "Spell crit successful. Final damage modifier: %d, Final Damage: %d", modifier, (value * modifier / 100) - spell_dmg); Any information is welcome, thanks. |
I'll look into this when I get a chance.
|
3 years too late but I googled the same question. This is a simple fix I found to show bot spell damage.. It's not optimal I'm sure. I just added
entity_list.MessageClose(this, false, 100, MT_Spells, "%s hits for (%d)", GetName(), -value); to the Bot.cpp right above the return value; in GetActSpellDamage |
All times are GMT -4. The time now is 06:39 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.