When i equip 2 revolver-type guns (even with just one in any hand), it doesn't require a bullet for you to attack.
Your damage will be based to STR if you've equipped a 2nd revolver wherein it should be DEX.
Range will be limited to like 4 - 5 cells even with Snake's eye maxed out.
The ' troubleshoots ' i made for the problems:
So for problem #1, to make it require a bullet, I tried putting my custom dual-wield mask on this line at battle.c and as far as i understand, if it detects that you're equipping 2 revolvers (Which is the constant W_DOUBLE_GU as stated on step 1 and 2), it should require a bullet else it won't attack.
EDIT: But it still doesn't work.
case W_REVOLVER:
case W_RIFLE:
case W_GATLING:
case W_SHOTGUN:
case W_DOUBLE_GU:
if (sd->inventory_data[index]->look != A_BULLET) {
clif_skill_fail(sd,0,USESKILL_FAIL_NEED_MORE_BULLET,0);
return ATK_NONE;
}
For the other problems, i still have yet to try stuffs.
Now for my question:
What's actually the purpose of those dual-wield constants as stated on Step #1? I searched the git if they have any other value other than the one at Step #2 but so far i didn't find anything so what are they for?
If anyone could give me a clue that'll be very helpful!
Question
Scylla
I've made my Gunslinger to dual wield revolvers but there's just alot of problems in here.
So to proceed with my steps here's what i did:
Step 1:
On pc.h
I added W_DOUBLE_GU for a new dual-wield constant.
Step2:
On pc.c
I added a new line, W_REVOLVER for dual-wield revolver in here.
Step 3:
On pc.c again,
I also added a new line in here to enable them to wield 2 guns:
Now for the Problems
The ' troubleshoots ' i made for the problems:
So for problem #1, to make it require a bullet, I tried putting my custom dual-wield mask on this line at battle.c and as far as i understand, if it detects that you're equipping 2 revolvers (Which is the constant W_DOUBLE_GU as stated on step 1 and 2), it should require a bullet else it won't attack.
EDIT: But it still doesn't work.
For the other problems, i still have yet to try stuffs.
Now for my question:
If anyone could give me a clue that'll be very helpful!
Edited by ScyllaLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.