2025/09/06 Update
Fixed damaged baseitems.2da Updated PEPS. Full compile.
This commit is contained in:
@@ -32,6 +32,7 @@ void main()
|
||||
vector vTarget = GetTargetingModeSelectedPosition();
|
||||
location lLocation = Location(GetArea(oPC), vTarget, GetFacing(oPC));
|
||||
object oObject = GetLocalObject(oPC, "AI_TARGET_OBJECT");
|
||||
DeleteLocalString(oPC, AI_TARGET_MODE);
|
||||
// If the user manually exited targeting mode without selecting a target, return
|
||||
if(!GetIsObjectValid(oTarget) && vTarget == Vector())
|
||||
{
|
||||
@@ -327,6 +328,7 @@ void main()
|
||||
if(JsonGetType(jLvlStatList) == JSON_TYPE_NULL)
|
||||
{
|
||||
RemoveHenchman(oPC, oHenchman);
|
||||
ChangeToStandardFaction(oHenchman, STANDARD_FACTION_DEFENDER);
|
||||
// Make sure to get a clean faction version of the henchman here.
|
||||
jHenchman = ObjectToJson(oHenchman, TRUE);
|
||||
jHenchman = CreateLevelStatList(jHenchman, oHenchman, oPC);
|
||||
|
Reference in New Issue
Block a user