Initial commit. Updated release archive.
This commit is contained in:
27
_module/nss/ro_dei_haeph.nss
Normal file
27
_module/nss/ro_dei_haeph.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
SetDeity(oPC, "Hephaestus");
|
||||
|
||||
|
||||
//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_SUMMON_CELESTIAL), oPC);
|
||||
else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMON_CELESTIAL), GetLocation(oPC));
|
||||
|
||||
|
||||
AdjustAlignment(oPC, ALIGNMENT_NEUTRAL, 25);
|
||||
|
||||
AdjustAlignment(oPC, ALIGNMENT_GOOD, 25);
|
||||
|
||||
CreateItemOnObject("HaephestusHammer", oPC);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user