Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
aa4680cac9 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,10 +1,17 @@
|
||||
/* Paragon Creature Template
|
||||
/* Greenbound Creature Include
|
||||
|
||||
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.
|
||||
|
||||
/*
|
||||
|
||||
/*
|
@@ -107,7 +107,7 @@ void ApplyGreenboundEffects(object oCreature, int nBaseHD)
|
||||
int nMaxHP = GetMaxPossibleHP(oCreature);
|
||||
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.
|
||||
eGreenbound = EffectLinkEffects(eGreenbound, EffectDamageResistance(DAMAGE_TYPE_ELECTRICAL, 10));
|
||||
@@ -176,14 +176,14 @@ void main ()
|
||||
//:: No Template Stacking
|
||||
if(GetLocalInt(oBaseCreature, "TEMPLATE_GREENBOUND") > 0)
|
||||
{
|
||||
if(DEBUG) DoDebug("No Template Stacking");
|
||||
DoDebug("No Template Stacking");
|
||||
return;
|
||||
}
|
||||
|
||||
//:: Creatures & NPCs only
|
||||
if ((GetObjectType(oBaseCreature) != OBJECT_TYPE_CREATURE) || (GetIsPC(oBaseCreature) == TRUE))
|
||||
{
|
||||
if(DEBUG) DoDebug("Not a creature");
|
||||
DoDebug("Not a creature");
|
||||
return;
|
||||
}
|
||||
/*
|
||||
@@ -210,14 +210,13 @@ void main ()
|
||||
json jFinalCreature;
|
||||
|
||||
//:: 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);
|
||||
|
||||
//:: Armor Class: A greenbound creature's natural armor bonus improves by 6 over that of the base creature.
|
||||
jNewCreature = json_IncreaseBaseAC(jNewCreature, 6);
|
||||
|
||||
//:: 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))
|
||||
{
|
||||
@@ -238,7 +237,7 @@ void main ()
|
||||
|
||||
//:: Challenge Rating: Same as the base creature +2
|
||||
jFinalCreature = json_UpdateCR(jNewCreature, nBaseCR, 2);
|
||||
|
||||
|
||||
//:: Update the creature
|
||||
oNewCreature = JsonToObject(jFinalCreature, lSpawnLoc);
|
||||
|
||||
|
@@ -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
|
||||
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));
|
||||
} */
|
||||
|
||||
//GiveXPToCreature(oParty, nXPToGive);
|
||||
GiveXPToCreature(oParty, nXPToGive);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user