- ServUO Version
- Publish 57
- Ultima Expansion
- Time Of Legends
I am trying to make a drink to see what kind of uses it may be able to have aside from just getting drunk. I am getting this error.
Errors:
+ CUSTOM SCRIPTS PnP/Witchery/Drink/IntelDrink.cs:
CS0115: Line 20: 'IntelDrink.Drink(Mobile)': no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
This is the part it doesn't like, first line is line 20
Any suggestions?
Errors:
+ CUSTOM SCRIPTS PnP/Witchery/Drink/IntelDrink.cs:
CS0115: Line 20: 'IntelDrink.Drink(Mobile)': no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
This is the part it doesn't like, first line is line 20
C#:
public override void Drink(Mobile from)
{
if (from.Int < 125)
{
from.SendMessage("You feel smarter!");
from.Int += 15;
from.Dex -= 5;
from.BAC = 60; // Makes the player drunk
}
else
{
from.SendMessage("You are already at your intelligence limit.");
}
base.Drink(from);
}
Any suggestions?