Initial Upload
Initial Upload
This commit is contained in:
23
_module/nss/dmfi_univ_cond.nss
Normal file
23
_module/nss/dmfi_univ_cond.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//DMFI Universal Wand scripts by hahnsoo
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
DeleteLocalInt(oPC, "Tens");
|
||||
SetLocalInt(oPC, "dmfi_univ_offset", GetLocalInt(oPC, "dmfi_univ_offset")+1);
|
||||
|
||||
if (GetLocalString(oPC, "dmfi_univ_conv") == "afflict" && GetLocalInt(oPC, "dmfi_univ_offset")==1)
|
||||
return TRUE;
|
||||
if (GetLocalString(oPC, "dmfi_univ_conv") == "emote" && GetLocalInt(oPC, "dmfi_univ_offset")==2)
|
||||
return TRUE;
|
||||
if (GetLocalString(oPC, "dmfi_univ_conv") == "encounter" && GetLocalInt(oPC, "dmfi_univ_offset")==3)
|
||||
return TRUE;
|
||||
if (GetLocalString(oPC, "dmfi_univ_conv") == "fx" && GetLocalInt(oPC, "dmfi_univ_offset")==4)
|
||||
return TRUE;
|
||||
if (GetLocalString(oPC, "dmfi_univ_conv") == "music" && GetLocalInt(oPC, "dmfi_univ_offset")==5)
|
||||
return TRUE;
|
||||
if (GetLocalString(oPC, "dmfi_univ_conv") == "sound" && GetLocalInt(oPC, "dmfi_univ_offset")==6)
|
||||
return TRUE;
|
||||
if (GetLocalString(oPC, "dmfi_univ_conv") == "xp" && GetLocalInt(oPC, "dmfi_univ_offset")==7)
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user