The level of the spell or buff bot doesnt matter in this case since its forcing the client to cast the spell. Therefore if a level 1 character receives a group buff through the selfcast routine, it treats it as a level 1 character casting the spell, which using the buff formula equates to a short duration buff. I would say use $client->CastSpell but I think that would result in the same effect as using selfcast.
Alternatively you could copy the buff and change the duration formula to use a set duration although Im too lazy to look up which formula that would be besides 50(which is perm and probably not desirable).
|