How do I make a "vampiric" (drain) weapon?

● ARCHIVED · READ-ONLY
Started by Amane Kagari 9 posts View original ↗
  1. I'm not sure where to post this. (Please move it to a proper place mods if I posted in a wrong section.) But I need help on something. I am trying to make a "vampiric" type weapon that drains while dealing damage but I have no idea how to make one. I know there has to be a script involved but I'm not sure which one. So can anyone help me please? 

    Thanks a bunches. ^_^
  2. You can make one with the stock plugins and database. Using the "weaponskill" plugin from kadokawa you can assign an "HP/MP drain skill" to the weapon. If you have any scripting knowledge you can also make a custom formula with  Yanfly's Item Plugin and using Lunatic mode.
  3. If I have all the yanfly scripts all I have to do is like put something in the notes or do I need to do separate script?

    I mean I want a weapon that drains HP when attacking. 
  4. Then, using the "weaponskill" plugin you just make an HP draining skill and assign it to the weapon (regardless how you do it, you will still need to use notetags. The difference is how complex you want to make it)
  5. How do I assign a skill to a weapon? I'm kinda confused on that part. I know it's not adding skills because that would only add an external skill that you have to use. Do I just add like a skill id number in the notes section of the weapon itself or is it something else?

    (I'm just messing around with stuff by trying to make a "Vampire's Blade" that drains life as it attacks. I know it involves some sort of skill thing as far as I know. But I'm just a bit confused on how to make it actually work.)
  6. To assign a skill to a weapon - open up the weapon tab on the data base.  Top right corner you will see a section called 'Traits'.  Click on the next empty line.  Click on the 4th tab 'Skill'  

    Click on 'Add skill' and select the skill you want to assign to that weapon.  Click OK.
  7. I guess what I meant was making it use skills automatically not adding skills to be used. That part I got so far from reading the script notes but somehow when I set it to automatically use a drain skill I've made it ends up making all damages 0 for some reasons. I don't know if I messed up something but I was trying to make it have the same attack as a weapon. 

    Here's a few screenshot:

    This is what I did for the weapon section:

    https://gyazo.com/4e5b7a15afb322d951aaeb3386951f09

    And skill 23 is my drain skill: 

    https://gyazo.com/d63702813896cfe8ea22969159f96381

    I may had messed something up by mistake.
  8. I don't think it can register two skills.

    Try deleting the <skill_id: 1> tag and see if it works.
  9. That was actually my second try. My first try was with only skill 23 (my drain skill's ID) and it was 0 damage. And I just tried out what the other poster said and still not working as I wanted it. 

    Edit: I got something working so I guess I've already solved it. Thanks for the help everyone. I've figured out the problem now.