Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.COOKIEDUSTER_LIPIROON - 8] = ID.mob.COOKIEDUSTER_LIPIROON,
[ID.mob.COOKIEDUSTER_LIPIROON - 6] = ID.mob.COOKIEDUSTER_LIPIROON,
[ID.mob.COOKIEDUSTER_LIPIROON - 8] = ID.mob.COOKIEDUSTER_LIPIROON, -- Confimred on retail
[ID.mob.COOKIEDUSTER_LIPIROON - 2] = ID.mob.COOKIEDUSTER_LIPIROON, -- Confimred on retail
}

entity.onMobInitialize = function(mob)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ entity.onMobDeath = function(mob, player, optParams)
end

entity.onMobDespawn = function(mob)
xi.mob.phOnDespawn(mob, ID.mob.COOKIEDUSTER_LIPIROON, 5, 3600) -- 1 hour
xi.mob.phOnDespawn(mob, ID.mob.COOKIEDUSTER_LIPIROON, 15, 3600) -- 1 hour
end

return entity
2 changes: 1 addition & 1 deletion scripts/zones/Attohwa_Chasm/mobs/Ambusher_Antlion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.AMBUSHER_ANTLION - 78] = ID.mob.AMBUSHER_ANTLION, -- -433.309 -4.3 113.841
[ID.mob.AMBUSHER_ANTLION - 78] = ID.mob.AMBUSHER_ANTLION, -- Confirmed on retail
}

entity.onMobDeath = function(mob, player, optParams)
Expand Down
4 changes: 1 addition & 3 deletions scripts/zones/Attohwa_Chasm/mobs/Citipati.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ local entity = {}

entity.phList =
{
[ID.mob.CITIPATI - 7] = ID.mob.CITIPATI, -- -328.973 -12.876 67.481
[ID.mob.CITIPATI - 4] = ID.mob.CITIPATI, -- -398.931 -4.536 79.640
[ID.mob.CITIPATI - 1] = ID.mob.CITIPATI, -- -381.284 -9.233 40.054
[ID.mob.CITIPATI - 1] = ID.mob.CITIPATI, -- Confirmed on retail
}

entity.spawnPoints =
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Attohwa_Chasm/mobs/Trench_Antlion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ entity.onMobDeath = function(mob, player, optParams)
end

entity.onMobDespawn = function(mob)
xi.mob.phOnDespawn(mob, ID.mob.AMBUSHER_ANTLION, 10, 3600) -- 1 hour
xi.mob.phOnDespawn(mob, ID.mob.AMBUSHER_ANTLION, 15, 3600) -- 1 hour
end

return entity
2 changes: 1 addition & 1 deletion scripts/zones/Pashhow_Marshlands/mobs/Bloodpool_Vorax.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.BLOODPOOL_VORAX - 5] = ID.mob.BLOODPOOL_VORAX, -- -351.884 24.014 513.531
[ID.mob.BLOODPOOL_VORAX - 5] = ID.mob.BLOODPOOL_VORAX, -- Confirmed on retail
}

entity.onMobDeath = function(mob, player, optParams)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Pashhow_Marshlands/mobs/Goobbue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ entity.onMobDeath = function(mob, player, optParams)
end

entity.onMobDespawn = function(mob)
xi.mob.phOnDespawn(mob, ID.mob.JOLLY_GREEN, 5, 1) -- 1 second / no cooldown
xi.mob.phOnDespawn(mob, ID.mob.JOLLY_GREEN, 10, 1) -- 1 second / no cooldown
end

return entity
4 changes: 2 additions & 2 deletions scripts/zones/Pashhow_Marshlands/mobs/NiZho_Bladebender.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.NI_ZHO_BLADEBENDER - 57] = ID.mob.NI_ZHO_BLADEBENDER, -- -429.953 24.5 -305.450 TODO: Audit PH
[ID.mob.NI_ZHO_BLADEBENDER - 8] = ID.mob.NI_ZHO_BLADEBENDER, -- 11.309 23.904 -337.923
[ID.mob.NI_ZHO_BLADEBENDER - 57] = ID.mob.NI_ZHO_BLADEBENDER, -- Confirmed on retail
[ID.mob.NI_ZHO_BLADEBENDER - 8] = ID.mob.NI_ZHO_BLADEBENDER, -- Confirmed on retail
}

entity.onMobDeath = function(mob, player, optParams)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Pashhow_Marshlands/mobs/Thread_Leech.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ entity.onMobDeath = function(mob, player, optParams)
end

entity.onMobDespawn = function(mob)
xi.mob.phOnDespawn(mob, ID.mob.BLOODPOOL_VORAX, 5, 600) -- 10 minutes
xi.mob.phOnDespawn(mob, ID.mob.BLOODPOOL_VORAX, 10, 600) -- 10 minutes
end

return entity
6 changes: 1 addition & 5 deletions scripts/zones/Quicksand_Caves/mobs/Antican_Magister.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ entity.spawnPoints =

