Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 18:13:22 -04:00
parent 684ef76c20
commit 499aba4eb3
5734 changed files with 4843758 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
#include "nw_i0_tool"
void main()
{
object oPC = GetPCSpeaker();
RewardPartyXP(10000, oPC, FALSE);
RewardPartyGP(5000, oPC, FALSE);
CreateItemOnObject("curemod", oPC);
CreateItemOnObject("curemod", oPC);
CreateItemOnObject("curemod", oPC);
CreateItemOnObject("trinitybook", oPC);
object oCaster;
oCaster = OBJECT_SELF;
object oTarget;
oTarget = oPC;
AssignCommand(oCaster, ActionCastFakeSpellAtObject(SPELL_RAISE_DEAD, oTarget, PROJECTILE_PATH_TYPE_DEFAULT));
location lTarget;
oTarget = GetWaypointByTag("trin_home_01");
lTarget = GetLocation(oTarget);
if (GetAreaFromLocation(lTarget)==OBJECT_INVALID) return;
AssignCommand(oPC, ClearAllActions());
DelayCommand(2.0, AssignCommand(oPC, ActionJumpToLocation(lTarget)));
oTarget = oPC;
int nInt;
nInt = GetObjectType(oTarget);
if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_1), oTarget);
else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_1), GetLocation(oTarget));
}