Initial Upload
Initial Upload
This commit is contained in:
17
_module/nss/tor_bwods.nss
Normal file
17
_module/nss/tor_bwods.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
void main()
|
||||
{
|
||||
object oPc = GetLastDamager(OBJECT_SELF);
|
||||
if(GetLocalInt(OBJECT_SELF, "Hitted") == 0)
|
||||
{
|
||||
SpeakString("*Something splashes in to your face behind scales!*", TALKVOLUME_TALK);
|
||||
effect eVisual = EffectVisualEffect(VFX_DUR_GLOW_GREEN, FALSE);
|
||||
effect eVisual2 = EffectVisualEffect(VFX_IMP_ACID_S, FALSE);
|
||||
effect eBlind = EffectBlindness();
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eVisual, oPc, 10.0f);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eVisual2, oPc, 0.0f);
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eBlind, oPc, 10.0f);
|
||||
SetLocalInt(OBJECT_SELF, "Hitted", 1);
|
||||
|
||||
DelayCommand(20.0f, SetLocalInt(OBJECT_SELF, "Hitted", 0));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user