The Problem:
Lines 6-11:
These lines will change every so often to accommodate the SocketMount and SocketCreature buffs....
What I am having issues with is finding a way to have a creature utilize a HasBreath effect. This is just an example as I am just testing the system thus far. It's still very unstable, but works the way it should between Socket Mob and Gem interactions. I just can't seem to get the buffs added correctly.
I've asked for assistance, but it's been a while since I've scripted anything new for RunUO, let alone ServUO and so I'm requesting a little help; pay for play negotiable if we get an end result. Thanks.
Lines 6-11:
These lines will change every so often to accommodate the SocketMount and SocketCreature buffs....
What I am having issues with is finding a way to have a creature utilize a HasBreath effect. This is just an example as I am just testing the system thus far. It's still very unstable, but works the way it should between Socket Mob and Gem interactions. I just can't seem to get the buffs added correctly.
I've asked for assistance, but it's been a while since I've scripted anything new for RunUO, let alone ServUO and so I'm requesting a little help; pay for play negotiable if we get an end result. Thanks.
Code:
switch (Utility.Random(3))
{
case 0:
{
bsm.UsedSockets += 1;
bsm.Hue = 68;
bsm.AugmentList = bsm.AugmentList + "\n" + m_Augmentation.Name;
from.SendMessage(55, "You have successfully enhanced the Socket Horse!");
bsm.ActiveSpeed = 5.0;
m_Augmentation.Delete();
break;
}
case 1:
{
from.SendMessage(55, "You have failed in your attempt to enhance the Socket Horse!");
m_Augmentation.Delete();
break;
}
case 2:
{
bsm.Kill();
from.SendMessage(55, "The power in the gem was too strong and killed your Socket Horse!");
m_Augmentation.Delete();
break;
}
}