Major update

Fixed CCOH, Fixed starting GP, Fixed DMFI languages, Fix cep weapon appearances, Fixed new player start up system.  Added PC deleter.  Added ACP 4.1.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-09-16 23:40:48 -04:00
parent 7f75e229f9
commit 5d27edafba
6724 changed files with 558193 additions and 92109 deletions

View File

@@ -3,6 +3,8 @@
Sets the Lineage of a new vampire... their maker and
up to four generations beyond.
*/
#include "prc_inc_racial"
void vamp_setlineage(object oPC, object oTarget)
{
string lineage1 = GetCampaignString("Vampire","Lineage",oPC);
@@ -94,8 +96,13 @@ void vamp_blooddrain(object oPC,object oTarget)
PrintString("vamp_blooddrain(): - PC|" + GetName(oPC) + " TARGET|" + GetName(oTarget) + " - Function called.");
// If target is undead, elemental or construct skip everything.
if ((GetObjectType(oTarget) == OBJECT_TYPE_CREATURE)&&(GetRacialType(oTarget)!=RACIAL_TYPE_ELEMENTAL)&&(GetRacialType(oTarget)!=RACIAL_TYPE_UNDEAD)&&(GetRacialType(oTarget)!=RACIAL_TYPE_CONSTRUCT)&&GetSubRace(oTarget) != "Vampire")
// If target is undead, elemental, ooze, plant or construct skip everything.
if ((GetObjectType(oTarget) == OBJECT_TYPE_CREATURE) && (MyPRCGetRacialType(oTarget)!= RACIAL_TYPE_ELEMENTAL) &&
(MyPRCGetRacialType(oTarget)!= RACIAL_TYPE_UNDEAD) &&
(MyPRCGetRacialType(oTarget)!= RACIAL_TYPE_CONSTRUCT) &&
(MyPRCGetRacialType(oTarget)!= RACIAL_TYPE_PLANT) &&
(MyPRCGetRacialType(oTarget)!= RACIAL_TYPE_OOZE) &&
GetSubRace(oTarget) != "Vampire")
{
PrintString("vamp_blooddrain(): - PC|" + GetName(oPC) + " TARGET|" + GetName(oTarget) + " - Target is not an invalid racial victim.");
// Checks is target allready dead. Will be needing later.