Changes and Fixes

Removed old cripple creek maps and added originals back in. Fixed outfits for some mobs that were not showing up previously. Added and fixed some transitions.
This commit is contained in:
2024-10-07 11:32:07 -04:00
parent 2e9f4aed46
commit bd6efd3825
70 changed files with 29496 additions and 50137 deletions

View File

@@ -0,0 +1,40 @@
/*--------------------------------------------------------
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!");
}
}