Initial commit. Updated release archive.
This commit is contained in:
25
_module/nss/ro_dei_choronzon.nss
Normal file
25
_module/nss/ro_dei_choronzon.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
SetDeity(oPC, "Choronzon");
|
||||
|
||||
|
||||
//Visual effects can't be applied to waypoints, so if it is a WP
|
||||
//apply to the WP's location instead
|
||||
|
||||
int nInt;
|
||||
nInt = GetObjectType(oPC);
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_LOS_EVIL_30), oPC);
|
||||
else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_LOS_EVIL_30), GetLocation(oPC));
|
||||
|
||||
AdjustAlignment(oPC, ALIGNMENT_EVIL, 100);
|
||||
AdjustAlignment(oPC, ALIGNMENT_CHAOTIC, 100);
|
||||
|
||||
//CreateItemOnObject("devoteedagger", oPC);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user