mitty2
Member
Guys I converted this to work with ServUO, Everything seems to compile and work fine, can craft a few of the weapons (only put in a few for testing in crafting.) Everything works great except none of them will gain exp????? (Used Valorite LevelKatana for test). I looked in old runuo2, no mods I could see to BaseWeapon or BaseCreature. Kinda stumped! Here is the package... It is prob something silly but I could use some more eyes on this! TY
Trying to fix by self, might it be here in this script? Not sure how new core handles mobile layers. I don't think its finding the levelable weapon. Thus no EXP is gained on kill.
public static void CheckItems( Mobile killer, Mobile killed )
{
if ( killer != null )
{
for( int i = 0; i < 25; ++i )
{
Item item = killer.FindItemOnLayer( (Layer)i );
if ( item != null && item is ILevelable )
CheckLevelable( (ILevelable)item, killer, killed );
}
}
}
Post automatically merged:
Post automatically merged:
Guys I converted this to work with ServUO, Everything seems to compile and work fine, can craft a few of the weapons (only put in a few for testing in crafting.) Everything works great except none of them will gain exp????? (Used Valorite LevelKatana for test). I looked in old runuo2, no mods I could see to BaseWeapon or BaseCreature. Kinda stumped! Here is the package... It is prob something silly but I could use some more eyes on this! TY
Post automatically merged:
Trying to fix by self, might it be here in this script? Not sure how new core handles mobile layers. I don't think its finding the levelable weapon. Thus no EXP is gained on kill.
public static void CheckItems( Mobile killer, Mobile killed )
{
if ( killer != null )
{
for( int i = 0; i < 25; ++i )
{
Item item = killer.FindItemOnLayer( (Layer)i );
if ( item != null && item is ILevelable )
CheckLevelable( (ILevelable)item, killer, killed );
}
}
}
Attachments
Last edited: