Initial upload
Initial upload
This commit is contained in:
21
_module/nss/jumplvl14home.nss
Normal file
21
_module/nss/jumplvl14home.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
void main()
|
||||
// Modified by AW Olorin on 6-11-2004
|
||||
// Changed trigger level to 35 to reflect Area Level Lists
|
||||
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
int hd = GetHitDice(oPC);
|
||||
location loc = GetLocation(oPC);
|
||||
location sucked = GetLocation(GetWaypointByTag("home"));
|
||||
if (GetIsPC(oPC) && !GetIsDM(oPC) && hd >= 14){
|
||||
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, EffectVisualEffect(VFX_FNF_IMPLOSION), loc, 3.0);
|
||||
DelayCommand(1.0, AssignCommand(oPC, JumpToLocation(sucked)));
|
||||
DelayCommand(1.1, AssignCommand(oPC, TakeGoldFromCreature(1, oPC, TRUE)));
|
||||
DelayCommand(1.2, SendMessageToPC(oPC, "A strange portal has opened, and you have been sucked into it!"));
|
||||
DelayCommand(1.3, SendMessageToPC(oPC, "Your too experienced for this adventure."));
|
||||
DelayCommand(1.4, SetCommandable(FALSE));
|
||||
DelayCommand(4.0, SetCommandable(TRUE));
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user