Skip to content

[core] add onMobSkillReadyTime to choose ready time for mobskill#9375

Merged
Xaver-DaRed merged 1 commit into
LandSandBoat:basefrom
WinterSolstice8:mobskill_choose_duration
Feb 5, 2026
Merged

[core] add onMobSkillReadyTime to choose ready time for mobskill#9375
Xaver-DaRed merged 1 commit into
LandSandBoat:basefrom
WinterSolstice8:mobskill_choose_duration

Conversation

@WinterSolstice8
Copy link
Copy Markdown
Contributor

@WinterSolstice8 WinterSolstice8 commented Feb 5, 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?

Addresses part of #9372 (Meltdown is a separate subject)

return nil (or dont return anything, which counts as nil) to "not decide" and use the default time
return a number to change the ready time

Steps to test these changes

Add

entity.onMobSkillReadyTime = function(target, mob, skill)
    return 0
end

to a mob of choice, such as a huge hornet...
(I gave it 3000 regain)

2026-02-05.09-06-16.webm

@WinterSolstice8 WinterSolstice8 force-pushed the mobskill_choose_duration branch from ddc17b1 to a4f088a Compare February 5, 2026 16:36
@WinterSolstice8 WinterSolstice8 changed the title [core] Add optional skill ready time to onMobMobSkillChoose [core] add onMobSkillReadyTime to choose ready time for mobskill Feb 5, 2026
@Xaver-DaRed Xaver-DaRed merged commit ce600c1 into LandSandBoat:base Feb 5, 2026
10 checks passed
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.

2 participants