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/SQL] Add Floral Bouquet mobskill #5747

Draft
wants to merge 1 commit into
base: base
Choose a base branch
from

Conversation

ampitere
Copy link
Contributor

@ampitere ampitere commented May 16, 2024

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 Rafflesia's Floral Bouquet mobskill. Requires implementing the ability to target both players and mobs (to be done in #5745). Resolves an item in #202

https://docs.google.com/spreadsheets/d/1YBoveP-weMdidrirY-vPDzHyxbEI2ryECINlfCnFkLI/edit#gid=57955395
https://www.bg-wiki.com/ffxi/Category:Rafflesia
https://wiki.ffo.jp/html/24577.html
https://www.youtube.com/watch?v=pHlyddUe_xg
https://www.youtube.com/watch?v=e667RCOl958
https://www.youtube.com/watch?v=iwaoNhI06TI
https://www.youtube.com/watch?v=TZ9H8lp6hC0
https://www.youtube.com/watch?v=26rqrnRd5e0
https://www.youtube.com/watch?v=VrxYRqnNx4E
https://www.youtube.com/watch?v=zTgf4u-eE_s
https://www.youtube.com/watch?v=HrhrMm9NfUA
https://www.youtube.com/watch?v=GBqwcvOnWeY

Steps to test these changes

  1. !pos -124 -60 268 96
  2. !exec target:useMobAbility(2165)
  3. Nearby bees will be charmed and attack the Rafflesia's target. It's doesn't seem to be a true charm as when the Rafflesia dies the bees will continue to attack the target. Unsure of interaction if player dies while bees are under the effect, no captures for this.

@@ -2179,7 +2179,7 @@ INSERT INTO `mob_skills` VALUES (2162,1571,'emetic_discharge',0,7.0,2000,1000,4,
INSERT INTO `mob_skills` VALUES (2163,1549,'seedspray',0,11.5,2000,1500,4,0,0,0,0,0,0);
INSERT INTO `mob_skills` VALUES (2164,1550,'viscid_emission',4,10.0,2000,1500,4,0,0,0,0,0,0);
-- INSERT INTO `mob_skills` VALUES (2165,1551,'rotten_stench',0,7.0,2000,1500,4,0,0,0,0,0,0);
-- INSERT INTO `mob_skills` VALUES (2166,1552,'floral_bouquet',0,7.0,2000,1500,4,0,0,0,0,0,0);
INSERT INTO `mob_skills` VALUES (2166,1552,'floral_bouquet',1,10.0,2000,1500,2048,8,0,0,0,0,0);
Copy link
Contributor

Choose a reason for hiding this comment

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

Just added this and Mowford's target type PR on my local to test it out.

  1. Floral Bouquet will need its mob_valid_targets set to 2052 if combined with Mow's PR. (Mob wouldn't use it otherwise for me)


mobskillObject.onMobWeaponSkill = function(target, mob, skill)
if target:isMob() and not target:isPet() then
if target:getFamily() == 48 then
Copy link
Contributor

@UmeboshiXI UmeboshiXI May 31, 2024

Choose a reason for hiding this comment

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

When we were discussing on how to implement Floral Bouquet on discord, we found from caps that this skill seems to affect more than just Bees. It seems to charm all Vermin(Crawlers, Flies etc) so could probably update this to use target:getEcosystem() == xi.ecosystem.VERMIN .

UmeboshiXI pushed a commit to CactuarXI/server that referenced this pull request May 31, 2024
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