entity.phList =
{
-- Antican Magister is a lottery of various Antica at (C-6).
--
[ID.mob.ANTICAN_MAGISTER - 1] = ID.mob.ANTICAN_MAGISTER, -- Antican_Signifer
[ID.mob.ANTICAN_MAGISTER - 2] = ID.mob.ANTICAN_MAGISTER, -- Antican_Princeps
[ID.mob.ANTICAN_MAGISTER - 3] = ID.mob.ANTICAN_MAGISTER, -- Antican_Hastatus
[ID.mob.ANTICAN_MAGISTER - 3] = ID.mob.ANTICAN_MAGISTER, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Quicksand_Caves/mobs/Antican_Tribunus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.ANTICAN_TRIBUNUS + 18] = ID.mob.ANTICAN_TRIBUNUS, -- -575.455 -0.401 -433.802 TODO: Audit PH
[ID.mob.ANTICAN_TRIBUNUS -3] = ID.mob.ANTICAN_TRIBUNUS, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Quicksand_Caves/mobs/Centurio_X-I.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.CENTURIO_X_I - 1] = ID.mob.CENTURIO_X_I, -- 773.581 1.576 -568.904
[ID.mob.CENTURIO_X_I - 1] = ID.mob.CENTURIO_X_I, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
6 changes: 5 additions & 1 deletion scripts/zones/Quicksand_Caves/mobs/Diamond_Daig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.DIAMOND_DAIG + 9] = ID.mob.DIAMOND_DAIG, -- -95.632 -0.5 -214.732
[ID.mob.DIAMOND_DAIG + 3] = ID.mob.DIAMOND_DAIG, -- Confirmed on retail
[ID.mob.DIAMOND_DAIG + 6] = ID.mob.DIAMOND_DAIG, -- Confirmed on retail
[ID.mob.DIAMOND_DAIG + 9] = ID.mob.DIAMOND_DAIG, -- Confirmed on retail
[ID.mob.DIAMOND_DAIG + 12] = ID.mob.DIAMOND_DAIG, -- Confirmed on retail
[ID.mob.DIAMOND_DAIG + 16] = ID.mob.DIAMOND_DAIG, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Quicksand_Caves/mobs/Hastatus_XI-XII.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.HASTATUS_XI_XII - 4] = ID.mob.HASTATUS_XI_XII, -- -343.859 -0.411 751.608
[ID.mob.HASTATUS_XI_XII - 4] = ID.mob.HASTATUS_XI_XII, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
10 changes: 9 additions & 1 deletion scripts/zones/Quicksand_Caves/mobs/Helm_Beetle.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ entity.onMobDeath = function(mob, player, optParams)
end

entity.onMobDespawn = function(mob)
xi.mob.phOnDespawn(mob, ID.mob.DIAMOND_DAIG, 10, 3600) -- 1 hour
local zone = mob:getZone()
if not zone then
return
end

-- TODO: Need to check if it can pop if the PH was killed BEFORE the sandstorm appeared
if zone:getWeather() == xi.weather.SAND_STORM then
xi.mob.phOnDespawn(mob, ID.mob.DIAMOND_DAIG, 20, 3600) -- 1 hour
end
Comment thread
Xaver-DaRed marked this conversation as resolved.
end

return entity
3 changes: 1 addition & 2 deletions scripts/zones/Quicksand_Caves/mobs/Nussknacker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.NUSSKNACKER - 7] = ID.mob.NUSSKNACKER, -- 189 2 4
[ID.mob.NUSSKNACKER - 6] = ID.mob.NUSSKNACKER, -- 200 2 -4
[ID.mob.NUSSKNACKER - 6] = ID.mob.NUSSKNACKER, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Quicksand_Caves/mobs/Sabotender_Bailaor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ entity.onMobDeath = function(mob, player, optParams)
end

entity.onMobDespawn = function(mob)
xi.mob.phOnDespawn(mob, ID.mob.SABOTENDER_BAILARIN, 100, 9000) -- 2.5 hours
xi.mob.phOnDespawn(mob, ID.mob.SABOTENDER_BAILARIN, 10, 9000) -- 2.5 hours
end

return entity
3 changes: 1 addition & 2 deletions scripts/zones/Quicksand_Caves/mobs/Sabotender_Bailarin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ local entity = {}

