2026/04/20 Update 2

The PnP version of Black Blade of Disaster now actually follows 3e PnP.
The onSpawn call for incorporeal creatures now uses SetIncorporeal().
Fixed minor typo in prc_fact_cunconv
This commit is contained in:
Jaysyn904
2026-04-20 23:37:32 -04:00
parent 0e9dabdfb3
commit 427e48a81e
4 changed files with 143 additions and 96 deletions

View File

@@ -29,7 +29,7 @@
#include "x0_i0_anims"
// #include "x0_i0_walkway" - in x0_i0_anims
#include "x0_i0_treasure"
#include "prc_inc_spells"
#include "x2_inc_switches"
void main()
@@ -297,7 +297,12 @@ void main()
// ***** ADD ANY SPECIAL ON-SPAWN CODE HERE ***** //
// * If Incorporeal, apply changes
if (GetCreatureFlag(OBJECT_SELF, CREATURE_VAR_IS_INCORPOREAL) == TRUE)
if (GetCreatureFlag(OBJECT_SELF, CREATURE_VAR_IS_INCORPOREAL) == TRUE)
{
SetIncorporeal(OBJECT_SELF, 0.0f, 2, TRUE);
}
/* if (GetCreatureFlag(OBJECT_SELF, CREATURE_VAR_IS_INCORPOREAL) == TRUE)
{
effect eConceal = EffectConcealment(50, MISS_CHANCE_TYPE_NORMAL);
eConceal = ExtraordinaryEffect(eConceal);
@@ -306,7 +311,7 @@ void main()
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eConceal, OBJECT_SELF);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eGhost, OBJECT_SELF);
}
} */
// * Give the create a random name.
// * If you create a script named x3_name_gen in your module, you can