Changed folder name.
Changed folder name.
This commit is contained in:
12
_module/nss/hellfogspawn.nss
Normal file
12
_module/nss/hellfogspawn.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
void main()
|
||||
{
|
||||
object a = GetEnteringObject();
|
||||
if (GetIsPC(a) || (GetIsDM(a))){
|
||||
if (GetLocalInt(GetModule(), "hellfog") != 2){
|
||||
location hellfog1 = GetLocation(GetWaypointByTag("hellfog1"));
|
||||
location hellfog2 = GetLocation(GetWaypointByTag("hellfog2"));
|
||||
ApplyEffectAtLocation( DURATION_TYPE_PERMANENT, EffectAreaOfEffect(AOE_PER_FOGFIRE, "hellfog"),hellfog1);
|
||||
ApplyEffectAtLocation( DURATION_TYPE_PERMANENT, EffectAreaOfEffect(AOE_PER_FOGFIRE, "hellfog"),hellfog2);
|
||||
DelayCommand(1.0, SetLocalInt(GetModule(), "hellfog", 2));
|
||||
} }
|
||||
}
|
Reference in New Issue
Block a user