LandSandBoat / server

:sailboat: LandSandBoat - a server emulator for Final Fantasy XI. Just an X-34 landspeeder out for a drive.
https://landsandboat.github.io/server/
GNU General Public License v3.0
277 stars 543 forks source link

Add Battlefield rule to allow trust casting #5938

Closed claywar closed 2 weeks ago

claywar commented 2 weeks ago

I affirm:

What does this pull request do?

NOTE: rovKIBattlefields (LB5 fights) will obey the Rhapsody KI check and ignore allowTrusts by design.

Steps to test these changes

  1. ENSURE GM IS TOGGLED OFF
  2. Enter Shattering Stars battlefield without Rhapsody in Umber and attempt to summon trust (Should be rejected)
  3. Enter Shattering Stars battlefield with Rhapsody in Umber KI and summon trusts to maximum count (Note: canCast takes priority, so without all appropriate KIs, you will still be restricted by that)
  4. Enter mission battlefield and summon trusts where allowTrusts is set to True.
  5. Enter battlefield and attempt to summon trusts where allowTrusts is False or Undefined (rejected)