Updated Tar Lake interior
Updated Tar Lake interior. Added Water Breathing to Amulet of Water Breathing. Updated tar mephit.
This commit is contained in:
@@ -26,11 +26,11 @@ void ApplyHeatEffect(object oCreature)
|
||||
{
|
||||
int iHeatDam = d4(1);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectDamage(iHeatDam, DAMAGE_TYPE_FIRE), oCreature, 6.0f);
|
||||
DelayCommand(0.0f, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, EffectDamage(iHeatDam, DAMAGE_TYPE_FIRE), oCreature, 6.0f));
|
||||
}
|
||||
|
||||
|
||||
//:: Can't breath in tar
|
||||
//:: Can't breathe in tar
|
||||
void ApplySuffocationEffect(object oCreature)
|
||||
{
|
||||
int iConstitution = GetAbilityScore(oCreature, ABILITY_CONSTITUTION);
|
||||
@@ -139,9 +139,10 @@ void main()
|
||||
//:: Calculate the DC for the Strength check
|
||||
int iStrengthDC = 15 + iArmorPenalty;
|
||||
|
||||
//:: Roll a Strength check against the DC
|
||||
//:: Be an Ooze Mephit or roll a Strength check against the DC
|
||||
if (GetResRef(OBJECT_SELF) != "mepooze001" &&
|
||||
GetResRef(OBJECT_SELF) != "tarmephit001" ||
|
||||
GetAppearanceType(oCreature) != APPEARANCE_TYPE_MEPHIT_OOZE ||
|
||||
d20() + GetAbilityModifier(ABILITY_STRENGTH, oCreature) < iStrengthDC)
|
||||
{
|
||||
//:: Apply the other effects since the Strength check failed
|
||||
|
Reference in New Issue
Block a user