Clear out experimental .35 files

Clear out experimental .35 files
This commit is contained in:
Jaysyn904
2024-02-11 13:04:14 -05:00
parent 2112b92e24
commit 618cd42b82
22356 changed files with 0 additions and 1248956 deletions

View File

@@ -1,4 +0,0 @@
void main()
{
SpeakString("Here lies your very essence, held where only you can see. This, buried in the deepest recesses of your mind, holds everything that you are.");
}

View File

@@ -1,22 +0,0 @@
//::///////////////////////////////////////////////
//:: Name ey_dpcon_med
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Simply script that will 'cause the PC to meditate
When the PC uses an object.
*/
//:://////////////////////////////////////////////
//:: Created By: Emperor Yan
//:: Created On: Nov 14th 2004
//:://////////////////////////////////////////////
object oPC = GetLastUsedBy();
void main()
{
if (!GetIsPC(oPC)) return;
AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_MEDITATE, 1.0f, 10.0f));
AssignCommand(OBJECT_SELF, SpeakString("Power is thought, it flows from the mind and is made real."));
}

View File

@@ -1,8 +0,0 @@
void main()
{
object oPC = GetPCSpeaker();
AssignCommand(oPC, ActionRest());
oPC = GetLastSpeaker();
AssignCommand(oPC, ActionRest());
AssignCommand(OBJECT_SELF, SpeakString("At peace with yourself, here in this private extension of your mind you recover from your long travails."));
}

View File

@@ -1,6 +0,0 @@
void main()
{
object oPC = GetLastSpeaker();
AssignCommand(oPC, ActionRest());
AssignCommand(OBJECT_SELF, SpeakString("Let this compassion shield you, as it has shielded so many others."));
}

View File

@@ -1,13 +0,0 @@
#include "prc_alterations"
void main()
{
if (GetIsPC(GetEnteringObject()))
{
effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
object oWP = GetWaypointByTag("prc_compassion");
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oWP));
object oCreature = CreateObject(OBJECT_TYPE_CREATURE, "PRC_Compassion", GetLocation(oWP));
AssignCommand(GetEnteringObject(), SpeakString("Here stands a manifestion of my compassion, wise and good."));
}
}

View File

@@ -1,9 +0,0 @@
#include "prc_alterations"
void main()
{
effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
object oTarget = GetObjectByTag("PRC_Compassion");
object oWP = GetWaypointByTag("prc_compassion");
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oWP));
DestroyObject(oTarget);
}

View File

