Area Changes and other fixes

added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
This commit is contained in:
2024-08-30 10:38:04 -04:00
parent d39928374d
commit 8622e5ce08
17234 changed files with 0 additions and 4253346 deletions

View File

@@ -1,40 +0,0 @@
/*--------------------------------------------------------
Script Name: port_to_leader
----------------------------------------------------------
Created By: Genisys(Guile)
Created On: 2/09/09
----------------------------------------------------------
The PC Teleports to the Party Leader from the conversation.
This script goes in the Action Taken event for that line.
----------------------------------------------------------*/
void main()
{
object oPC = GetPCSpeaker();
object oLeader = GetFactionLeader(oPC);
if(GetIsInCombat(oPC))
{
FloatingTextStringOnCreature("You cannot recall while in combat!", oPC, TRUE);
return;
}
else if(GetLocalInt(GetArea(oPC), "PVP")>=1)
{
FloatingTextStringOnCreature("You cannot recall from a PVP area!", oPC, TRUE);
return;
}
if (oLeader != oPC) {
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), oPC);
AssignCommand(oPC, JumpToObject(oLeader));
} else {
SendMessageToPC(oPC, "You are the party leader!");
}
}