RunMelfAcidImpact

From NWN Lexicon
Jump to navigationJump to search



RunMelfAcidImpact(int, object)

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

void RunMelfAcidImpact(
    int nSecondsRemaining,
    object oTarget
);

Parameters

nSecondsRemaining

Seconds to go yet

oTarget

Creature being damaged by acid


Description

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



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.


Version

1.28

See Also



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