Initial upload
Initial upload
This commit is contained in:
46
_module/nss/tab_newply_port.nss
Normal file
46
_module/nss/tab_newply_port.nss
Normal 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));
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user