Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LUA] Fix Ripper Fang doesn't match wikis #5695

Merged
merged 1 commit into from
May 12, 2024

Conversation

ampitere
Copy link
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?

Noticed some comment issues on Ripper Fang which led me down the rabbit hole. Wikis seems to have conflicting information but from what I can gather it should be closer to 200% modifier (JP wiki says 150%?) and slashing damage, the additional effect may no longer be a thing but would require retail verification so I've left it in for now.

https://www.bg-wiki.com/ffxi/Category:Raptor
https://www.bg-wiki.com/ffxi/Category:Jug_Pets
https://wiki.ffo.jp/html/23464.html

Steps to test these changes

  1. Find a mob
  2. !exec target:useMobAbility(374)

@ampitere ampitere changed the title [SQL] Fix Ripper Fang doesn't match wikis [LUA] Fix Ripper Fang doesn't match wikis May 11, 2024
@WinterSolstice8
Copy link
Member

@ampitere
Copy link
Contributor Author

Jimmy's spreadsheet says 1.5 with some attack bonus

https://docs.google.com/spreadsheets/d/1YBoveP-weMdidrirY-vPDzHyxbEI2ryECINlfCnFkLI/edit#gid=57955395&range=A410

Definitely bookmarking that doc.

Removed the status effect since it doesn't appear to have one. Updated dmgmod value to 1.8 (30% seems fair) as that seems to be how these attack bonuses are calculated for other skills with attack bonuses. Please let me know if there's a better way to add the attack bonus though as I didn't see one.

@@ -12,12 +12,11 @@ end
mobskillObject.onMobWeaponSkill = function(target, mob, skill)
local numhits = 1
local accmod = 1
local dmgmod = 2.5
local dmgmod = 1.8
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
local dmgmod = 1.8
local dmgmod = 1.5
local info = xi.mobskills.mobPhysicalMove(mob, target, skill, numhits, accmod, dmgmod, xi.mobskills.physicalTpBonus.ATK_VARIES, 1.3, 1.3, 1.3)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refactored, thanks.

@claywar claywar merged commit 25f4cbd into LandSandBoat:base May 12, 2024
11 checks passed
@ampitere ampitere deleted the fix_ripper_fang_incorrect branch May 12, 2024 19:21
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.

None yet

3 participants