Newbie Question: "Slayer" weapon

Hi, everyone! I just started on RPGmaker today and did a bit of research myself... but I have a few questions that I am hoping you can help me with!


Question 1)


I have searched around a little bit and noticed that Hime has created a script for classifying enemies into a class and give it certain attributes. I am just wondering If there is a plugin that will allow me to do extra damage to a class.


For example, if i classify 10 monsters under the class "bug", and I want to create a weapon called "bug slayer" (deals extra 25% damage against bugs) is there a way that I can do that?


Question 2)


Is it possible to do a "gatcha" system in the game? I don't mean that by charging players money! More like: "you do a quest for 100 rubies", then you can use those 100 rubies to enter a draw for a weapon... or character 😀


Your help is appreciated!
You do not need a plug in for your first question, as this can be done by states etc.  Therefore both these questions are "How to...?" and so do not belong in General Discussion which is about general principles of game making.  So...


I've moved this thread to RPGMaker MV Support. Please be sure to post your threads in the correct forum next time. Thank you.


It is usually more helpful to have 2 separate threads for 2 separate questions.  You might also think of editing your title so that it is a bit more specific.
1) I am not sure if this will work or not, but you can try putting this in Damage Formula. 


b.isClass(n) ? x : y;


Replace n with enemy class, x with the damage formula that has bonus damage, and y with the damage formula if target isn't the specified class. Do note that you need another plugin that allows you to customize individual weapon damage formula. Pretty sure there's one that come with preorder (Yoji Ojima's or Sasuke Kannazuki...can't remember who did it)


2) Make an event for the gacha machine that stores a variable based on number of Rubies you owned. Then make a conditional branch, on the true condition to allows you to play gacha and on the false condition to disallow you to play gacha. On the first branch, store another variable to set randomized number. Then make another conditional branches for each possibilities of item drops. (If variable on the range of 1-5, give X items; if variable on the range of 6-10, give Y items; and so on). 

Original thread: https://forums.rpgmakerweb.com/threads/newbie-question-slayer-weapon.64201/