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,39 +0,0 @@
//::///////////////////////////////////////////////
//:: Soulknife: Conversation - Show Shield of Thought +6
//:: psi_sk_conv_s6_s
//::///////////////////////////////////////////////
/*
Checks whether to show Shield of Thought +6 and
whether it is to be added or removed.
*/
//:://////////////////////////////////////////////
//:: Created By: Fox
//:: Created On: Feb 15, 2008
//:://////////////////////////////////////////////
#include "psi_inc_soulkn"
int StartingConditional()
{
int nReturn; // Implicit init to FALSE
// Check if the flag is already present
if(GetLocalInt(GetPCSpeaker(), MBLADE_FLAGS + "_T") & MBLADE_FLAG_SHIELD_6)
{
SetCustomToken(120, GetStringByStrRef(7654)); // Remove
nReturn = TRUE;
}
// It isn't, so see if there is enough bonus left to add it
else if(GetTotalEnhancementCost(GetLocalInt(GetPCSpeaker(), MBLADE_FLAGS + "_T")) + GetFlagCost(MBLADE_FLAG_SHIELD_6) <= GetMaxEnhancementCost(GetPCSpeaker()))
{
SetCustomToken(120, GetStringByStrRef(62476)); // Add
nReturn = TRUE;
}
if(!GetHasFeat(FEAT_SHIELD_OF_THOUGHT, GetPCSpeaker()))
{
nReturn = FALSE;
}
return nReturn;
}