26 lines
698 B
Plaintext
26 lines
698 B
Plaintext
//::///////////////////////////////////////////////////
|
|
//:: X0_S1_PETRGAZE
|
|
//:: Petrification touch attack monster ability.
|
|
//:: Fortitude save (DC 15) or be turned to stone permanently.
|
|
//:: Copyright (c) 2002 Floodgate Entertainment
|
|
//:: Created By: Naomi Novik
|
|
//:: Created On: 11/14/2002
|
|
//::///////////////////////////////////////////////////
|
|
|
|
/*
|
|
Anphillia Changes
|
|
Modifications to DoPetrification in x0_i0_spells requires a recompile of
|
|
this script within the game resources.
|
|
*/
|
|
|
|
#include "x0_i0_spells"
|
|
|
|
void main()
|
|
{
|
|
object oTarget = GetSpellTargetObject();
|
|
int nHitDice = GetHitDice(oTarget);
|
|
|
|
DoPetrification(nHitDice, OBJECT_SELF, oTarget, GetSpellId(), 15);
|
|
}
|
|
|