From aa4680cac9f01908d3a9d47df39c054bbcdcad34 Mon Sep 17 00:00:00 2001 From: Jaysyn904 <68194417+Jaysyn904@users.noreply.github.com> Date: Tue, 16 Sep 2025 12:36:52 -0400 Subject: [PATCH] 2025/09/16 Update XP System was turned off somehow. --- _module/ncs/make_greenbound.ncs | Bin 22137 -> 22841 bytes _module/ncs/prc_pwondeath.ncs | Bin 3516 -> 2988 bytes _module/ncs/re_widget9.ncs | Bin 175 -> 207 bytes _module/ncs/sf_xp.ncs | Bin 8538 -> 8595 bytes _module/ncs/silenttrigger2.ncs | Bin 144 -> 128 bytes _module/ncs/spawnb_cc_activ.ncs | Bin 164 -> 180 bytes _module/nss/inc_greenbound.nss | 17 ++++++++++++----- _module/nss/make_greenbound.nss | 11 +++++------ _module/nss/sf_xp.nss | 4 ++-- 9 files changed, 19 insertions(+), 13 deletions(-) diff --git a/_module/ncs/make_greenbound.ncs b/_module/ncs/make_greenbound.ncs index dfe0fd7891bed08fa2d16af9eeb476a0187179a0..a9134e0551b29236c85d99513492b3e67f8559bb 100644 GIT binary patch delta 1875 zcmZvcU2IfE6vt=Io!zFE?JntexBJnpMgrLGnnFu}l)9x+FeH`QN@9w|G{Ho>bXlWD zl4>Xk(HPkrd{9gfVhkpg2XAQX3&yniAR>hZsjCKd&wQl*6@*K_CI>E7<{)7*3B zfB*BFGdX8*l#hSOJv-t%!#%Oa=o5_X+K~2q2x2aMD#q8R=NdeF{LC(;nw z&4l@5>6?_>P<+jbd=uF9NE!a9eFK#pm=+Q6pELi#??nX!ZsV__3xb1sv#Y~93>s(z zBlf(J8lY9%nMz9ITb7lGN3;+fz+zA(G+G}jB>I?}Eb~lA)(lAqQ zVu^8%35!u_6=SQz(KKAf7*7m38R2>%#vGBh-r<;KR4SV>b2y)IRxv8A&A52T;h4wx z)L?2EINuTihIsA7RXX+luLzOoKwf;#wP~B*L?8DR5y*OVrLO~{NXEVDg z`xd}BMr(TD-&P!IuhT!Rxy0elljb)b^*51z@dJ$c>aZ`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bd52629eb4f..71683fa11869330094512a1d9bec6fbd6998f120 100644 GIT binary patch delta 425 zcmdlZy+&N$&pB8j%uvt3iGhK8jT{3Ia40aauri3{mB%M1<`yJorsu_{B*mwsrX`l< zluUFK6J=rs%5w$;Imf%WI)%D}HAzhDa^PlVVBE^U!Ui&A;@9i-%#8p4|Nq0l!omy` zU}R-rn9T$h`T-RJngSF00u^FK2z`JGF(8EAK!rFFLNA~~%m|?;P@#IDdtl~2fQoS; zgzi9vco9N3ph8Rtp({`!9)!>Zs1O@M=nPbd9U*jrfd}Go4zSo{MHXRl@a6@qG8_OP C(_~fv literal 3516 zcmeHKJx>%-6n#6hyMhXdh^X;vf{7+*jKpsWO#nk-AO_>N$!2zUST+nZo7p8$`U5N| zEKIPlu&}VO(8Pj56AKFq3kwPh3kwSiVkjsuc;?PLm^+g-p%!K5For%@D$Xt5|gN#!wDxx-Y>3o5&r%CuwGd@n77W>3gG*}6=9yz02+v<$Xg zLgwk#WyT$M(rKh+5C938XI$nUGwq^a+8$<_=aeQ~yX2&W5Jm~17hGsFt78X&KV47D zAUP8FSC(_Hm$W-2OmHTWqmxS4LvDvuJSi=gC zIccROriARl(X^In513M)ptP4M1=Y%UbE&o8I}~ilAG$vZC5`t6eL-5#ow8Mf*xLkB z6lxIrkU$D94KBnW#f%2Am5529ph2`gfzOlb=u`q}S8FC3i$L0g8blWmNP9+uSTq8u z#We_j38aqHAe; sD+5naYJ9$9QEFmHetr%!Nd5~0P?#ZxQA8O?ePRF-W=yCWCnop<08#HD@Bjb+ delta 76 zcmX@lxSmnm&pB8j%uvt3iGhJ(JrlDWkYeCaV3;VWpvl6@z*CeOpYK?dni!IwpTo@f b|Ns9V3_xLq7)B9gAoYm>NSHBAZ14vFjr9?$ diff --git a/_module/ncs/sf_xp.ncs b/_module/ncs/sf_xp.ncs index b2455033bb632c04bca7faa6181dfdd3f6d6e5de..66914b829a8d8011832eb94ffe70163c127e655d 100644 GIT binary patch delta 142 zcmccRG})Qg&pB8j%uvt3iGe|J@rW+ zi=@?RnPeFl7?_GSpOXt`5t<8 delta 50 zcmZo*oWQ8%=NzmMW~gW2#K6EXK@LbTa40Y^v9U5RNHQ=o{{R2~2Lp>V1CahRQ7R1p D0s0Mu diff --git a/_module/ncs/spawnb_cc_activ.ncs b/_module/ncs/spawnb_cc_activ.ncs index b571555b63ff9f0dfa3ca66717b25f0a536d8e63..de4d1662e57a621adef6cef756bd631c3c2f091a 100644 GIT binary patch delta 73 zcmZ3&xP{Tt&pB8j%uvt3iGhJ(3lp;(kYeCaU|?cnVP)VBNGwXtD+w-0EYD+M1Ie&5 YFqknhGXDSn{|5t$Gy{)4-~a#s delta 57 zcmdnOxP;Nr&pB8j%uvt3iGhJ(2@|s%kYeCaU|?Zo;0{PEO3f$V1^_`r3b_CP diff --git a/_module/nss/inc_greenbound.nss b/_module/nss/inc_greenbound.nss index 512d8805..377c69cc 100644 --- a/_module/nss/inc_greenbound.nss +++ b/_module/nss/inc_greenbound.nss @@ -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. + +/* -/* \ No newline at end of file diff --git a/_module/nss/make_greenbound.nss b/_module/nss/make_greenbound.nss index 6c929f89..c49df702 100644 --- a/_module/nss/make_greenbound.nss +++ b/_module/nss/make_greenbound.nss @@ -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); diff --git a/_module/nss/sf_xp.nss b/_module/nss/sf_xp.nss index edd6053a..ba0e0c53 100644 --- a/_module/nss/sf_xp.nss +++ b/_module/nss/sf_xp.nss @@ -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); } } }