Dual Wield Combinations Output

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » FFXI » General » Dual Wield Combinations Output
Dual Wield Combinations Output
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2019-12-03 14:03:34
Link | Quote | Reply
 
I wrote some code to print out every combination of DW that will give you the exact amount you want for those times Joachim isn't hasting you or you're solo. It is easily modified for any job and can be ran online at: https://repl.it/languages/python3
Code
import itertools

#Create Dictionary of Equipment
items = {'head': [{'Ryuo Somen +1': 9}, {'Head_None': 0}],
         'body': [{'Hachiya Chain. +3': 10}, {'Mochi. Chainmail +3': 9}, {'Adhemar Jacket +1': 6}, {'Body_None': 0}],
         'hands': [{'Floral Gauntlets': 5}, {'Hands_None': 0}],
         'legs': [{'Hachiya Hakama +3': 5}, {'Legs_None': 0}],
         'feet': [{'Hiza. Sune-Ate +2': 8}, {'Feet_None': 0}],
         'waist': [{'Shetal Stone': 6}, {'Reiki Yotai': 7}, {'Waist_None': 0}],
         'ear': [{'Suppanomimi': 5}, {'Dudgeon+Heartseeker': 7}, {'Ear_None': 0}],
         'back': [{'JSE Cape': 10}, {'Back_None': 0}]}


def product_dict(**kwargs):
    keys = kwargs.keys()
    vals = kwargs.values()
    for instance in itertools.product(*vals):
        yield dict(zip(keys, instance))


def find_optimal_armor(target_armor):
    for combination in product_dict(**items):
        total_armor = 0
        for body_part in combination.values():
            total_armor += sum(body_part.values())
        if total_armor == target_armor:
            print(combination, '\n')

#Change Number Only To Desired DW Value
find_optimal_armor(38)
 
Offline
Posts:
By 2019-12-03 14:10:03
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2019-12-03 14:12:18
Link | Quote | Reply
 
Haste 2 doesn't cap magic haste, Joachim doesn't always have march on you. And no, it isn't, just change the items and values and it can be used for any job.
 
Offline
Posts:
By 2019-12-03 14:20:10
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2019-12-03 14:24:38
Link | Quote | Reply
 
Neither of the BRDs keep march up full time and will do stupid ***like paean or ballad
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1663
By Cerberus.Shadowmeld 2019-12-03 14:27:30
Link | Quote | Reply
 
He means if he doesn't put march up
 
Offline
Posts:
By 2019-12-03 14:32:45
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1663
By Cerberus.Shadowmeld 2019-12-03 14:34:07
Link | Quote | Reply
 
Joachim doesn't cast Haste 1. He was literally saying for situations where Joachim does a stupid song like paeon or ballad.

Edit: Ulmia seems to behave differently based on the job in the 6th spot in your party. If I have a whm back there, she'll put 1 ballad up when that job is at like 90%, by the time they are at 75% MP, she's doing 2x ballad.

Any other job, she, doesn't ever seem to do two ballads
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2019-12-03 14:34:36
Link | Quote | Reply
 
the *** does it matter for?
Offline
Posts: 202
By malakef 2019-12-03 14:37:12
Link | Quote | Reply
 
He doesn't cast haste pretty sure that was a mis-type. I also favor Joachim over Ulmia because he subs whm and isn't half bad at helping with cures which keeps him from using ballad as much. Although I normally just use both the brd trust and Koru to make sure I get haste capped.
 
Offline
Posts:
By 2019-12-03 14:41:33
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Bahamut.Celebrindal
Offline
Server: Bahamut
Game: FFXI
Posts: 1673
By Bahamut.Celebrindal 2019-12-03 14:50:13
Link | Quote | Reply
 
I use Arciela (one, not II) or King of Hearts over Koru. Koru has this nasty habit of casting Flurry II on both CORs and RNGs, meaning if I'm soloing on either of those jobs and meleeing, I'm getting zero benefit. Arciela (one) will haste2 you and never WS, so your solo Skillchains are safe. KoH will also Haste2 you on those jobs, but will also WS and break up your SCs (like Quldata).

Koru is a better overall support RDM, but for the jobs I often bring out solo, he's just not helping on the most important thing (haste cap) for the shooters of Vana'diel.
[+]
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2019-12-03 14:54:57
Link | Quote | Reply
 
the point of the program is to print out every combination that gives the exact amount of DW you put in, it doesn't matter why you need that amount. Joachim or Ulmia didn't march? Not using them because they don't half the time? Solo on BLU or RDM and can only rely on your own haste 2? Just want to find a different combination because you don't have a rare piece like yotai? Or different combinations to include more defensive stats? Can even just be screwing around with DW DRK or some ***, literally doesn't matter why you need X amount of DW.
[+]
 
Offline
Posts:
By 2019-12-03 15:12:12
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1663
By Cerberus.Shadowmeld 2019-12-03 15:21:57
Link | Quote | Reply
 
KoH is more consistent with Dia III. It's almost always the first spell he casts in battle. He's slow to haste because it's much farther into his automated checks.

Koru is the other way around. Sometimes he doesn't cast Dia III for 20-30 seconds.

Edit: @Austar so if I want to check a max haste senario for THF with 550 JP, I'd say:
Code
find_optimal_armor(6)


But if I am assuming only Haste 2:
Code
find_optimal_armor(20)


Is that right?
[+]
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2019-12-03 15:42:41
Link | Quote | Reply
 
yeah, but think you need more than 20 for thf unless using shijo for just haste 2.

and obviously change the items at the top
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1663
By Cerberus.Shadowmeld 2019-12-03 15:44:18
Link | Quote | Reply
 
Isn't DW kind of additive with Haste? if you go from 43.785% magic haste to 30% magic haste don't you just need an extra 14 DW?
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2019-12-03 15:45:36
Link | Quote | Reply
 
no, it's multiplicative. 30% haste would be 26 DW for THF, 15% haste would be 37
 Bismarck.Sterk
Offline
Server: Bismarck
Game: FFXI
user: Llewelyn
Posts: 309
By Bismarck.Sterk 2019-12-03 15:50:45
Link | Quote | Reply
 
Bahamut.Celebrindal said: »
Arciela (one) will haste2 you
I think she's also one of the few that will actually overwrite your Haste 1 with Haste 2. I don't pay too much attention to trusts, so it could be that the others do that and I just haven't noticed.
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1663
By Cerberus.Shadowmeld 2019-12-03 15:59:20
Link | Quote | Reply
 
Earring combos should be paired?

Like this:
Code
'ear': [{'Suppanomimi': 5}, {'Eabani': 4},{'Suppa+Eabani':9} {'Dudgeon+Heartseeker': 7}, {'Ear_None': 0}],


?
 Ramuh.Austar
Offline
Server: Ramuh
Game: FFXI
user: Austar
Posts: 10457
By Ramuh.Austar 2019-12-03 16:01:40
Link | Quote | Reply
 
yes, it was just a quick brute force code so having them separate would give results like suppa+suppa, so they need to be paired. it also means i didn't have to write a function for heartseeker/dudgeon.

and make sure the commas are between the brackets between your suppa+eabani and dudgeon+heartseeker
Log in to post.