Kenko
Page
Virtual Mount [must have!]
As you may, or may not, have noticed, if you attempt to dismount distro Neira, which claims to be not able to happen. You receive the "You dismount your target!" message, Neira receives the dismount effect, and then she quickly makes it back to her mount.
If you want to stop Neira's sickness. Vote for me.
File header:
Items\Misc\Bola.cs around line 87
change
to
Items\Weapons\Abilities\Dismount.cs around line 49
change
to
Lastly, a demostration of how it works.
Mobiles\Special\Neira.cs around line 65
make it look like this
And our sweet Neira will be glad to mount that thing again.
As you may, or may not, have noticed, if you attempt to dismount distro Neira, which claims to be not able to happen. You receive the "You dismount your target!" message, Neira receives the dismount effect, and then she quickly makes it back to her mount.
If you want to stop Neira's sickness. Vote for me.
File header:
/* VirtualMount.cs
*
* This is not custom, it came inside Neira and it was private, I made it public
* and added an argument to change Mount's ItemID. Added in Bola.cs and Dismount.cs
* required mods so that if a Mobile is mounted on a VirtualMount it isn't dismounted.
* because distro code was buggy, yay. Kenko for the win.
*
* Kenko.- ++Karma j/k.
*
*/
Items\Misc\Bola.cs around line 87
change
Code:
if ( mt != null )
mt.Rider = null;
Code:
//Kenko for the win, you can't dismount virtual mounts for heavens sake!
//<begin mod>
if( mt == null || mt is VirtualMount )
{
from.SendLocalizedMessage( 1060848 ); // This attack only works on mounted targets
return;
}
mt.Rider = null;
//<end mod/>
Items\Weapons\Abilities\Dismount.cs around line 49
change
Code:
if ( mount == null )
Code:
if ( mount == null || mount is VirtualMount ) //Kenko: For devil's lust! YET ANOTHER MOD GRR
Lastly, a demostration of how it works.
Mobiles\Special\Neira.cs around line 65
make it look like this
Code:
//new SkeletalMount().Rider = this;
AddItem( new VirtualMountItem( this, 0x3EBB ) );
And our sweet Neira will be glad to mount that thing again.