using System;
namespace Server.Items
{
public class AcidProofRobe : Robe
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public AcidProofRobe()
{
this.Hue = 0x455;
this.LootType = LootType.Blessed;
}
public AcidProofRobe(Serial serial)
: base(serial)
{
}
public override int LabelNumber
{
get
{
return 1095236;
}
}// Acid-Proof Robe [Replica]
public override int BasePoisonResistance
{
get
{
return 100;
}
}
public override int InitMinHits
{
get
{
return 150;
}
}
public override int InitMaxHits
{
get
{
return 150;
}
}
public override bool CanFortify
{
get
{
return false;
}
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)1);
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
if (version < 1 && this.Hue == 1)
{
this.Hue = 0x455;
}
}
}
}
Yes, I saw that in DamageRegion.cs just wondering if the script was available.DamagingRegion around line 229 = AcidRiver
Then in the Damage method do a check to see if they have the Lotion on and if so then send a message saying they're immune or whatever.
View attachment 8431
...sorry, had to do it
Yes, I saw that in DamageRegion.cs just wondering if the script was available.
As in an earlier post I was wanting to use it in Chief Paroxymus' Lair. Fighting him is bad enough... having to deal with area damages too is too much.The script is not available to our knowledge. What I mean by this is that I searched for anything related, and also because there was no buff called anything like AcidProof, that I could find. Also, in the damaging region part it makes no exceptions for anything except being dead. Pretty harsh. I agree with Zerodowned, that is the spot. Also, I would recommend creating a new buff, having the lotion apply the buff, and have the acid river have a small chance of overcoming the buff, especially in the more damaging parts of the river.
We use essential cookies to make this site work, and optional cookies to enhance your experience.