LandSandBoat / server

:sailboat: LandSandBoat - a server emulator for Final Fantasy XI
https://landsandboat.github.io/server/
GNU General Public License v3.0
294 stars 580 forks source link

🔨 Create Bonus vs Ecosystem handling #2849

Open Schaedelschaden opened 1 year ago

Schaedelschaden commented 1 year ago

Describe the feature

https://www.bg-wiki.com/ffxi/Ancient_Circle (DRG) https://www.bg-wiki.com/ffxi/Arcane_Circle (DRK) https://www.bg-wiki.com/ffxi/Holy_Circle (PLD) https://www.bg-wiki.com/ffxi/Warding_Circle (SAM)

All of the above effects generate two additional bonuses beyond their original "Killer effect" bonus.

https://www.bg-wiki.com/ffxi/Killer_Instinct (BST/Pets)

Killer instinct states that:

While active on yourself and party members, will also provide a bonus to Damage+% and DamageTaken-% equal to half the total matching Killer Traits (floored) possessed by you or that party member. This bonus is separate from similar bonuses provided by equipment such as the Ferine/Nukumi Gausape variants and Founder's Breastplate, which augment killer effects. This means a party member benefitting from both Killer Instinct and a piece of gear which "Augments Killer Effects" like the Nukumi Gausape or Founder's Breastplate gain the full +% Killer Trait as a Damage+% and DamageTaken-% bonus.

This feature would require both core and LUA work to be applied across all white, weaponskill, and magical damage systems.

Referenced TODO PR's:

2789 (Holy Circle)

2847 (Holy Circle)

3138 (Arcane Circle)

UmeboshiXI commented 1 year ago

Bumping this as I was looking into how to implement this but am lacking some info if anyone is willing to help out.

Somethings I am having trouble finding concerning the calculations:

UmeboshiXI commented 1 year ago

This seems to be at least partially implemented on Wings codebase on further inspection.

Schaedelschaden commented 1 year ago

My current understanding of it is that it is a unique damage bonus against an ecosystem and reduction to DT when taking taking damage from that ecosystem. This damage would not be part of the normal -50% cap. I believe, but cannot back up with testing, that DT is applied first then any further damage reduction bonuses are applied multiplicatively.

I can test Killer Instinct with a Circle effect on retail and see if they overwrite each other.