- ServUO Version
- Publish 57
- Ultima Expansion
- Renaissance
Not entirely certain why this is not being effective
The damage bonus is actually very high for testing purposes
Damage remains the same. I got something similar to lessen the damage done to players by controlled creature and it works so Im uncertain why this one isnt working. Thank you!
C#:
public virtual void AlterMeleeDamageTo(Mobile to, ref int damage)
{
if(this is BaseCreature && ((BaseCreature)this).Controlled && to is BaseCreature && ((BaseCreature)to).IsMonster)
{
int damagebonus = (int)((BaseCreature)this).ControlMaster.Skills[SkillName.Herding].Value * 5;
damage = damage * (int)damagebonus;
}
The damage bonus is actually very high for testing purposes
Damage remains the same. I got something similar to lessen the damage done to players by controlled creature and it works so Im uncertain why this one isnt working. Thank you!