Updated DM Spirit NPC conversation
Updated DM Spirit NPC conversation. Updated release archive.
This commit is contained in:
@@ -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));
|
||||
|
||||
}
|
||||
|
||||
|
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user