So, my previously working weapon-specific skills are no longer work with the addition of the Ramza_DualWield plugin and "off-hand" weapons added under "types." I'm still using YEP_Skillcore as well. I know "offhand" is affecting it, but not sure which part of my custom JavaScript (courtesy of Ramza) needs to be tweaked to fix the skill.
The Long-short of it is, the skill should work only when the main hand and offhand weapon of the same type is equipped. Adding the screenshots, skill notes, and link to an old post in case needed.
Ramza, any help would be appreciated! Thanks! 🙂
<Dual Wield Skill>
<Custom Show Eval>
var wpnType1 = (user.equips()[0]) ? user.equips()[0].wtypeId : 0
var wpnType2 = (user.equips()[1]) ? user.equips()[1].wtypeId : 0
if (wpnType1 == wpnType2 && wpnType1 == 9) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
forums.rpgmakerweb.com
The Long-short of it is, the skill should work only when the main hand and offhand weapon of the same type is equipped. Adding the screenshots, skill notes, and link to an old post in case needed.
Ramza, any help would be appreciated! Thanks! 🙂
<Dual Wield Skill>
<Custom Show Eval>
var wpnType1 = (user.equips()[0]) ? user.equips()[0].wtypeId : 0
var wpnType2 = (user.equips()[1]) ? user.equips()[1].wtypeId : 0
if (wpnType1 == wpnType2 && wpnType1 == 9) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
MV - YEP_SkillCore Dual-wielding Weapon-specific Skills / JavaScript Assistance (SOLVED)
Community, Utilizing YEP_SkillCore plugin, is there a way via JavaScript to make certain Skills only visible if you're dual-wielding two of the same weapons- i.e. x2 daggers?? Similar to the script below, in which skills are only visible when user is in "Stealth" state. I would greatly...
forums.rpgmakerweb.com