- Joined
- Oct 2, 2016
- Messages
- 40
- Reaction score
- 2
- First Language
- English
- Primarily Uses
So...the game I'm building has a pretty weird attack system, where equipping weapons unlock certain skills that are intended to have limited uses (i.e. ammunition), but then extend into other skills that do different things. For example, if you use the "Fire Cannons" skill, then it extends into a few other skills that do damage in different ways (Single Barrage is one double-damage attack, Continuous Barrage is 3 low-damage attacks on one target, etc). The core skill (Fire Cannons, in this case) has limited uses that function like an ammunition resource, but the skills it extends into don't have limited uses, since I feel like they're not necessary for this system.
The problem comes into play when you realize that the Extended Skills are not the same as the original skill, and thus don't consume the Limited Uses resource. Trying to insert a "<Skill 3 Limited Uses: -1>" notetag into the extended skill doesn't help either, since it targets the enemy and reduces their limited uses instead. So...what I'm after here is a notetag I can put into the extended skill, which reaches back into the caster and reduces the limited uses of the core skill. It'd probably be lunatic mode, something to the tune of:
<After Eval>
user.limitedUses(3, -1);
</After Eval>
(...don't try to use that one, it doesn't work. I tried.)
If anyone can help with this, I'd seriously appreciate it. Even a complicated workaround is appreciated at this point! ^^
Links to the plugin sites: http://yanfly.moe/2016/01/09/yep-56-limited-skill-uses/ and http://sumrndm.site/skill-extender/
~Blackjack
The problem comes into play when you realize that the Extended Skills are not the same as the original skill, and thus don't consume the Limited Uses resource. Trying to insert a "<Skill 3 Limited Uses: -1>" notetag into the extended skill doesn't help either, since it targets the enemy and reduces their limited uses instead. So...what I'm after here is a notetag I can put into the extended skill, which reaches back into the caster and reduces the limited uses of the core skill. It'd probably be lunatic mode, something to the tune of:
<After Eval>
user.limitedUses(3, -1);
</After Eval>
(...don't try to use that one, it doesn't work. I tried.)
If anyone can help with this, I'd seriously appreciate it. Even a complicated workaround is appreciated at this point! ^^
Links to the plugin sites: http://yanfly.moe/2016/01/09/yep-56-limited-skill-uses/ and http://sumrndm.site/skill-extender/
~Blackjack
