RunMelfAcidImpact

From NWN Lexicon



Contents

[edit] RunMelfAcidImpact(int, object)

Handles the dealing of damage each round by the Melf’s Acid Arrow spell.

void RunMelfAcidImpact(
    int nSecondsRemaining,
    object oTarget
);

[edit] Parameters

nSecondsRemaining

Seconds to go yet

oTarget

Creature being damaged by acid


[edit] Description

This function recursively calls itself once started. Deals a small amount of damage every round, decrementing nSecondsRemaining, until nSecondsRemaining reaches 0.



[edit] Remarks

Found in nw_s0_acidarrow.nss line 21

This isn’t an include file, so you can’t include the function the usual way. Also, this function probably shouldn’t be called on its own – try using the entire nw_s0_acidarrow script instead.


[edit] Version

1.28

[edit] See Also



 author: Lilac Soul, additional contributor(s): Lilac Soul
 

Personal tools
Categories