1 Commits
1.84 ... main

Author SHA1 Message Date
Jaysyn904
aa4680cac9 2025/09/16 Update
XP System was turned off somehow.
2025-09-16 12:36:52 -04:00
9 changed files with 19 additions and 13 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,10 +1,17 @@
/* Paragon Creature Template /* Greenbound Creature Include
By: Jaysyn By: Jaysyn
Created: 2024-11-14 08:27:30 Created: 2025-09-07 20:46:23
A greenbound creature looks much like it did before transformation, although certain changes are apparent. The creature's flesh has been replaced by pulpy wood and thickly corded creepers, and tiny branches stick out from its torso, arms, and legs. Any feathers, hair, or fur it once had have been replaced by some combination of green vines, moss, flowers, and leaves. A greenbound creature looks much like it did before transformation,
although certain changes are apparent. The creature's flesh has been
replaced by pulpy wood and thickly corded creepers, and tiny branches
stick out from its torso, arms, and legs. Any feathers, hair, or
fur it once had have been replaced by some combination of green
vines, moss, flowers, and leaves.
Greenbound creatures speak any languages they knew before transformation, although their voices are now deep and gravelly. Greenbound creatures speak any languages they knew before transformation,
although their voices are now deep and gravelly.
/*
/*

View File

@@ -107,7 +107,7 @@ void ApplyGreenboundEffects(object oCreature, int nBaseHD)
int nMaxHP = GetMaxPossibleHP(oCreature); int nMaxHP = GetMaxPossibleHP(oCreature);
SetCurrentHitPoints(oCreature, nMaxHP); SetCurrentHitPoints(oCreature, nMaxHP);
DoDebug("nMaxHP is: "+IntToString(nMaxHP)+","); if(DEBUG) DoDebug("nMaxHP is: "+IntToString(nMaxHP)+",");
//:: Resistance to Cold and Electricity (Ex): A greenbound creature gains resistance 10 to cold and electricity. //:: Resistance to Cold and Electricity (Ex): A greenbound creature gains resistance 10 to cold and electricity.
eGreenbound = EffectLinkEffects(eGreenbound, EffectDamageResistance(DAMAGE_TYPE_ELECTRICAL, 10)); eGreenbound = EffectLinkEffects(eGreenbound, EffectDamageResistance(DAMAGE_TYPE_ELECTRICAL, 10));
@@ -176,14 +176,14 @@ void main ()
//:: No Template Stacking //:: No Template Stacking
if(GetLocalInt(oBaseCreature, "TEMPLATE_GREENBOUND") > 0) if(GetLocalInt(oBaseCreature, "TEMPLATE_GREENBOUND") > 0)
{ {
if(DEBUG) DoDebug("No Template Stacking"); DoDebug("No Template Stacking");
return; return;
} }
//:: Creatures & NPCs only //:: Creatures & NPCs only
if ((GetObjectType(oBaseCreature) != OBJECT_TYPE_CREATURE) || (GetIsPC(oBaseCreature) == TRUE)) if ((GetObjectType(oBaseCreature) != OBJECT_TYPE_CREATURE) || (GetIsPC(oBaseCreature) == TRUE))
{ {
if(DEBUG) DoDebug("Not a creature"); DoDebug("Not a creature");
return; return;
} }
/* /*
@@ -210,14 +210,13 @@ void main ()
json jFinalCreature; json jFinalCreature;
//:: The creature's type changes to plant with the appropriate augmented subtype. //:: The creature's type changes to plant with the appropriate augmented subtype.
//:: Hit Dice: Change all current Hit Dice to d8s.
jNewCreature = JsonModifyRacialType(jBaseCreature, RACIAL_TYPE_PLANT); jNewCreature = JsonModifyRacialType(jBaseCreature, RACIAL_TYPE_PLANT);
//:: Armor Class: A greenbound creature's natural armor bonus improves by 6 over that of the base creature. //:: Armor Class: A greenbound creature's natural armor bonus improves by 6 over that of the base creature.
jNewCreature = json_IncreaseBaseAC(jNewCreature, 6); jNewCreature = json_IncreaseBaseAC(jNewCreature, 6);
//:: Abilities: Increase from the base creature as follows: Str +6, Dex +2, Con +4, Cha +4. //:: Abilities: Increase from the base creature as follows: Str +6, Dex +2, Con +4, Cha +4.
jNewCreature = json_UpdateCreatureStats(jNewCreature, oBaseCreature, 6, 2, 4, 0, 0, 4); jNewCreature = json_UpdateTemplateStats(jNewCreature, 6, 2, 4, 0, 0, 4);
if (GetIsObjectValid(oBaseCreature)) if (GetIsObjectValid(oBaseCreature))
{ {
@@ -238,7 +237,7 @@ void main ()
//:: Challenge Rating: Same as the base creature +2 //:: Challenge Rating: Same as the base creature +2
jFinalCreature = json_UpdateCR(jNewCreature, nBaseCR, 2); jFinalCreature = json_UpdateCR(jNewCreature, nBaseCR, 2);
//:: Update the creature //:: Update the creature
oNewCreature = JsonToObject(jFinalCreature, lSpawnLoc); oNewCreature = JsonToObject(jFinalCreature, lSpawnLoc);

View File

@@ -362,7 +362,7 @@ void GiveXP(object oKiller, int nXPToGive, float fKillerBonus, int nDiff, int nP
} }
} }
//GiveXPToCreature(oParty, (nXPToGive + FloatToInt(fKillerBonus))); GiveXPToCreature(oParty, (nXPToGive + FloatToInt(fKillerBonus)));
} }
//:: Reward other party members //:: Reward other party members
else else
@@ -408,7 +408,7 @@ void GiveXP(object oKiller, int nXPToGive, float fKillerBonus, int nDiff, int nP
GiveGoldToCreature(oParty, FloatToInt((IntToFloat(nXPToGive) + fKillerBonus) * GP_REWARD_MULTIPLIER)); GiveGoldToCreature(oParty, FloatToInt((IntToFloat(nXPToGive) + fKillerBonus) * GP_REWARD_MULTIPLIER));
} */ } */
//GiveXPToCreature(oParty, nXPToGive); GiveXPToCreature(oParty, nXPToGive);
} }
} }
} }