- ServUO Version
- Publish 58
- Ultima Expansion
- Endless Journey
I am having issues with a rider. When you kill the rider, the mount disappears and I want the mounts to be able to be tamed or killed after the rider dies. I found the ChaosDragoonElite script and think I found the correct part but it isn't working with mine because it also calls for dragonbarding and mine are not swamp dragons.
I tried this
but it just comes back as errors.
I also want to change the max slots on this to 5 and not sure how to do that. I found where it calls for how many slots at tame but nothing about max slots. Can I just add MaxSlot = 5 or something like that below ControlSlot = 2?
Thank you in advance for your help. I have been learning a lot!!
EDIT EDIT
I think I found where it calls for the mount to be alive after the rider dies but I think I will still have errors due to the dragon barding.
If someone know of a rider that the mount stays after the rider dies and is not on a swamp dragon, list it please. I can probably figure it out from that as well.
C#:
SwampDragon mt = new SwampDragon
{
HasBarding = true,
BardingResource = res
};
mt.BardingHP = mt.BardingMaxHP;
mt.Rider = this;
I tried this
C#:
BarbarianBear mt = new BarbarianBear
mt.Rider = this;
but it just comes back as errors.
I also want to change the max slots on this to 5 and not sure how to do that. I found where it calls for how many slots at tame but nothing about max slots. Can I just add MaxSlot = 5 or something like that below ControlSlot = 2?
Thank you in advance for your help. I have been learning a lot!!
EDIT EDIT
I think I found where it calls for the mount to be alive after the rider dies but I think I will still have errors due to the dragon barding.
C#:
ublic override bool OnBeforeDeath()
{
IMount mount = Mount;
if (mount != null)
{
if (mount is SwampDragon)
((SwampDragon)mount).HasBarding = false;
mount.Rider = null;
}
return base.OnBeforeDeath();
}
If someone know of a rider that the mount stays after the rider dies and is not on a swamp dragon, list it please. I can probably figure it out from that as well.
Last edited: