#W# Merge: Merged with upstream. Conflicts resolved.
This commit is contained in:
commit
f6f50470a9
276 changed files with 6742 additions and 8845 deletions
|
|
@ -15,7 +15,7 @@ public partial class BigFish : Item, ICarvable
|
|||
public BigFish() : base(0x09CC)
|
||||
{
|
||||
// TODO: Find correct formula. max on OSI currently 200, OSI dev says it's not 200 as max, and ~ 1/1,000,000 chance to get highest
|
||||
Weight = Utility.RandomMinMax(3, 200);
|
||||
Weight = Core.SE ? Utility.RandomMinMax(3, 200) : 100;
|
||||
Hue = Utility.RandomBool() ? 0x847 : 0x58C;
|
||||
}
|
||||
|
||||
|
|
@ -23,7 +23,8 @@ public partial class BigFish : Item, ICarvable
|
|||
|
||||
public void Carve(Mobile from, Item item)
|
||||
{
|
||||
ScissorHelper(from, new RawFishSteak(), Math.Max(16, (int)Weight) / 4, false);
|
||||
var steaks = Core.SE ? Math.Max(4, (int)Weight / 5) : Math.Max(16, (int)Weight) / 4;
|
||||
ScissorHelper(from, new RawFishSteak(), steaks, false);
|
||||
}
|
||||
|
||||
public override void GetProperties(IPropertyList list)
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@ public abstract partial class BaseMagicFish : Item
|
|||
|
||||
public virtual bool Apply(Mobile from)
|
||||
{
|
||||
var applied = SpellHelper.AddStatOffset(from, Type, Bonus, TimeSpan.FromMinutes(1.0));
|
||||
var duration = Core.SE ? TimeSpan.FromSeconds(12.0) : TimeSpan.FromMinutes(1.0);
|
||||
var applied = SpellHelper.AddStatOffset(from, Type, Bonus, duration);
|
||||
|
||||
if (!applied)
|
||||
{
|
||||
|
|
@ -50,7 +51,7 @@ public partial class PrizedFish : BaseMagicFish
|
|||
{
|
||||
}
|
||||
|
||||
public override int Bonus => 5;
|
||||
public override int Bonus => Core.SE ? 1 : 5;
|
||||
public override StatType Type => StatType.Int;
|
||||
|
||||
public override int LabelNumber => 1041073; // prized fish
|
||||
|
|
@ -64,7 +65,7 @@ public partial class WondrousFish : BaseMagicFish
|
|||
{
|
||||
}
|
||||
|
||||
public override int Bonus => 5;
|
||||
public override int Bonus => Core.SE ? 1 : 5;
|
||||
public override StatType Type => StatType.Dex;
|
||||
|
||||
public override int LabelNumber => 1041074; // wondrous fish
|
||||
|
|
@ -78,7 +79,7 @@ public partial class TrulyRareFish : BaseMagicFish
|
|||
{
|
||||
}
|
||||
|
||||
public override int Bonus => 5;
|
||||
public override int Bonus => Core.SE ? 1 : 5;
|
||||
public override StatType Type => StatType.Str;
|
||||
|
||||
public override int LabelNumber => 1041075; // truly rare fish
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue