If I wanted to make monsters drop randomly one of 50 items, would there be an easier way than doing
{
base.OnDeath( c );
if ( Utility.RandomDouble() < 0.95 )
c.DropItem( new EmberStaff() );
if ( Utility.RandomDouble() < 0.55 )...
lol thanks :)
Heres the error
+ Custom/newshirtlol.cs:
CS1519: Line 10: Invalid token ':' in class, struct, or interface member declaration
CS1031: Line 10: Type expected
CS8124: Line 10: Tuple must contain at least two elements.
CS1026: Line 10: ) expected
CS1519: Line 10...
What am I doing wrong here? Just trying to add a new piece of clothing
using System;
using Server;
namespace Server.Items
{
public class newshirtlol : BaseClothing
{
[Constructable]
public newshirtlol : (0x558F)
{
Name = "<BASEFONT...
I am getting this upon launching with ConPVP, I am not sure what I need to fix in playermobile.cs
Errors:
+ Custom/ConPVP/Tournament.cs:
CS1061: Line 3181: 'PlayerMobile' does not contain a definition for 'DuelPlayer' and no accessible extension method 'DuelPlayer' accepting a first...
I wanted to add a timer of 10 seconds between xpots but I am unsure how to do so, did some researches and I found this but I am uncertain to where I should place it in baseexplosionpotion.cs
public override void Drink( Mobile from )
{
if ( Core.AOS && (from.Paralyzed ||...
Hi! What would I need to tweak to remove AOS protections (Fire, energy etc..) so damage is only based on min/max/AR/magic resist like on UOR?
(I'd like my server to be set to AOS without the AOS protections, thanks!)
Im pretty awful at this but I'd like to learn, there's a few script sequences that I cannot get right, thanks for your help
+1 to x skill upon double-clicking x item
public override void OnDoubleClick(
Mobile from // The entity (in most cases the player) which clicked on the...
Newbie question, whenever I spawn the mount in game they appear invisible and I see the name in the corner of my screen, I am guessing I am not installing this right, is there a method?