Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
34
_module/nss/jw_parmold_usd.nss
Normal file
34
_module/nss/jw_parmold_usd.nss
Normal file
@@ -0,0 +1,34 @@
|
||||
void DoMindDrain (object oTarget);
|
||||
|
||||
void main()
|
||||
{
|
||||
int nEvent = GetUserDefinedEventNumber();
|
||||
|
||||
if (nEvent == 50)
|
||||
{
|
||||
|
||||
|
||||
|
||||
SpeakString("*The fungus reacts to your presence*");
|
||||
|
||||
|
||||
|
||||
// Do the spell effect
|
||||
//Declare major variables
|
||||
object oCaster = OBJECT_SELF;
|
||||
|
||||
effect eExplode = EffectVisualEffect(VFX_FNF_GAS_EXPLOSION_GREASE);
|
||||
effect eAoe=EffectAreaOfEffect(AOE_PER_STONEHOLD,"jw_parmold_ent","jw_parmold_hb","jw_empty_script");
|
||||
|
||||
float fDelay;
|
||||
float fDist;
|
||||
int nSave;
|
||||
float fDuration;
|
||||
///Get the spell target location as opposed to the spell target.
|
||||
location lTarget = GetLocation(OBJECT_SELF);
|
||||
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eExplode, lTarget);
|
||||
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eAoe, lTarget,90.0);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user