ok so Im editing mobile.cs
reason being im adding a GetResistanceMod function for my equipment mods system.
ive had to change
public ResistanceMod( ResistanceType type, string name )
to
public ResistanceMod( ResistanceType type, string name, int offset, TimeSpan duration )
but this obviously has stuffed up any script with a resistance mod.
by default runUO only uses name, value.
My question is how to i make it so it will allow 2 arguments?
reason being im adding a GetResistanceMod function for my equipment mods system.
ive had to change
public ResistanceMod( ResistanceType type, string name )
to
public ResistanceMod( ResistanceType type, string name, int offset, TimeSpan duration )
but this obviously has stuffed up any script with a resistance mod.
by default runUO only uses name, value.
My question is how to i make it so it will allow 2 arguments?