RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[2k3 Help/Request] Weapon Bless Coding woes....don't know how to fix anymore x_x

0 Members and 1 Guest are viewing this topic.

****
Touhou Fantasy Developer and all around cool person. :)
Rep:
Level 85
T.G. "Thunder God" Xenomic
So, as ya'll probably know by now, I've been working with this command ability for the past half year now. I just FINALLY finished coding for a dual-wielding character to make it work right for the past 1 1/2 months and well...I don't know what's wrong! Here's some of the scenarios to put it into perspective.

A) I have Youmu equipped with Roukaken and Hakurouken. I use Fire to give the weapons Fire, then attack to make sure the graphics are there. They are, then I run away to check equipment. They revert as they should.


B) I have Youmu equipped with Roukaken and Oblivion. I do the same thing and run away. However, this time for some reason it equips TWO Oblivions...and there's nothing that states to equip 2 at all (for the Fire Roukaken + Fire Oblivion, it's supposed to remove the elemental bless weapons, which it does, and equip the Roukaken and Oblivion).


C) THIS one boggles my mind more. So I decided to give Youmu JUST the Oblivion, and I use Fire and attack with her. Oddly enough, she double attacks, so I escape and look at her inventory. Turns out for some reason, it gave her TWO Oblivions again...


I'm at a complete loss as to why the game's doing this. I am requesting anyone who is willing to take a look at the coding (JUST the coding, no need to get everything) and see what is wrong. No, I'm not going to force anyone to do it, and I certainly don't want anyone to go through each and every line of the coding as that would take forever. I just don't know what the problem is, and if I cannot resolve this issue, then I cannot well...do this correctly for dual-wielders, which means that 1 1/2 months of work spent was for naught. So if anyone can help figure this out, I would GREATLY appreciate it. I would like to actually finish this up for the other 3 dual-wielders and move on to something better than coding my life away >____>;;