I have a quest to get a set of started armor which is nice.
Unless you are a gargoyle starting out.
I Have tried several things and get an error message that an object reference is required for the non-static field.(Race/gargoyle)?
I have tried a few things with race, no success.
Any thoughts on how to accomplish this?
**still testing things as I am typing.
Unless you are a gargoyle starting out.
I Have tried several things and get an error message that an object reference is required for the non-static field.(Race/gargoyle)?
Code:
public PlayerTicketQuest() : base()
{
AddObjective( new ObtainObjective( typeof( NewPlayerTicket ), "New Player Ticket", 1, 0x14EF ) );
if( PlayerMobile.Race == Race.Gargoyle)<-----------------------THIS IS WHAT I CANT FIGURE OUT
AddReward( new BaseReward( typeof( DashasSatchel2 ), "Dasha's Satchel" ) );
else
AddReward( new BaseReward( typeof( DashasSatchel ), "Dasha's Satchel" ) );
}
Any thoughts on how to accomplish this?
**still testing things as I am typing.