-
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.
Make remaining TB and TSTB fight retail accurate
- Loading branch information
1 parent
ca22204
commit 92e483c
Showing
34 changed files
with
683 additions
and
343 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
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
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
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
----------------------------------- | ||
-- Area: Cloister of Frost | ||
-- Mob: Shiva Prime | ||
-- Involved in Quest: Trial by Ice | ||
----------------------------------- | ||
mixins = { require('scripts/mixins/job_special') } | ||
----------------------------------- | ||
---@type TMobEntity | ||
local entity = {} | ||
|
||
entity.onMobSpawn = function(mob) | ||
xi.mix.jobSpecial.config(mob, { | ||
specials = | ||
{ | ||
{ id = 884, hpp = math.random(30, 55) }, -- uses Diamond Dust once while near 50% HPP. | ||
}, | ||
}) | ||
|
||
mob:setMobMod(xi.mobMod.NO_STANDBACK, 1) | ||
mob:setMobMod(xi.mobMod.SIGHT_RANGE, 20) | ||
mob:setMobMod(xi.mobMod.MAGIC_RANGE, 40) | ||
mob:setMobMod(xi.mobMod.ADD_EFFECT, 1) | ||
mob:setMod(xi.mod.ICE_ABSORB, 100) | ||
-- res rank for mob that absorbs is always lowest value | ||
mob:setMod(xi.mod.ICE_RES_RANK, -3) | ||
mob:setMod(xi.mod.UDMGPHYS, -6000) | ||
mob:setMod(xi.mod.UDMGRANGE, -6000) | ||
|
||
mob:addImmunity(xi.immunity.BLIND) | ||
mob:addImmunity(xi.immunity.SLOW) | ||
mob:addImmunity(xi.immunity.PARALYZE) | ||
mob:addImmunity(xi.immunity.GRAVITY) | ||
mob:addImmunity(xi.immunity.BIND) | ||
mob:addImmunity(xi.immunity.SILENCE) | ||
mob:addImmunity(xi.immunity.LIGHT_SLEEP) | ||
mob:addImmunity(xi.immunity.DARK_SLEEP) | ||
mob:addImmunity(xi.immunity.TERROR) | ||
end | ||
|
||
entity.onAdditionalEffect = function(mob, target, damage) | ||
return xi.mob.onAddEffect(mob, target, damage, xi.mob.ae.ENBLIZZARD, { chance = 100, power = math.random(20, 40) }) | ||
end | ||
|
||
entity.onMobFight = function(mob, target) | ||
end | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
end | ||
|
||
return entity |
58 changes: 58 additions & 0 deletions
58
scripts/zones/Cloister_of_Frost/mobs/Shiva_Prime_TSTBI.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,58 @@ | ||
----------------------------------- | ||
-- Area: Cloister of Frost | ||
-- Mob: Shiva Prime | ||
-- Involved in Quest: Trial Size Trial by Ice | ||
----------------------------------- | ||
mixins = { require('scripts/mixins/job_special') } | ||
----------------------------------- | ||
---@type TMobEntity | ||
local entity = {} | ||
|
||
entity.onMobSpawn = function(mob) | ||
xi.mix.jobSpecial.config(mob, { | ||
specials = | ||
{ | ||
{ id = 884, hpp = math.random(30, 55) }, -- uses Diamond Dust once while near 50% HPP. | ||
}, | ||
}) | ||
|
||
mob:setMobMod(xi.mobMod.NO_STANDBACK, 1) | ||
mob:setMobMod(xi.mobMod.SIGHT_RANGE, 20) | ||
mob:setMobMod(xi.mobMod.MAGIC_RANGE, 40) | ||
mob:setMobMod(xi.mobMod.ADD_EFFECT, 1) | ||
mob:setMod(xi.mod.ICE_ABSORB, 100) | ||
-- res rank for mob that absorbs is always lowest value | ||
mob:setMod(xi.mod.ICE_RES_RANK, -3) | ||
mob:setMod(xi.mod.UDMGPHYS, -6000) | ||
mob:setMod(xi.mod.UDMGRANGE, -6000) | ||
-- online videos show that 24/27 SL were unresisted on retail | ||
-- this reduction in MEVA roughly gives roughly the correct resist rate | ||
mob:addMod(xi.mod.LIGHT_MEVA, -35) | ||
|
||
mob:addImmunity(xi.immunity.BLIND) | ||
mob:addImmunity(xi.immunity.SLOW) | ||
mob:addImmunity(xi.immunity.PARALYZE) | ||
mob:addImmunity(xi.immunity.GRAVITY) | ||
mob:addImmunity(xi.immunity.BIND) | ||
mob:addImmunity(xi.immunity.SILENCE) | ||
mob:addImmunity(xi.immunity.LIGHT_SLEEP) | ||
mob:addImmunity(xi.immunity.DARK_SLEEP) | ||
mob:addImmunity(xi.immunity.TERROR) | ||
end | ||
|
||
entity.onAdditionalEffect = function(mob, target, damage) | ||
return xi.mob.onAddEffect(mob, target, damage, xi.mob.ae.ENBLIZZARD, { chance = 100, power = math.random(15, 25) }) | ||
end | ||
|
||
entity.onMobEngage = function(mob, target) | ||
-- always uses a tp move when first engaged | ||
mob:setTP(3000) | ||
end | ||
|
||
entity.onMobFight = function(mob, target) | ||
end | ||
|
||
entity.onMobDeath = function(mob, player, optParams) | ||
end | ||
|
||
return entity |
26 changes: 0 additions & 26 deletions
26
scripts/zones/Cloister_of_Frost/mobs/Shiva_Prime_Trial.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
Oops, something went wrong.