Skip to content

Ashu Talif Captain: Enable dual wield and Ranged Attack - #11458

Open
Nobutadas wants to merge 1 commit into
LandSandBoat:basefrom
Nobutadas:the-black-coffin-simple
Open

Ashu Talif Captain: Enable dual wield and Ranged Attack#11458
Nobutadas wants to merge 1 commit into
LandSandBoat:basefrom
Nobutadas:the-black-coffin-simple

Conversation

@Nobutadas

@Nobutadas Nobutadas commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

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?

Adds dual wield and ranged attacks to the Ashu Talif Captain in ToAU 15: The Black Coffin fight.

Steps to test these changes

!addmission toau THE_BLACK_COFFIN
!addkeyitem EPHRAMADIAN_GOLD_COIN
!zone 54

Run the instance.

Capture

Thank you to Siknoz
https://youtu.be/m-0ctx7eC9o
https://www.dropbox.com/scl/fi/1i4h4azbwyl94r4x0bkt3/TOAU-15-The-Black-Coffin.zip?rlkey=hwbnpywui122hx743rfto56qs&dl=0

Comment thread scripts/zones/The_Ashu_Talif/mobs/Ashu_Talif_Captain.lua Outdated
@Nobutadas
Nobutadas force-pushed the the-black-coffin-simple branch from e685995 to cfcacde Compare September 12, 2026 02:21
xi.mobSkill.SLUG_SHOT_1,
})
end

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.

entity.onMobMobskillChoose = function(mob, target)
    local meleeList =
    {
        xi.mobSkill.VORPAL_BLADE_1,
        xi.mobSkill.FLAT_BLADE_1,
        xi.mobSkill.FAST_BLADE_1,
        xi.mobSkill.BURNING_BLADE_1,
        xi.mobSkill.RED_LOTUS_BLADE_1,
        xi.mobSkill.SHINING_BLADE_1,
        xi.mobSkill.SERAPH_BLADE_1,
        xi.mobSkill.CIRCLE_BLADE_1,
    }

    local rangedList =
    {
        xi.mobSkill.HOT_SHOT_1,
        xi.mobSkill.SPLIT_SHOT_1,
        xi.mobSkill.SNIPER_SHOT_1,
        xi.mobSkill.SLUG_SHOT_1,
    }

    local tpList = mob:checkDistance(target) > mob:getMeleeRange(target) and rangedList or meleeList

    return utils.randomEntry(tpList)
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.

Done

@Nobutadas
Nobutadas force-pushed the the-black-coffin-simple branch from cfcacde to e19a5d3 Compare September 12, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants