Quote:
Originally Posted by sorvani
I'm still missing something. because
Code:
void Mob::DoBuffTic(int16 spell_id, int32 ticsremaining, int8 caster_level, Mob* caster) {
contains caster_level and caster, are we meaning they are not passed in to here from where dobufftic is called?
|
We only pass the caster level currently. We'd need the rest of the mob object *OR* create a seperate function for determining bard calculations. Since all we do is pass the level, and not the instrument in question, we would need the client's inventory, and at that point it's just easier to pass a mob object.