- Joined
- Nov 14, 2016
- Messages
- 68
- Reaction score
- 39
- First Language
- English
I have recently installed this plugin in the game that I am working on. It works okay, but there are a couple of things that I would like to ask about, for my own interest.
https://raw.githubusercontent.com/s...delta/master/build/SkillShop/YED_SkillShop.js
Firstly, in the plugin help, it gives 2 syntaxes for opening the shop:
1) OpenSkillShop(ID,ID,ID)
2) OpenSkillShop ID ID ID
Only syntax 2 (without brackets or commas) works. The first one, which uses brackets and commas doesn't add the skills you want sold to the shop. Is this because the plugin was written a while ago, and I have upgraded to MV version 1.6.1? Is this kind of thing something to be aware of if trying out plugins written for previous versions of MV?
Secondly, although the plugin is good at not selling skills to actors that already know the skill, it will happily take money for trying to teach actors who can't learn that skill, for instance, because it is a magical skill and the actor can not use magic. Is this a function that has altered when MV has been updated?
I have had to limit the spell availability to the classes that I want to use it by notetags for the skill in the database, for example:
<Buy Cost Gold: 600>
<Buy Custom Require>
actor.currentClass().id > 4
actor.currentClass().id < 7
actor.level > 8
</Buy Custom Require>
where classes 5 and 6 are the classes that I want to be able to learn that spell.
I stress that the plugin works well, and is a boon for those who want to have a mage guild, spell college or similar to teach most of the spells. I am just curious in case I want to use other plugins that haven't been updated for later versions of MV.
https://raw.githubusercontent.com/s...delta/master/build/SkillShop/YED_SkillShop.js
Firstly, in the plugin help, it gives 2 syntaxes for opening the shop:
1) OpenSkillShop(ID,ID,ID)
2) OpenSkillShop ID ID ID
Only syntax 2 (without brackets or commas) works. The first one, which uses brackets and commas doesn't add the skills you want sold to the shop. Is this because the plugin was written a while ago, and I have upgraded to MV version 1.6.1? Is this kind of thing something to be aware of if trying out plugins written for previous versions of MV?
Secondly, although the plugin is good at not selling skills to actors that already know the skill, it will happily take money for trying to teach actors who can't learn that skill, for instance, because it is a magical skill and the actor can not use magic. Is this a function that has altered when MV has been updated?
I have had to limit the spell availability to the classes that I want to use it by notetags for the skill in the database, for example:
<Buy Cost Gold: 600>
<Buy Custom Require>
actor.currentClass().id > 4
actor.currentClass().id < 7
actor.level > 8
</Buy Custom Require>
where classes 5 and 6 are the classes that I want to be able to learn that spell.
I stress that the plugin works well, and is a boon for those who want to have a mage guild, spell college or similar to teach most of the spells. I am just curious in case I want to use other plugins that haven't been updated for later versions of MV.
