-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interaction - Battlefield: Desires of Emptiness
Properly set battlefield exit npcs Fix BattlefieldMission checkSkipCutscene for var changes Update skipcs checks to include further progress in current mission Remove old desires of emptiness bcnm checks Fix undefined local Fix missionStatus check in onBattlefieldWin
- Loading branch information
Showing
11 changed files
with
103 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
scripts/battlefields/Spire_of_Vahzl/desires_of_emptiness.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
----------------------------------- | ||
-- Desires of Emptiness | ||
-- Spire of Vahzl mission battlefield | ||
----------------------------------- | ||
local spireOfVahzlID = zones[xi.zone.SPIRE_OF_VAHZL] | ||
----------------------------------- | ||
|
||
local content = BattlefieldMission:new({ | ||
zoneId = xi.zone.SPIRE_OF_VAHZL, | ||
battlefieldId = xi.battlefield.id.DESIRES_OF_EMPTINESS, | ||
isMission = true, | ||
maxPlayers = 6, | ||
levelCap = 50, | ||
timeLimit = utils.minutes(30), | ||
index = 0, | ||
entryNpc = '_0n0', | ||
exitNpcs = { '_0n1', '_0n2', '_0n3' }, | ||
missionArea = xi.mission.log_id.COP, | ||
mission = xi.mission.id.cop.DESIRES_OF_EMPTINESS, | ||
requiredVar = 'Mission[6][518]Status', | ||
requiredValue = 2, | ||
|
||
grantXP = 1500, | ||
title = xi.title.FROZEN_DEAD_BODY, | ||
}) | ||
|
||
content.groups = | ||
{ | ||
{ | ||
mobIds = | ||
{ | ||
{ | ||
spireOfVahzlID.mob.AGONIZER, | ||
spireOfVahzlID.mob.AGONIZER + 1, | ||
spireOfVahzlID.mob.AGONIZER + 6, | ||
}, | ||
|
||
{ | ||
spireOfVahzlID.mob.AGONIZER + 7, | ||
spireOfVahzlID.mob.AGONIZER + 8, | ||
spireOfVahzlID.mob.AGONIZER + 13, | ||
}, | ||
|
||
{ | ||
spireOfVahzlID.mob.AGONIZER + 14, | ||
spireOfVahzlID.mob.AGONIZER + 15, | ||
spireOfVahzlID.mob.AGONIZER + 20, | ||
}, | ||
}, | ||
|
||
allDeath = function(battlefield, mob) | ||
battlefield:setStatus(xi.battlefield.status.WON) | ||
end, | ||
}, | ||
|
||
{ | ||
mobIds = | ||
{ | ||
{ | ||
spireOfVahzlID.mob.AGONIZER + 2, | ||
spireOfVahzlID.mob.AGONIZER + 3, | ||
spireOfVahzlID.mob.AGONIZER + 4, | ||
spireOfVahzlID.mob.AGONIZER + 5, | ||
}, | ||
|
||
{ | ||
spireOfVahzlID.mob.AGONIZER + 9, | ||
spireOfVahzlID.mob.AGONIZER + 10, | ||
spireOfVahzlID.mob.AGONIZER + 11, | ||
spireOfVahzlID.mob.AGONIZER + 12, | ||
}, | ||
|
||
{ | ||
spireOfVahzlID.mob.AGONIZER + 16, | ||
spireOfVahzlID.mob.AGONIZER + 17, | ||
spireOfVahzlID.mob.AGONIZER + 18, | ||
spireOfVahzlID.mob.AGONIZER + 19, | ||
}, | ||
}, | ||
|
||
spawned = false, | ||
}, | ||
} | ||
|
||
return content:register() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ zones[xi.zone.SPIRE_OF_VAHZL] = | |
}, | ||
mob = | ||
{ | ||
AGONIZER = GetFirstID('Agonizer'), | ||
}, | ||
npc = | ||
{ | ||
|
42 changes: 0 additions & 42 deletions
42
scripts/zones/Spire_of_Vahzl/bcnms/desires_of_emptiness.lua
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters