View Single Post
  #11  
Old 04-13-2012, 03:12 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by sorvani View Post
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.
Reply With Quote