entity.phList =
{
[ID.mob.SABOTENDER_BAILARIN - 3] = ID.mob.SABOTENDER_BAILARIN, -- 604 -5.5 -680
[ID.mob.SABOTENDER_BAILARIN - 2] = ID.mob.SABOTENDER_BAILARIN, -- 600 -5.5 -673
[ID.mob.SABOTENDER_BAILARIN - 2] = ID.mob.SABOTENDER_BAILARIN, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
5 changes: 3 additions & 2 deletions scripts/zones/Quicksand_Caves/mobs/Sabotender_Bailarina.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ local entity = {}

entity.phList =
{
[ID.mob.SABOTENDER_BAILARINA - 5] = ID.mob.SABOTENDER_BAILARINA, -- -458 0 780
[ID.mob.SABOTENDER_BAILARINA - 1] = ID.mob.SABOTENDER_BAILARINA, -- -522 1 779
[ID.mob.SABOTENDER_BAILARINA - 5] = ID.mob.SABOTENDER_BAILARINA, -- Confirmed on retail
[ID.mob.SABOTENDER_BAILARINA - 1] = ID.mob.SABOTENDER_BAILARINA, -- Confirmed on retail
[ID.mob.SABOTENDER_BAILARINA + 3] = ID.mob.SABOTENDER_BAILARINA, -- Confirmed on retail
}

entity.onMobFight = function(mob, target)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Quicksand_Caves/mobs/Sagittarius_X-XIII.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.SAGITTARIUS_X_XIII - 5] = ID.mob.SAGITTARIUS_X_XIII, -- 641 -16.786 -774
[ID.mob.SAGITTARIUS_X_XIII - 5] = ID.mob.SAGITTARIUS_X_XIII, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
10 changes: 9 additions & 1 deletion scripts/zones/Quicksand_Caves/mobs/Sand_Lizard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,15 @@ entity.onMobDeath = function(mob, player, optParams)
end

entity.onMobDespawn = function(mob)
xi.mob.phOnDespawn(mob, ID.mob.NUSSKNACKER, 5, 3600) -- 1 hour
local zone = mob:getZone()
if not zone then
return
end

-- TODO: Need to check if it can pop if the PH was killed BEFORE the sandstorm appeared
if zone:getWeather() == xi.weather.SAND_STORM then
xi.mob.phOnDespawn(mob, ID.mob.NUSSKNACKER, 20, 3600) -- 1 hour
end
Comment thread
Xaver-DaRed marked this conversation as resolved.
end

return entity
5 changes: 4 additions & 1 deletion scripts/zones/Quicksand_Caves/mobs/Triarius_X-XV.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.TRIARIUS_X_XV + 9] = ID.mob.TRIARIUS_X_XV, -- -786.730 -0.5 -343.963
[ID.mob.TRIARIUS_X_XV + 1] = ID.mob.TRIARIUS_X_XV, -- Confirmed on retail
[ID.mob.TRIARIUS_X_XV + 5] = ID.mob.TRIARIUS_X_XV, -- Confirmed on retail
[ID.mob.TRIARIUS_X_XV + 9] = ID.mob.TRIARIUS_X_XV, -- Confirmed on retail
[ID.mob.TRIARIUS_X_XV + 13] = ID.mob.TRIARIUS_X_XV, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Western_Altepa_Desert/mobs/Cactuar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ entity.onMobDeath = function(mob, player, optParams)
end

entity.onMobDespawn = function(mob)
xi.mob.phOnDespawn(mob, ID.mob.CACTUAR_CANTAUTOR, 5, 3600) -- 1 hour minimum
xi.mob.phOnDespawn(mob, ID.mob.CACTUAR_CANTAUTOR, 15, 3600) -- 1 hour minimum
end

return entity
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.CACTUAR_CANTAUTOR - 1] = ID.mob.CACTUAR_CANTAUTOR, -- -458.944 0.018 -557.266
[ID.mob.CACTUAR_CANTAUTOR - 1] = ID.mob.CACTUAR_CANTAUTOR, -- Confirmed on retail
}

entity.onMobDeath = function(mob, player, optParams)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Western_Altepa_Desert/mobs/Calchas.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.CALCHAS - 2] = ID.mob.CALCHAS,
[ID.mob.CALCHAS - 2] = ID.mob.CALCHAS, -- Confirmed on retail
}

entity.onMobSpawn = function(mob)
Expand Down
2 changes: 1 addition & 1 deletion scripts/zones/Western_Altepa_Desert/mobs/Celphie.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.CELPHIE - 1] = ID.mob.CELPHIE, -- 50.014 0.256 7.088
[ID.mob.CELPHIE - 1] = ID.mob.CELPHIE, -- Confirmed on retail
}

entity.onMobWeaponSkill = function(mob, target, skill, action)
Expand Down
4 changes: 3 additions & 1 deletion scripts/zones/Western_Altepa_Desert/mobs/Picolaton.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ entity.spawnPoints =

entity.phList =
{
[ID.mob.PICOLATON - 1] = ID.mob.PICOLATON, -- 50.014 0.256 7.088
[ID.mob.PICOLATON - 8] = ID.mob.PICOLATON, -- Confirmed on retail
[ID.mob.PICOLATON - 1] = ID.mob.PICOLATON, -- Confirmed on retail
[ID.mob.PICOLATON + 9] = ID.mob.PICOLATON, -- Confirmed on retail
}

entity.onMobInitialize = function(mob)
Expand Down
Loading
Loading