@@ -1,336 +0,0 @@
/** @file
----------------
prc_enforce_psi
----------------
21/10/04 by Stratovarius
This script is used to enforce the proper selection of bonus feats
so that people cannot use epic bonus feats and class bonus feats to
select feats they should not be allowed to.
Is also used to enforce the proper discipline selection.
*/
#include "psi_inc_psifunc"
#include "true_inc_trufunc"
string PLEASE_RESELECT = GetStringByStrRef(16826471); //"Please reselect your feats."
/**
* Enforces the proper selection of the Psion feats that are used to determine discipline.
* A character must have only one discipline.
*
* @param oPC The PC whose feats to check.
* @return TRUE if needed to relevel, FALSE otherwise.
*/
int PsionDiscipline(object oPC = OBJECT_SELF);
/**
* Enforces feats that require one to *not* be a psionic character.
*
* @param oPC The PC whose feats to check.
* @return TRUE if needed to relevel, FALSE otherwise.
*/
int AntiPsionicFeats(object oPC);
/**
* Enforces feats that require one to be a psionic character.
*
* @param oPC The PC whose feats to check.
* @return TRUE if needed to relevel, FALSE otherwise.
*/
int PsionicFeats(object oPC);
/**
* Enforces feats that require one to be an epic psionic character.
*
* @param oPC The PC whose feats to check.
* @return TRUE if needed to relevel, FALSE otherwise.
*/
int EpicPsionicFeats(object oPC);
/**
* Checks the requirement of at least one metapsionic feat of Split Psionic Ray
*
* @param oPC The PC whose feats to check.
* @return TRUE if needed to relevel, FALSE otherwise.
*/
int SplitPsionicRay(object oPC);
/**
* Enforces the restriction that Thrallherds cannot have leadership.
*
* @param oPC The PC whose feats to check.
* @return TRUE if needed to relevel, FALSE otherwise.
*/
int Thrallherd(object oPC);
// ---------------
// BEGIN FUNCTIONS
// ---------------
int PsionDiscipline(object oPC = OBJECT_SELF)
{
int nPsion = GetLevelByClass(CLASS_TYPE_PSION, oPC);
if(nPsion)
{
if(GetHasFeat(FEAT_PSION_DIS_EGOIST, oPC)
+ GetHasFeat(FEAT_PSION_DIS_KINETICIST, oPC)
+ GetHasFeat(FEAT_PSION_DIS_NOMAD, oPC)
+ GetHasFeat(FEAT_PSION_DIS_SEER, oPC)
+ GetHasFeat(FEAT_PSION_DIS_SHAPER, oPC)
+ GetHasFeat(FEAT_PSION_DIS_TELEPATH, oPC)
!= 1)
{ // "You may only have 1 Discipline."
FloatingTextStringOnCreature(GetStringByStrRef(16826470) + " " + PLEASE_RESELECT, oPC, FALSE);
return TRUE;
}
}
return FALSE;
}
int AntiPsionicFeats(object oPC)
{
int bHasAntiPsionicFeats = FALSE,
bRelevel = FALSE,
bFirst = 1;
string sFeats = "";
if(GetHasFeat(FEAT_CLOSED_MIND)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826422); }
if(GetHasFeat(FEAT_FORCE_OF_WILL)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826424); }
if(GetHasFeat(FEAT_HOSTILE_MIND)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826426); }
if(GetHasFeat(FEAT_MENTAL_RESISTANCE)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826428); }
if(GetHasFeat(FEAT_PSIONIC_HOLE)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826430); }
//if(GetHasFeat()) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(); }
if(bRelevel)
{
//You are a psionic character and may not take
FloatingTextStringOnCreature(GetStringByStrRef(16826473) + " " + sFeats + ". " + PLEASE_RESELECT, oPC, FALSE);
}
return bRelevel;
}
int PsionicFeats(object oPC)
{
int bRelevel = FALSE,
bFirst = 1;
string sFeats = "";
if(GetHasFeat(FEAT_BOOST_CONSTRUCT)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826476); }
if(GetHasFeat(FEAT_COMBAT_MANIFESTATION)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826432); }
if(GetHasFeat(FEAT_MENTAL_LEAP)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826434); }
// Only check for the first Metamorphic Transfer feat... If some source forces one of the other feats on the char, nothing releveling could do about it, anyway
// Metamorphosis isn't in yet, so neither are Metamorphic Transfers
//if(GetHasFeat(FEAT_METAMORPHIC_TRANSFER_1)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(-1/*FIXME*/); }
if(GetHasFeat(FEAT_NARROW_MIND)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826436); }
if(GetHasFeat(FEAT_OVERCHANNEL)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826478); }
if(GetHasFeat(FEAT_TALENTED)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826500); }
if(GetHasFeat(FEAT_POWER_PENETRATION)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826438); }
if(GetHasFeat(FEAT_GREATER_POWER_PENETRATION)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826440); }
if(GetHasFeat(FEAT_POWER_SPECIALIZATION)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826446); }
if(GetHasFeat(FEAT_GREATER_POWER_SPECIALIZATION)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826448); }
if(GetHasFeat(FEAT_PSIONIC_DODGE)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826450); }
if(GetHasFeat(FEAT_PSIONIC_ENDOWMENT)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826452); }
if(GetHasFeat(FEAT_GREATER_PSIONIC_ENDOWMENT)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826454); }
if(GetHasFeat(FEAT_PSIONIC_FIST)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826456); }
if(GetHasFeat(FEAT_GREATER_PSIONIC_FIST)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826458); }
if(GetHasFeat(FEAT_UNAVOIDABLE_STRIKE)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826506); }
if(GetHasFeat(FEAT_PSIONIC_MEDITATION)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826501); }
if(GetHasFeat(FEAT_PSIONIC_SHOT)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826464); }
if(GetHasFeat(FEAT_GREATER_PSIONIC_SHOT)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826466); }
// Only check for the first Psionic Talent feat
if(GetHasFeat(FEAT_PSIONIC_TALENT_1)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826488); }
if(GetHasFeat(FEAT_PSIONIC_WEAPON)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826460); }
if(GetHasFeat(FEAT_GREATER_PSIONIC_WEAPON)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826462); }
if(GetHasFeat(FEAT_SPEED_OF_THOUGHT)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826486); }
if(GetHasFeat(FEAT_WOUNDING_ATTACK)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826510); }
if(GetHasFeat(FEAT_DEEP_IMPACT)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826514); }
if(GetHasFeat(FEAT_FELL_SHOT)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826516); }
if(GetHasFeat(FEAT_INVEST_ARMOUR)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16822550); }
// Only check for the first Expanded Knowledge feat
if(GetHasFeat(FEAT_EXPANDED_KNOWLEDGE_1)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826520); }
// Metapsionic feats
if(GetHasFeat(FEAT_CHAIN_POWER, oPC)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826532); }
if(GetHasFeat(FEAT_EMPOWER_POWER, oPC)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826534); }
if(GetHasFeat(FEAT_EXTEND_POWER, oPC)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826536); }
if(GetHasFeat(FEAT_MAXIMIZE_POWER, oPC)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826538); }
if(GetHasFeat(FEAT_SPLIT_PSIONIC_RAY, oPC)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826540); }
if(GetHasFeat(FEAT_TWIN_POWER, oPC)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826542); }
if(GetHasFeat(FEAT_WIDEN_POWER, oPC)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826544); }
if(GetHasFeat(FEAT_QUICKEN_POWER, oPC)) { bRelevel = TRUE; sFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826651); }
if(bRelevel)
{
//You are not a psionic character and may not take
FloatingTextStringOnCreature(GetStringByStrRef(16826472) + " " + sFeats + ". " + PLEASE_RESELECT, oPC, FALSE);
}
return bRelevel;
}
int EpicPsionicFeats(object oPC)
{
int bCanManifMax = (GetLevelByClass(CLASS_TYPE_PSION, oPC) + (CLASS_TYPE_PSION == GetPrimaryPsionicClass(oPC) ? GetPsionicPRCLevels(oPC) : 0)) >= 17 ||
(GetLevelByClass(CLASS_TYPE_WILDER, oPC) + (CLASS_TYPE_WILDER == GetPrimaryPsionicClass(oPC) ? GetPsionicPRCLevels(oPC) : 0)) >= 18 ||
(GetLevelByClass(CLASS_TYPE_PSYWAR, oPC) + (CLASS_TYPE_PSYWAR == GetPrimaryPsionicClass(oPC) ? GetPsionicPRCLevels(oPC) : 0)) >= 16 ||
(GetLevelByClass(CLASS_TYPE_PSYCHIC_ROGUE, oPC) + (CLASS_TYPE_PSYCHIC_ROGUE == GetPrimaryPsionicClass(oPC) ? GetPsionicPRCLevels(oPC) : 0)) >= 17 ||
(GetLevelByClass(CLASS_TYPE_FIST_OF_ZUOKEN, oPC) + (CLASS_TYPE_FIST_OF_ZUOKEN == GetPrimaryPsionicClass(oPC) ? GetPsionicPRCLevels(oPC) : 0)) >= 9 ||
(GetLevelByClass(CLASS_TYPE_WARMIND, oPC) + (CLASS_TYPE_WARMIND == GetPrimaryPsionicClass(oPC) ? GetPsionicPRCLevels(oPC) : 0)) >= 10;
int bRelevel = FALSE,
bFirst = 1;
string sManifLimitedFeats = "";
if(GetHasFeat(FEAT_EPIC_EXPANDED_KNOWLEDGE_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826522);
if(GetHasFeat(FEAT_IMPROVED_MANIFESTATION_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826526);
if(GetHasFeat(FEAT_POWER_KNOWLEDGE_PSION_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826528);
if(GetHasFeat(FEAT_POWER_KNOWLEDGE_PSYWAR_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826529);
if(GetHasFeat(FEAT_POWER_KNOWLEDGE_PSYROG_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(99999999);
if(GetHasFeat(FEAT_POWER_KNOWLEDGE_WILDER_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826530);
if(GetHasFeat(FEAT_POWER_KNOWLEDGE_FIST_OF_ZUOKEN_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826640);
if(GetHasFeat(FEAT_POWER_KNOWLEDGE_WARMIND_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826657);
if(GetHasFeat(FEAT_EPIC_PSIONIC_FOCUS_1)) sManifLimitedFeats += (bFirst-- > 0 ? "":" ,") + GetStringByStrRef(16826518);
if(!bCanManifMax && bFirst < 1)
{
bRelevel = TRUE; //You do not have the ability to manifest powers of the normal maximum power level in at least one psionic class and may not take
FloatingTextStringOnCreature(GetStringByStrRef(16826469) + " " + sManifLimitedFeats + ". " + PLEASE_RESELECT, oPC, FALSE);
}
if(GetHasFeat(FEAT_IMPROVED_METAPSIONICS_1))
{
int nMetaPsi = GetHasFeat(FEAT_CHAIN_POWER, oPC) +
GetHasFeat(FEAT_EMPOWER_POWER, oPC) +
GetHasFeat(FEAT_EXTEND_POWER, oPC) +
GetHasFeat(FEAT_MAXIMIZE_POWER, oPC) +
GetHasFeat(FEAT_SPLIT_PSIONIC_RAY, oPC) +
GetHasFeat(FEAT_TWIN_POWER, oPC) +
GetHasFeat(FEAT_WIDEN_POWER, oPC) +
GetHasFeat(FEAT_QUICKEN_POWER, oPC);
if(nMetaPsi < 4)
{
bRelevel = TRUE; //You do not posses 4 metapsionic feats and may not take Improved Metapsionics.
FloatingTextStringOnCreature(GetStringByStrRef(16826468) + " " + PLEASE_RESELECT, oPC, FALSE);
}
}
return bRelevel;
}
int SplitPsionicRay(object oPC)
{
if(GetHasFeat(FEAT_SPLIT_PSIONIC_RAY, oPC))
{
if(!GetHasFeat(FEAT_CHAIN_POWER, oPC)
&& !GetHasFeat(FEAT_EMPOWER_POWER, oPC)
&& !GetHasFeat(FEAT_EXTEND_POWER, oPC)
&& !GetHasFeat(FEAT_MAXIMIZE_POWER, oPC)
&& !GetHasFeat(FEAT_TWIN_POWER, oPC)
&& !GetHasFeat(FEAT_WIDEN_POWER, oPC)
&& !GetHasFeat(FEAT_QUICKEN_POWER, oPC))
{ //You do not have at least one other metapsionic feat besides Split Psionic Ray, so you may not take it.
FloatingTextStringOnCreature(GetStringByStrRef(16826546) + " " + PLEASE_RESELECT, oPC, FALSE);
return TRUE;
}
}
return FALSE;
}
int Thrallherd(object oPC)
{
if(GetLevelByClass(CLASS_TYPE_THRALLHERD, oPC) > 0 && GetHasFeat(FEAT_LEADERSHIP, oPC))
{
FloatingTextStringOnCreature("You cannot take the Thrallherd class if you have the Leadership feat.", oPC, FALSE);
return TRUE;
}
return FALSE;
}
int Recitations(object oPC)
{
int nTrue = GetLevelByClass(CLASS_TYPE_TRUENAMER, oPC);
int nRec = GetHasFeat(FEAT_RECITATION_FORTIFIED, oPC) +
GetHasFeat(FEAT_RECITATION_MEDITATIVE, oPC) +
GetHasFeat(FEAT_RECITATION_MINDFUL, oPC) +
GetHasFeat(FEAT_RECITATION_SANGUINE, oPC) +
GetHasFeat(FEAT_RECITATION_VITAL, oPC);
// Need 2 at level 15, 1 at level 8
if((nTrue >= 15 && 2 > nRec) || (nTrue >= 8 && 1 > nRec))
{
FloatingTextStringOnCreature("You must select a Recitation feat.", oPC, FALSE);
return TRUE;
}
return FALSE;
}
int PyroElement(object oPC = OBJECT_SELF)
{
int nLevel = GetLevelByClass(CLASS_TYPE_PYROKINETICIST, oPC);
if(nLevel)
{
if(GetHasFeat(FEAT_PYRO_PYROKINETICIST, oPC)
+ GetHasFeat(FEAT_PYRO_CRYOKINETICIST, oPC)
+ GetHasFeat(FEAT_PYRO_SONOKINETICIST, oPC)
+ GetHasFeat(FEAT_PYRO_ELECTROKINETICIST, oPC)
+ GetHasFeat(FEAT_PYRO_ACETOKINETICIST, oPC)
!= 1)
{
FloatingTextStringOnCreature("You may only have 1 element as a Pyrokineticist.", oPC, FALSE);
return TRUE;
}
}
return FALSE;
}
void main()
{
//Declare Major Variables
object oPC = OBJECT_SELF;
int bRelevel = FALSE;
// Psion disciplines
bRelevel |= PsionDiscipline(oPC);
// Thrallherd
bRelevel |= Thrallherd(oPC);
// Cross class cap on TrueSpeech
bRelevel |= CheckTrueSpeechSkill(oPC);
// Recitations
bRelevel |= Recitations(oPC);
// Recitations
bRelevel |= PyroElement(oPC);
if(GetIsPsionicCharacter(oPC))
bRelevel |= AntiPsionicFeats(oPC); // Feats that require one to *not* be a psionic character
else
bRelevel |= PsionicFeats(oPC); // Feats that require one to be a psionic character
bRelevel |= SplitPsionicRay(oPC);
if(GetHitDice(oPC) > 20) bRelevel |= EpicPsionicFeats(oPC);
if(bRelevel)
{
int nHD = GetHitDice(oPC);
int nMinXPForLevel = ((nHD * (nHD - 1)) / 2) * 1000;
int nOldXP = GetXP(oPC);
int nNewXP = nMinXPForLevel - 1000;
SetXP(oPC,nNewXP);
DelayCommand(1.0, SetXP(oPC,nOldXP));
}
}

View File

@@ -1,6 +0,0 @@
#include "nw_i0_generic"
void main()
{
PlayImmobileAmbientAnimations();
}

View File

@@ -1,9 +0,0 @@
void main()
{
object oTarget = GetObjectByTag("PRC_Temptation");
effect eAppear = EffectDisappear();
ApplyEffectToObject(DURATION_TYPE_INSTANT, eAppear, oTarget);
oTarget = GetObjectByTag("PRC_Compassion");
ApplyEffectToObject(DURATION_TYPE_INSTANT, eAppear, oTarget);
}

View File

@@ -1,21 +0,0 @@
/*
----------------
prc_psi_ppoints
----------------
19/10/04 by Stratovarius
Calculates the power point allotment of each class.
Psion, Psychic Warrior, Wilder. (Soulknife does not have Power Points)
*/
#include "psi_inc_psifunc"
void main()
{
object oCaster = OBJECT_SELF;
ResetPowerPoints(oCaster);
if(GetCurrentPowerPoints(oCaster) > 0)
TellCharacterPowerPointStatus(oCaster);
}

View File

@@ -1,12 +0,0 @@
#include "prc_alterations"
void main()
{
object oTarget = GetLastSpeaker();
AssignCommand(OBJECT_SELF, SpeakString("Get thee gone, before I tempt thee again, fool."));
object oWP = GetWaypointByTag("prc_runrunrun");
AssignCommand(oTarget, ActionForceMoveToLocation(GetLocation(oWP), TRUE, 10.0));
effect eVis = EffectVisualEffect(VFX_DUR_MIND_AFFECTING_FEAR);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVis, oTarget, 7.0);
}

View File

@@ -1,15 +0,0 @@
#include "prc_alterations"
void main()
{
if (GetIsPC(GetEnteringObject()))
{
effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
object oWP = GetWaypointByTag("prc_temptation");
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oWP));
object oCreature = CreateObject(OBJECT_TYPE_CREATURE, "PRC_Temptation", GetLocation(oWP));
AssignCommand(GetEnteringObject(), SpeakString("Here stands all the temptations of my life, that which has brought me low."));
}
}

View File

@@ -1,9 +0,0 @@
#include "prc_alterations"
void main()
{
effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
object oTarget = GetObjectByTag("PRC_Temptation");
object oWP = GetWaypointByTag("prc_temptation");
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oWP));
DestroyObject(oTarget);
}

View File

@@ -1,46 +0,0 @@
//::///////////////////////////////////////////////
//:: Wild Surge
//:: prc_wild_surge
//::///////////////////////////////////////////////
/** @file
Turns Wild Surge to a setting determined by
SpellID.
@author Ornedan
@date Created - 2005.11.28
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "psi_inc_psifunc"
const int SPELLID_WILD_SURGE_1 = 2380;
const int SPELLID_WILD_SURGE_11 = 2390;
void main()
{
object oPC = OBJECT_SELF;
int nSpellID = GetSpellId();
int nWilderLvl = GetLevelByClass(CLASS_TYPE_WILDER, oPC);
int nWildSurge = nSpellID - SPELLID_WILD_SURGE_1 + 1;
int nMaxSurge;
if(nWilderLvl < 3)
nMaxSurge = 1;
else
nMaxSurge = ((nWilderLvl + 1) / 4) + 1;
if(DEBUG) if(nWildSurge < 1 || nWildSurge > 11) DoDebug("prc_wild_surge: ERROR: Unsupported spellID: " + IntToString(nSpellID));
if(nWildSurge <= nMaxSurge)
{
if(!GetLocalInt(oPC, PRC_OVERCHANNEL))
{
SetLocalInt(oPC, PRC_WILD_SURGE, nWildSurge);
FloatingTextStringOnCreature(GetStringByStrRef(StringToInt(Get2DACache("spells", "Name", nSpellID))), oPC, FALSE);
}
else
FloatingTextStrRefOnCreature(16824026, oPC, FALSE); // "You cannot have Wild Surge and Overchannel active at the same time"
}
else
FloatingTextStrRefOnCreature(16824027, oPC, FALSE); // "Your Wilder level is not high enough to use this level of Wild Surge"
}

View File

@@ -1,19 +0,0 @@
//::///////////////////////////////////////////////
//:: Wild Surge: Off
//:: prc_wld_srg_off
//::///////////////////////////////////////////////
/** @file
Turns Wild Surge off on the using character.
*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
#include "psi_inc_psifunc"
void main()
{
object oPC = OBJECT_SELF;
SetLocalInt(oPC, PRC_WILD_SURGE, 0);
FloatingTextStrRefOnCreature(16823612, oPC, FALSE); // "Wild Surge Off"
}

View File

@@ -1,15 +0,0 @@
// Sets the option Buff active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_BUFF;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Touch - Acid active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_TOUCH;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT);
nElemFlags |= ELEMENT_ACID;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Touch - Cold active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_TOUCH;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT);
nElemFlags |= ELEMENT_COLD;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Touch - Electricity active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_TOUCH;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT);
nElemFlags |= ELEMENT_ELECTRICITY;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Touch - Fire active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_TOUCH;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT);
nElemFlags |= ELEMENT_FIRE;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Touch - Sonic active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_TOUCH;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT);
nElemFlags |= ELEMENT_SONIC;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Extra Attack active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_EXTRA_ATTACK;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Fast Healing active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_FAST_HEALING;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Heavy Deflect active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_HEAVY_DEFLECT;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Improved Buff active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_IMP_BUFF;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Improved Critical active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_IMP_CRIT;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Improved Damage Reduction active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_IMP_DAM_RED;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Muscle active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_MUSCLE;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Poison Touch active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_POISON_TOUCH;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Blindfight active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_BLINDFIGHT;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Celerity active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_CELERITY;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Concussion active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_CONCUSSION;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Dimension Slide active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_DIMENSION_SLIDE;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Bolt - Acid active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_BOLT;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT);
nElemFlags |= ELEMENT_ACID;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Bolt - Cold active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_BOLT;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT);
nElemFlags |= ELEMENT_COLD;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Bolt - Electricity active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_BOLT;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT);
nElemFlags |= ELEMENT_ELECTRICITY;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Bolt - Fire active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_BOLT;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT);
nElemFlags |= ELEMENT_FIRE;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Energy Bolt - Sonic active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_ENERGY_BOLT;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT);
nElemFlags |= ELEMENT_SONIC;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Extra Buff active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_EXTRA_BUFF;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Extreme Damage Reduction active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_EXTREME_DAM_RED;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Extreme Deflection active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_EXTREME_DEFLECT;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Natural Invisibility active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_NATURAL_INVIS;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Power Resist active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_POWER_RESIST;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Rend active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_REND;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Spring Attack active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_SPRING_ATTACK;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Cleave active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_CLEAVE;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Whirlwind active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_WHIRLWIND;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Improved Slam Attack active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_IMPROVED_SLAM;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Deflection active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_DEFLECTION;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Mobility active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_MOBILITY;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Power Attack active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_POWER_ATTACK;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Resistance - Acid active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_RESISTANCE;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT);
nElemFlags |= ELEMENT_ACID;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Resistance - Cold active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_RESISTANCE;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT);
nElemFlags |= ELEMENT_COLD;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Resistance - Electricity active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_RESISTANCE;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT);
nElemFlags |= ELEMENT_ELECTRICITY;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Resistance - Fire active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_RESISTANCE;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT);
nElemFlags |= ELEMENT_FIRE;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,18 +0,0 @@
// Sets the option Resistance - Sonic active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_RESISTANCE;
int nElemFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT);
nElemFlags |= ELEMENT_SONIC;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, nElemFlags);
}

View File

@@ -1,15 +0,0 @@
// Sets the option Knockdown active on the AC being edited
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
void main()
{
object oPC = GetPCSpeaker();
int nFlags = GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT);
nFlags |= ASTRAL_CONSTRUCT_OPTION_KNOCKDOWN;
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, nFlags);
}

View File

@@ -1,16 +0,0 @@
// Clean up the temporary AC convo variables
#include "psi_inc_ac_const"
void main()
{
object oPC = GetPCSpeaker();
SetLocalInt(oPC, ASTRAL_CONSTRUCT_LEVEL + EDIT, 0);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT, 0);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_RESISTANCE_FLAGS + EDIT, 0);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT, 0);
SetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT, 0);
SetLocalInt(oPC, CURRENT_SLOT, 0);
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 1
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 1;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 2
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 3;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 3
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 5;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 4
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 7;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 5
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 9;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 6
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 11;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 7
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 13;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 8
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 15;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,14 +0,0 @@
// Checks whether the PC can manifest an AC of level 9
#include "psi_inc_ac_const"
#include "psi_inc_psifunc"
const int nCost = 17;
int StartingConditional()
{
object oPC = GetPCSpeaker();
return GetManifesterLevel(oPC, GetLocalInt(oPC, "AC_Class")) >= nCost;
}

View File

@@ -1,13 +0,0 @@
// Checks if all slots have been used. No saving partial constructs
#include "psi_inc_ac_const"
#include "psi_inc_ac_convo"
int StartingConditional()
{
object oPC = GetPCSpeaker();
int nACLevel = GetLocalInt(oPC, ASTRAL_CONSTRUCT_LEVEL + EDIT);
return GetMaxSlotsForLevel(nACLevel, oPC) - GetTotalNumberOfSlotsUsed(oPC) == 0;
}

View File

@@ -1,11 +0,0 @@
// Returns true if the AC being edited has Buff
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) & ASTRAL_CONSTRUCT_OPTION_BUFF) != 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Touch
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_ENERGY_TOUCH)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Touch - Acid
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT) &
ELEMENT_ACID)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Touch - Cold
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT) &
ELEMENT_COLD)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Touch - Electricity
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT) &
ELEMENT_ELECTRICITY)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Touch - Fire
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT) &
ELEMENT_FIRE)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Touch - Sonic
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_TOUCH_FLAGS + EDIT) &
ELEMENT_SONIC)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Extra Attack
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_EXTRA_ATTACK)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Fast Healing
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_FAST_HEALING)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Heavy Deflection
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_HEAVY_DEFLECT)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Improved Buff
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_IMP_BUFF)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Improved Critical
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_IMP_CRIT)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Improved Damage Reduction
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_IMP_DAM_RED)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Muscle
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_MUSCLE)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Poison Touch
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_POISON_TOUCH)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Blindfight
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_BLINDFIGHT)
!= 0;
}

View File

@@ -1,11 +0,0 @@
// Returns true if the AC being edited has Celerity
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) & ASTRAL_CONSTRUCT_OPTION_CELERITY) != 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Concussion
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_CONCUSSION)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Dimension Slide
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_DIMENSION_SLIDE)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Bolt
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_ENERGY_BOLT)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Bolt - Acid
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT) &
ELEMENT_ACID)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Bolt - Cold
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT) &
ELEMENT_COLD)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Bolt - Electricity
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT) &
ELEMENT_ELECTRICITY)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Bolt - Fire
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT) &
ELEMENT_FIRE)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Energy Bolt - Sonic
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_ENERGY_BOLT_FLAGS + EDIT) &
ELEMENT_SONIC)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Extra Buff
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_EXTRA_BUFF)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Extreme Damage Reduction
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_EXTREME_DAM_RED)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Extreme Deflection
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_EXTREME_DEFLECT)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Natural Invisibility
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_NATURAL_INVIS)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Power Resistance
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_POWER_RESIST)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Rend
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_REND)
!= 0;
}

View File

@@ -1,13 +0,0 @@
// Returns true if the AC being edited has Spring Attack
// Result is normalized to TRUE / FALSE
#include "psi_inc_ac_const"
int StartingConditional()
{
object oPC = GetPCSpeaker();
return (GetLocalInt(oPC, ASTRAL_CONSTRUCT_OPTION_FLAGS + EDIT) &
ASTRAL_CONSTRUCT_OPTION_SPRING_ATTACK)
!= 0;
}

Some files were not shown because too many files have changed in this diff Show More