24 lines
1.1 KiB
Plaintext
24 lines
1.1 KiB
Plaintext
//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;
|
|
}
|