Script, cosmetic, and vendor changes

Changed death script for goblins to not blow up in chunks
Changed secret door vfx to blend in with the great oak better
added recall device for convenience and added it vendors
This commit is contained in:
EpicValor
2023-08-10 22:22:44 -05:00
parent d2b7fb0423
commit 53c7bdc99a
39 changed files with 9167 additions and 334 deletions

View File

@@ -1,7 +1,9 @@
void main()
{
object oTarget = OBJECT_SELF;
effect eMind = EffectVisualEffect(VFX_DUR_PROT_BARKSKIN);
effect eMind = EffectVisualEffect(VFX_DUR_PROT_BARKSKIN, VFX_DUR_PETRIFY);
effect eMind2 = EffectVisualEffect(VFX_DUR_GHOST_TRANSPARENT);
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_PERMANENT, eMind, oTarget));
DelayCommand(1.0,ApplyEffectToObject(DURATION_TYPE_PERMANENT, eMind2, oTarget));
SetLocalInt(OBJECT_SELF, "X1_L_IMMUNE_TO_DISPEL", 10);
}

View File

@@ -10,4 +10,5 @@ void main()
{
ExecuteScript("prc_onactivate", OBJECT_SELF);
ExecuteScript("_on_activateitem", OBJECT_SELF);
ExecuteScript("sot", OBJECT_SELF);
}

View File

@@ -27,9 +27,9 @@ void main()
SignalEvent(OBJECT_SELF, EventUserDefined(1007));
}
effect eBsplat = EffectVisualEffect(VFX_COM_CHUNK_RED_LARGE,TRUE);
location lLoc = GetLocation(OBJECT_SELF);
ApplyEffectAtLocation(DURATION_TYPE_INSTANT,eBsplat,lLoc);
//effect eBsplat = EffectVisualEffect(VFX_COM_CHUNK_RED_LARGE,TRUE);
//location lLoc = GetLocation(OBJECT_SELF);
//ApplyEffectAtLocation(DURATION_TYPE_INSTANT,eBsplat,lLoc);
@@ -45,6 +45,6 @@ void main()
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(99000, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_PLUS_TWENTY), OBJECT_SELF);
return;
}
ExecuteScript("prc_npc_death", OBJECT_SELF);
}
ExecuteScript("prc_npc_death", OBJECT_SELF);
}