RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

{0}_{0}-A typical problem.Help me plz.

Tassyon T

Wanderer
zillafan;774336 said:
How to change the vendor's tax that hired by player???


Browse the PlayerVendor script.

Here are notible constructors, methods, etc. to look at:

PlayerVendor : Mobile, IEntity, IPoint3D, IPoint2D, IHued
Nested Types: PayTimer, PVBuyTarget
(ctor) PlayerVendor( Serial serial )
(ctor) PlayerVendor( Mobile owner )
int BankAccount( get; set; )
int ChargePerDay( get; )
bool Destroying( get; set; )
int HoldGold( get; set; )
Mobile Owner( get; set; )
Hashtable SellItems( get; )
VendorItem AddInfo( Item item, Item target )
virtual bool CanBeDamaged()
virtual bool CheckNonlocalDrop( Mobile from, Item item, Item target )
virtual bool CheckNonlocalLift( Mobile from, Item item )
virtual void Deserialize( GenericReader reader )
void Dismiss( Mobile from )
virtual void DisplayPaperdollTo( Mobile m )
virtual void GetChildProperties( ObjectPropertyList list, Item item )
void GiveGold( Mobile from )
void GiveItem( Mobile from, Item item, Item target )
virtual bool HandlesOnSpeech( Mobile from )
void InitBody()
virtual void InitOutfit()
bool IsOwner( Mobile m )
virtual bool IsSnoop( Mobile from )
virtual void OnAfterDelete()
virtual bool OnBeforeDeath()
virtual void OnDoubleClick( Mobile from )
virtual bool OnDragDrop( Mobile from, Item item )
virtual void OnSpeech( SpeechEventArgs e )
void RemoveInfo( Item item )
virtual void Serialize( GenericWriter writer )
bool WasNamed( string speech )

Try changing the math in the int ChargePerDay( get; ) determinant. Post any errors you get here and we'll help troubleshoot.
 
Top