Skip to content

[lua] [sql] Stage 1 Maat Migration to Individualized Luas (War, Rng, Blm)#10049

Open
ThrisStraizo wants to merge 1 commit into
LandSandBoat:basefrom
ThrisStraizo:maatpocalypse
Open

[lua] [sql] Stage 1 Maat Migration to Individualized Luas (War, Rng, Blm)#10049
ThrisStraizo wants to merge 1 commit into
LandSandBoat:basefrom
ThrisStraizo:maatpocalypse

Conversation

@ThrisStraizo
Copy link
Copy Markdown
Contributor

@ThrisStraizo ThrisStraizo commented May 16, 2026

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

This PR starts the process to move away from the Maat mixin to individualized luas in addition to making each Maat fight far more accurate than before.

Blm: https://youtu.be/umeqb0oTRy8
War: https://youtu.be/3yzJ-rvXriE
https://youtu.be/C9RN1TcAGLE
Rng: https://youtu.be/RdiTPRu5Ndc

Steps to test these changes

Fight Maat, enjoy more accuracy than ever thought possible.


entity.onMobSpawn = function(mob)
mob:setUnkillable(true)
mob:setMod(xi.mod.RATT, 100)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RATT not base damage?

Copy link
Copy Markdown
Contributor Author

@ThrisStraizo ThrisStraizo May 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It just seems like the damage spread isn't wide enough to convince me its base damage.

I could play around it with some more, idk. It could very well be base damage is decreased.


entity.onMobSpawn = function(mob)
mob:setUnkillable(true)
mob:setBaseSpeed(60)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does BLM maat not have any increased base damage?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No.

end

entity.onMobWeaponSkill = function(mob, target, skill, action)
if skill:getID() == xi.mobSkill.MIGHTY_STRIKES_MAAT then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have the same function written two different ways in different luas.

    local skillID = skill:getID()
    if skillID == xi.mobSkill.MIGHTY_STRIKES_MAAT then
        mob:showText(mob, ID.text.NOW_THAT_IM_WARMED_UP)
        return
    end

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a local for RNG because I call the skill ID for ranged attack further down.
This did make me realize I didn't put the correct 2hrs for the text though.

Comment thread sql/mob_spawn_points.sql Outdated
INSERT INTO `mob_spawn_points` VALUES (17346590,0,'Maat_blm','Maat_blm',10,70,70,83.928,-146.026,295.804,45); -- Maat (BLM arena 3)
INSERT INTO `mob_spawn_points` VALUES (17346591,0,'Maat_rng','Maat_rng',11,70,70,-396.000,94.000,-64.000,45); -- Maat (RNG arena 1)
INSERT INTO `mob_spawn_points` VALUES (17346592,0,'Maat_rng','Maat_rng',11,70,70,-156.065,-26.009,115.970,45); -- Maat (RNG arena 2)
INSERT INTO `mob_spawn_points` VALUES (17346593,0,'Maat_rng','Maat_rng',11,70,70,83.928,-146.026,295.804,45); -- Maat (RNG arena 3)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should only be changing 1 of the rows. The first one.
1 is for the lua lookup. the other is the actual name in the packet.

This PR starts the process to move away from the Maat mixin to individualized luas in addition to making each Maat fight far more accurate than before.
Comment thread sql/mob_pools.sql
INSERT INTO `mob_pools` VALUES (4837,'Maat_rng','Maat',295,0x0000FA0200000000000000000000000000000000,11,0,25,540,100,0,0,0,0,18,0,32,0,155,0,0,0,0,0,335,335,1,17);
INSERT INTO `mob_pools` VALUES (4835,'Maat_war','Maat_war',295,0x0000FA0200000000000000000000000000000000,1,0,6,480,100,0,0,0,0,18,0,32,0,155,0,0,0,0,0,335,335,1,17);
INSERT INTO `mob_pools` VALUES (4836,'Maat_blm','Maat_blm',295,0x0000FA0200000000000000000000000000000000,4,0,12,480,100,0,0,0,0,18,0,32,0,155,0,0,2,0,0,335,335,1,17);
INSERT INTO `mob_pools` VALUES (4837,'Maat_rng','Maat_rng',295,0x0000FA0200000000000000000000000000000000,11,0,25,480,100,0,0,0,0,18,0,32,0,155,0,0,0,0,0,335,335,1,17);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont change the packet name. Maat

return
end

if mob:isEngaged() then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why wouldnt it be engaged when using an skill?

return
end

if mob:isEngaged() then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question as before: Why/how wouldnt it be engaged.

@Xaver-DaRed Xaver-DaRed added the hold On hold, pending further action/info label May 21, 2026
@Xaver-DaRed
Copy link
Copy Markdown
Contributor

Holding until Thris is happy with his Maat testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold On hold, pending further action/info

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants