Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
19
_module/nss/px_marsh_boss.nss
Normal file
19
_module/nss/px_marsh_boss.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
if(GetFirstItemInInventory(OBJECT_SELF) == GetObjectByTag("px_marsh_gem"))
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
AssignCommand(GetObjectByTag("px_stonedoor_tmpl"),ActionCloseDoor(GetObjectByTag("px_stonedoor_tmpl")));
|
||||
SetLocked(GetObjectByTag("px_stonedoor_tmpl"),TRUE);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_SCREEN_SHAKE),OBJECT_SELF);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_COM_HIT_NEGATIVE),OBJECT_SELF);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_IMPLOSION),OBJECT_SELF);
|
||||
SpeakString("Who dares disturb MY rest?! You shall suffer in the name of the scribe of the damned for this offense!");
|
||||
CreateObject(OBJECT_TYPE_CREATURE,"px_marsh_boss",GetLocation(OBJECT_SELF),FALSE);
|
||||
//SetLocalInt(oPC,"BossSpawned",1);
|
||||
DestroyObject(OBJECT_SELF);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user