Piotr

Member
Hi,

As I saw in one of the postings here, field spells and also explosive potions only harm those that are red, grey or orange to the caster.
Can you please tell me how to modify it so everyone (even the caster) can be harmed by them?
 
Got it working for the explosive potions, which are mostly what I was interested in.

In baseexplosionpotion.cs:

foreach (object o in eable)
{
if (o is Mobile && ((Mobile)o).AccessLevel <= from.AccessLevel)
{
toExplode.Add(o);
++toDamage;
}
else if (o is BaseExplosionPotion && o != this)
{
toExplode.Add(o);
}
}
 
Doesn't appear to be.
You cannot hurt anyone who isn't red, orange or grey to your character with AoE spells and explosive potions fall into that category.
The feature was added some time ago, I've read it right here on this forum.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back