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.
Make two scripts compatible :)

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 73
RMRK Junior
Hey there!

I`m currently using two scripts in my game, but they actually aren`t compatible to eacht other (which is a pity...)

The first script is called "Weapon Specific SKills". It was created by TerreAqua and can be found here: http://forum.chaos-project.com/index.php?topic=4280.0

The second script is called "Passive Skills". It was created by Leon_Westbrooke and can be found here: http://rmrk.net/index.php/topic,23810.0.html

Defining the compatibility problem:

Using the second script, I was editing passive skills. It should be clear that these skills are passive, which means they are ALWAYS ON. The thing is that I want the passive skills only be efficient as long as a specific weapon is equipped, which is incompatible with the first script.

EXAMPLE:

The player learns the passive skill "Swordmaster", which gives him a strength-bonus of +100. The player should only gain the strength-bonus as long as a sword is equipped. If the player uses an axe e.g. he will not be able to use "Swordmaster" (concerning script 1) and so he will not gain the strength-bonus (concerning script 2).

Thank you in anticipation! I hope that my request is not to difficult to realize.

**
Rep: +0/-0Level 73
RMRK Junior
Bump! I guess there is no help for me -.-

***
Rep:
Level 82
We learn by living...
you are using equipment slots to determine if you have a skill effect. That's not really a permanent skill, that's an item that is doing double duty as a skill. That's why it doesn't work. Making permanent skills would require completely rewriting the way skills are accessed, since the battle map program has almost nothing to do with the main sprite map. I suggest you create a flow chart of how just one skill - any skill you like, is triggered, and then look for places to fiddle with duration.