
Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
- Diavolakos
- Posts: 114
- Joined: Thu Apr 20, 2017 5:05 am
- Has thanked: 31 times
- Been thanked: 13 times
Re: Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
Hey, how do we set the char to keep the final boss in the lava area?
Is this the code below that does it?
I think a revamp in the position would help, the char attacks the boss while it is still in the lava area, that means he takes agro and can keep it for a while, he takes the boss to the canon area and keep the agro for a little while.
But would it be possible to keep the boss in the lava area till it has like 90% HP (or something) so as to never lose the agro when he takes it the canon area?
So far when I get the many mobs (you hear a lot of footsteps) it is a guarantee fail to S-rank due to many mobs.
Other times when the boss spawns the front barricade is still up but has little HP or more. The boss eventually loses agro to the char and hits the barricate and usually the S-rank is lost for only a few seconds.
If we can keep the boss in the lava area, away from NPC dps for a little while more, then we will never lose the agro.
~~~~~~~~
I also always have one canon slot unused even if I have 3 aether in my inventory.
Is this the code below that does it?
Code: Select all
if newX >= 233 and microTeleportStep == 0 then
Player:SetPosition(233, ourCurrentPos.Y, airZ);
microTeleportStep = 1;
elseif newX <= 226 and microTeleportStep == 1 then
Player:SetPosition(226, ourCurrentPos.Y, airZ);
microTeleportStep = 0;
else
But would it be possible to keep the boss in the lava area till it has like 90% HP (or something) so as to never lose the agro when he takes it the canon area?
So far when I get the many mobs (you hear a lot of footsteps) it is a guarantee fail to S-rank due to many mobs.
Other times when the boss spawns the front barricade is still up but has little HP or more. The boss eventually loses agro to the char and hits the barricate and usually the S-rank is lost for only a few seconds.
If we can keep the boss in the lava area, away from NPC dps for a little while more, then we will never lose the agro.
~~~~~~~~
I also always have one canon slot unused even if I have 3 aether in my inventory.
I play on NA Server Siel
Re: Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
Code: Select all
-- Move to acid pool
function MoveToAcidPool()
--Write("MoveToAcidPool");
local tempTimer = Time();
local elapsedTime = tempTimer - offsetTimer;
if elapsedTime < updatePositionTime then
return false;
end
local d = moveSpeed * updatePositionTime / 1000;
local ourCurrentPos = Player:GetPosition();
local newY = ourCurrentPos.Y + d;
if newY > 250 then
Player:SetPosition(centerRoomX, 250, airZ);
return true;
else
Player:SetPosition(centerRoomX, newY, airZ);
end
offsetTimer = tempTimer;
return false;
end

- Diavolakos
- Posts: 114
- Joined: Thu Apr 20, 2017 5:05 am
- Has thanked: 31 times
- Been thanked: 13 times
Re: Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
So y=250 is the furthest it will go into the pool?
Right now it moves from the back barricate to the front barricate positions.
It should somehow check the smallest and the biggest values.
Also you mean to change these two "250" here with something I want?
Right now it moves from the back barricate to the front barricate positions.
It should somehow check the smallest and the biggest values.
Also you mean to change these two "250" here with something I want?
Code: Select all
if newY > 250 then
Player:SetPosition(centerRoomX, 250, airZ);
return true;
I play on NA Server Siel
Re: Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
Exactly, change 250 value with your custom valueDiavolakos wrote: ↑Thu Dec 28, 2017 10:33 pmSo y=250 is the furthest it will go into the pool?
Right now it moves from the back barricate to the front barricate positions.
It should somehow check the smallest and the biggest values.
Also you mean to change these two "250" here with something I want?
Code: Select all
if newY > 250 then Player:SetPosition(centerRoomX, 250, airZ); return true;

- Diavolakos
- Posts: 114
- Joined: Thu Apr 20, 2017 5:05 am
- Has thanked: 31 times
- Been thanked: 13 times
Re: Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
Well I changed it but that is not what I was asking for, when the fat boss is out the 250 changed only how in I went to grab it.
Once I grab it my chars goes from front barrier to back barrier back and forth. I wanted him to be going in different Y positions, I wanted to eat the fat guy inside the acid pool back and forth to be away from the NPCs and barricades.
Once I grab it my chars goes from front barrier to back barrier back and forth. I wanted him to be going in different Y positions, I wanted to eat the fat guy inside the acid pool back and forth to be away from the NPCs and barricades.
I play on NA Server Siel
Re: Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
Change this function with this new. Set escapeOffsetY (100 should be good)
NOT TESTED, try it
NOT TESTED, try it

Code: Select all
function EscapeAggro()
--Write("EscapeAggro");
local escapeOffsetY=0;
if goToStartRoom then
local tempTimer = Time();
local elapsedTime = tempTimer - offsetTimer;
if elapsedTime > updatePositionTime then
local d = moveSpeed * updatePositionTime / 1000;
local ourCurrentPos = Player:GetPosition();
local newY = ourCurrentPos.Y - d;
if newY < 190 + escapeOffsetY then
Player:SetPosition(centerRoomX, 190 + escapeOffsetY, airZ);
weAreAtStartRoomPos = true;
goToStartRoom = false;
return true;
else
Player:SetPosition(centerRoomX, newY, airZ);
end
offsetTimer = tempTimer;
end
else
if MoveToBarricade(10 + escapeOffsetY) then
weAreAtStartRoomPos = false;
goToStartRoom = true;
return true;
end
end
return false;
end
- Diavolakos
- Posts: 114
- Joined: Thu Apr 20, 2017 5:05 am
- Has thanked: 31 times
- Been thanked: 13 times
Re: Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
I'll try it and I'll try to change the 190 in this function. I'll have to give it a test tomorrow since I already afked all my lunas today.
I play on NA Server Siel
Re: Luna Hell Pass/Contaminated Underpath - Beta 28.10.2017
if you only change 190 your charater move from 190 to back barricade cause this
this line of code mean "move to barricate position + 10 + escapeOffsetY"
Code: Select all
MoveToBarricade(10 + escapeOffsetY)
Who is online
Users browsing this forum: No registered users and 1 guest