Initial commit. Updated release archive.
This commit is contained in:
32
_module/nss/at_baldwinrob.nss
Normal file
32
_module/nss/at_baldwinrob.nss
Normal file
@@ -0,0 +1,32 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
object oCaster;
|
||||
oCaster = GetObjectByTag("it_Dispeller");
|
||||
|
||||
object oCrusader;
|
||||
oCrusader = GetObjectByTag("ct_Haman");
|
||||
|
||||
object oDoor;
|
||||
oDoor = GetObjectByTag("dt_JPalaceMainInt");
|
||||
|
||||
|
||||
AssignCommand(oCaster, ActionCastSpellAtObject(SPELL_GREATER_DISPELLING, oPC, METAMAGIC_ANY, TRUE, PROJECTILE_PATH_TYPE_DEFAULT, TRUE));
|
||||
|
||||
//ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_DISPEL_GREATER), GetLocation(oTarget));
|
||||
|
||||
AdjustAlignment(oPC, ALIGNMENT_CHAOTIC, 50);
|
||||
|
||||
AdjustReputation(oPC, oCrusader, -95);
|
||||
|
||||
AssignCommand(oDoor, ActionCloseDoor(oDoor));
|
||||
|
||||
SetLocked(oDoor, TRUE);
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user