Change a skill's icon depending on the weapon type of the weapon equiped

Hi! So I want some skills to have icons depending on the weapon type equiped. For example, if you use Skill A with a Bow that has a weapon type of "Bow", the icon of Skill A will be a bow, but if you use it with a Sword that has a weapon type of "Sword", the icon would be a sword. If you use a Heavenly Bow of Darkness, the skill icon will be a bow, because of its skill type. If anyone could help making a plugin to achieve this effect I would be very thankful ^-^


Save as CopySkillIconFromWeapon.js


Save as CopySkillIconFromWeapon.js


Nice work! I kinda want to use this now so I can have Oliver G. Kush, Esq. in my game credits.


Save as CopySkillIconFromWeapon.js

Hello! I'm here to tell you two things. First one, this plugin does not work for skill 1 (Attack). If you could fix this I would be veeery thankful. Second thing: How may i give you credit?
Hello! I'm here to tell you two things. First one, this plugin does not work for skill 1 (Attack). If you could fix this I would be veeery thankful. Second thing: How may i give you credit?

I don't recall how Skill 1's icon even shows up anywhere, is it possible this is coming from another plugin??

Credit to "Oliver G. Kush, Esq."
I don't recall how Skill 1's icon even shows up anywhere, is it possible this is coming from another plugin??

Credit to "Oliver G. Kush, Esq."
Yes, with Yanfly's Engine Battle Core for example, it shows on the battle log. Also with Battle Status Windows. And I don't know more.
Hmm, not sure. You'll have to ask that plugin author for support.

Original thread: https://forums.rpgmakerweb.com/threads/change-a-skills-icon-depending-on-the-weapon-type-of-the-weapon-equiped.103387/