Updated DM Spirit NPC conversation

Updated DM Spirit NPC conversation.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-03-24 19:44:11 -04:00
parent 35c436c63f
commit 39e766ef24
8 changed files with 572 additions and 9 deletions

View File

@@ -24,9 +24,10 @@ void main()
object oPC = GetPCSpeaker();
RemoveXPFromParty(10000, oPC, FALSE);
//RemoveXPFromParty(10000, oPC, FALSE);
SetXP(oPC, 1);
AssignCommand(oPC, TakeGoldFromCreature(100000, oPC, TRUE));
}

View File

@@ -2,9 +2,11 @@ void main()
{
object oTarget = GetPCSpeaker();
effect eStone = EffectPetrify();
float nDelay = IntToFloat(Random(60)+1);
//float nDelay = IntToFloat(Random(60)+1);
int nRandom = 4 + d4(1);
AssignCommand(oTarget, ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_PETRIFY), GetLocation(oTarget)));
AssignCommand(oTarget, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eStone, oTarget));
DelayCommand(nDelay, ActionCastSpellAtObject(SPELL_STONE_TO_FLESH, oTarget, METAMAGIC_NONE, TRUE));
AssignCommand(oTarget, ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eStone, oTarget, TurnsToSeconds(nRandom)));
//DelayCommand(nDelay, ActionCastSpellAtObject(SPELL_STONE_TO_FLESH, oTarget, METAMAGIC_NONE, TRUE));
}