Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-08-08 16:22:17 -04:00
parent 51a2a1286e
commit 22947ad4b6
6511 changed files with 6765205 additions and 0 deletions

27
_module/nss/fx_hbdiv.nss Normal file
View File

@@ -0,0 +1,27 @@
int MakeDivineVisual()
{ int nVis = 1;
int nRandom = Random(6) + 1;
switch (nRandom)
{
case 1: nVis = VFX_IMP_GOOD_HELP; break;
case 2: nVis = VFX_FNF_STRIKE_HOLY; break;
case 3: nVis = VFX_IMP_LIGHTNING_M; break;
case 4: nVis = VFX_IMP_FROST_L; break;
case 5: nVis = VFX_IMP_HOLY_AID; break;
case 6: nVis = VFX_IMP_HEALING_X; break;
}
return nVis;
}
void main()
{
int nVis = MakeDivineVisual();
float fDelay = IntToFloat(Random(300)) * 0.01;
DelayCommand(fDelay, ApplyEffectToObject(DURATION_TYPE_PERMANENT,EffectVisualEffect(nVis), OBJECT_SELF));
}