Skip to content

Commit

Permalink
Merge pull request DarkstarProject#5719 from wrenffxi/proto-omega
Browse files Browse the repository at this point in the history
proto-thing immunities (from wiki and watching vids)
  • Loading branch information
zynjec authored Feb 12, 2019
2 parents afa754c + a46e83c commit e870fa7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions scripts/zones/Apollyon/mobs/Proto-Omega.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ require("scripts/globals/mobs")

function onMobInitialize(mob)
mob:setMobMod(dsp.mobMod.ADD_EFFECT, 1);
mob:setMod(dsp.mod.COUNTER, 10) -- "Possesses a Counter trait"
mob:setMod(dsp.mod.REGEN, 25) -- "Posseses an Auto-Regen (low to moderate)"
end;

function onMobSpawn(mob)
mob:setMobMod(dsp.mobMod.SUPERLINK, mob:getShortID());
mob:setMod(dsp.mod.UDMGPHYS, -75);
mob:setMod(dsp.mod.UDMGRANGE, -75);
mob:setMod(dsp.mod.UDMGMAGIC, 0);
mob:setMod(dsp.mod.MOVE, 100) -- "Moves at Flee Speed in Quadrupedal stance and in the Final Form"
end;

function onMobFight(mob,target)
Expand All @@ -32,6 +35,7 @@ function onMobFight(mob,target)
mob:setMod(dsp.mod.UDMGPHYS, 0);
mob:setMod(dsp.mod.UDMGRANGE, 0);
mob:setMod(dsp.mod.UDMGMAGIC, -75);
mob:setMod(dsp.mod.MOVE, 0)
end

if (currentForm == 1) then
Expand All @@ -49,6 +53,7 @@ function onMobFight(mob,target)
mob:setMod(dsp.mod.UDMGPHYS, -50);
mob:setMod(dsp.mod.UDMGRANGE, -50);
mob:setMod(dsp.mod.UDMGMAGIC, -50);
mob:setMod(dsp.mod.MOVE, 100)
mob:addStatusEffect(dsp.effect.REGAIN,7,3,0); -- The final form has Regain,
mob:getStatusEffect(dsp.effect.REGAIN):setFlag(dsp.effectFlag.DEATH);
currentForm = 2;
Expand Down
4 changes: 2 additions & 2 deletions sql/mob_pools.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3265,8 +3265,8 @@ INSERT INTO `mob_pools` VALUES (3204,'Progenerator','Progenerator',138,0x00006D0
INSERT INTO `mob_pools` VALUES (3205,'Promathia','Promathia',134,0x0000300400000000000000000000000000000000,7,7,3,240,100,0,0,0,0,2,0,32,3979,155,0,0,127,1,0,134);
INSERT INTO `mob_pools` VALUES (3206,'Propagator','Propagator',138,0x00006D0400000000000000000000000000000000,1,1,3,240,100,0,1,1,0,2,0,0,2629,135,0,0,0,1,0,138);
INSERT INTO `mob_pools` VALUES (3207,'Proteus','Proteus',218,0x0000610100000000000000000000000000000000,2,2,7,360,100,0,1,0,0,2,0,32,236,157,0,0,0,1,0,218);
INSERT INTO `mob_pools` VALUES (3208,'Proto-Omega','Proto-Omega',54,0x0000370400000000000000000000000000000000,1,1,6,240,100,0,1,1,0,2,0,32,2773,157,1,0,0,1,0,727);
INSERT INTO `mob_pools` VALUES (3209,'Proto-Ultima','Proto-Ultima',54,0x0000340400000000000000000000000000000000,1,7,6,240,100,0,1,1,0,2,0,32,7,155,0,0,103,1,0,729);
INSERT INTO `mob_pools` VALUES (3208,'Proto-Omega','Proto-Omega',54,0x0000370400000000000000000000000000000000,1,1,6,240,100,0,1,1,0,2,71,32,2773,157,1,0,0,1,0,727);
INSERT INTO `mob_pools` VALUES (3209,'Proto-Ultima','Proto-Ultima',54,0x0000340400000000000000000000000000000000,1,7,6,240,100,0,1,1,0,2,113,32,7,155,0,0,103,1,0,729);
INSERT INTO `mob_pools` VALUES (3210,'Protoamoeban','Protoamoeban',5,0x00005C0900000000000000000000000000000000,4,8,12,240,100,0,1,0,0,0,0,0,0,0,0,0,2,1,0,5);
INSERT INTO `mob_pools` VALUES (3211,'Protozoan','Protozoan',229,0x0000240100000000000000000000000000000000,1,1,7,240,100,0,1,0,0,0,0,0,6353,131,0,0,0,1,0,229);
INSERT INTO `mob_pools` VALUES (3212,'Provoker','Provoker',220,0x00005D0400000000000000000000000000000000,5,5,7,240,100,0,1,1,1,2,0,0,765,135,0,0,114,1,0,220);
Expand Down

0 comments on commit e870fa7

Please sign in to comment.