- Fixed X-Y coordinate mixed up for CheckConditionsForTriggeringCreatureQuest (by Buggler)

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1762 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2013-09-10 07:25:38 +00:00
parent bc0112e95e
commit a36de16fd6
3 changed files with 15 additions and 15 deletions
@@ -47,11 +47,11 @@
** Examples **
**************
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
-- instructions
end
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
-- instructions
else
-- instructions
@@ -183,7 +183,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
-- Count the number of "infectible mines" the player occupies
-- SEC_D13
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
ubValidMines = ubValidMines + 1
end
@@ -193,12 +193,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
end
-- SEC_I14
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
ubValidMines = ubValidMines + 1
end
-- SEC_H3
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
ubValidMines = ubValidMines + 1
end
@@ -47,11 +47,11 @@
** Examples **
**************
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
-- instructions
end
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
-- instructions
else
-- instructions
@@ -183,7 +183,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
-- Count the number of "infectible mines" the player occupies
-- SEC_D13
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
ubValidMines = ubValidMines + 1
end
@@ -193,12 +193,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
end
-- SEC_I14
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
ubValidMines = ubValidMines + 1
end
-- SEC_H3
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
ubValidMines = ubValidMines + 1
end
@@ -47,11 +47,11 @@
** Examples **
**************
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
-- instructions
end
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
-- instructions
else
-- instructions
@@ -182,7 +182,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
-- Count the number of "infectible mines" the player occupies
-- SEC_D13
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
ubValidMines = ubValidMines + 1
end
@@ -192,12 +192,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
end
-- SEC_I14
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
ubValidMines = ubValidMines + 1
end
-- SEC_H3
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
ubValidMines = ubValidMines + 1
end