34 lines
No EOL
681 B
C#
34 lines
No EOL
681 B
C#
using System;
|
|
using Server;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class ExplosionPotion : BaseExplosionPotion
|
|
{
|
|
public override int MinDamage { get { return 10; } }
|
|
public override int MaxDamage { get { return 20; } }
|
|
|
|
[Constructable]
|
|
public ExplosionPotion() : base( PotionEffect.Explosion )
|
|
{
|
|
}
|
|
|
|
public ExplosionPotion( Serial serial ) : base( serial )
|
|
{
|
|
}
|
|
|
|
public override void Serialize( GenericWriter writer )
|
|
{
|
|
base.Serialize( writer );
|
|
|
|
writer.Write( (int) 0 ); // version
|
|
}
|
|
|
|
public override void Deserialize( GenericReader reader )
|
|
{
|
|
base.Deserialize( reader );
|
|
|
|
int version = reader.ReadInt();
|
|
}
|
|
}
|
|
} |