damage formula

  1. Damage formula based on equipped armor

    Hi. I would like to make an ability where the damage is increased if the user has no armor equipped. The damage formula is as follows: if has no armor equipped, the damage would be 110 + a.atk * 2 - b.def * 2. If the user is using an armor, that damage formula would be 55 + a.atk * 2 - b. def *...
  2. damage formula while ignoring equipped weapon

    Good day all, i need help with this before i pull all my hair out. im designing a project where all party members are equipped with a mana consuming weapon, AND a secondary weapon (NOT dual wield) that does not consume mana. so for example: Main weapon = long bow Secondary weapon = Knife i...
  3. zerobeat032

    Is there a way to damage someone's TP?

    I've looked through a few plugins such as Yanfly's Action Sequence 2 that allows one to add to TP, but I was wondering if there was a way to outright "damage" someone's TP like you would HP or MP... Like I have it where I'd want certain attacks to fill it up more than others but I don't see...
  4. Hero_Claive

    Simulating a Skill Formula oustide of battle?

    Been experimenting trying to create a window in Scene_Skill that shows hypothetical damage output of a given skill. This is easier said than done, however, as I'm having an increasing amount of trouble getting the program to return a numeric value from the skill's formula outside of battle. I'm...
  5. Nilom

    Yanfly's Skill Rewards plug in, double value display bug

    I think I've come across a bug in Yanfly's Skill Rewards plug in. What I basically want to do with this skill is use up to 40 TP and recover 1% HP for each TP used. Note: I wanted the user to be able to use this ability with 1 TP, 5 TP, 30 TP, 100 TP or whatever. I didn't know how to...
  6. ShinySlowqueen

    Attack that gets weaker as MP goes down

    So I've got a character's skill that uses MP and deals more damage the more MP the character has. I thought this would be simple, but the damage formula doesn't seem to work. I hope someone can tell me what I'm doing wrong. ((a.atk * (a.mp/a.mmp)) * 4) - b.def * 2 So if a character has 50...
  7. ShinySlowqueen

    Make attack formula use a character's *base* attack?

    I'm trying to come up with a weapon that uses agility instead of strength, without making it have to give the character a whole ton of extra agility. Say I have a whip, the whip's damage formula is: a.agi * 4 - b.def * 2 But I want the whip *itself* to have a strength of 20. If I add +20 to...
  8. Using Math.floor on All Damage Formulas

    I checked out this thread earlier today: https://rpgmakermv.co/threads/damage-formulas-101-mv-edition.2172/ My game uses low damage numbers, and after a bit of testing, I found out that any decimal .5 or over rounds damage values up, while I want all non-whole numbers to round down. Damage...
  9. Animebryan

    Is it possible to have a skill do a 'TP Drain' by using a damage formula?

    I've been struggling to find a way to make skills that Drain TP, but I'm not having any luck. I was wondering if a skill could be set up to drain TP by damage formula?
  10. Lonewulf123

    Base parameters in damage formula

    hello, Is it possible to pull an actor’s base stats (for instance the raw attack stat without factoring equipment) into a damage formula? I would like utilize both “a.atk” plus the raw number in a battle formula, but I don’t know how easy that would be to accomplish.
  11. Midnight Kitty

    Skill Formula error

    The game crashed when I tried to use a healing spell created as so if isActor() 300 + (a.mat * v[44]); else 300 + (a.mat * 3) + a.hrg * a.mrg; Does anybody know where I might have went wrong here?
  12. NinjaKittyProductions

    Yanfly's Damage Core help...

    Hey gamers, I am currently working on a project and am using yanfly's damage core. I have a damage formula notetag that works for what I need it to do except it looks really ugly and since I am still new to programming, I am having a hard time condensing it down. Any help in making this code...
  13. Gabrepasta

    Bobstah's custom stats not working for damage formula

    I am using Bobstah's Custom Stats plug-in, but the added custom stats do not work in the damage formula, making the skills they are included in do 0 damage. I will describe how I set up the custom stats on the example of srf and fst. In the Actor note tag I added: <CustomStat: srf=0>...
  14. Problem with self-states in damage formula

    So I'm trying to make a skill which does two things 1. Deal damage to all enemies 2. Inflict a state on the caster After searching a few threads I used "a.add_state(1);a.mhp*0.25" which is intended to deal 1/4 of the caster's max HP to all enemies and then kill the caster (similar to a...
  15. jfoster3590

    Skills: Effect Iff Enemy Dies from Skill

    Hi, all. I am trying to make a Skill that deals damage and has a bonus effect if and only if the Skill kills the enemy. Is there a way to go about doing this? For example: The skill "Fire" does 200 damage. The enemy has 400 HP. On the first use of "Fire," 200 damage would be dealt, leaving the...
  16. MHRob

    Need help with a custom damage formula

    (VX ACE) I'm in the middle of trying to create a "High risk, high reward" type of skill but have not been successful with applying the correct damage formula to make it happen. I tried this: a.hp>5; 5; else; 0; end but I kept getting errors and am not exactly sure how I'm supposed to structure...
  17. Sednaiur

    Using actor kill count in damage formula

    I would like to make a skill that deals damage equal to the kills that the user has done so far, like increasing the damage output of said skill by 1 for every kill. I am sure that this is possible, but I do not know how to adress the kill count of the actor in the damage formula. For example...
  18. Question about damage formula either healing or damaging?

    I was hoping somebody could help me out. I'm trying to make my wind spell either damage or heal depending on what is being targeted. So far I have this for my damage formula: if (b.isActor()) {b.gainHp (a.mat * 6)} else {a.mat * 6 - b.mdf * 4}. So far if I target the enemy with the skill it...
  19. Storing enemy stats/attributes inside variables to apply in Damage Formula, won't work.

    Hi guys, this is actually my first time posting a thread on this website. I hope I am easy to understand. I have the following situation: I have assigned certain enemy attributes to variables for each of them. I used the command "Control Variables" In this case for: enemy ID #5 Current HP -->...
  20. pkdarmstrong

    MV Formula Box: Deal Damage and Add a State in a Boolean?

    Good morning, I am currently creating a "shield bash" skill, and I would like to have the condition where if the user has a larger % of HP than the target enemy, they are able to deal damage as AND add a "stun" state to the enemy. HOWEVER, if the user does not have a larger % of HP than the...

Latest Threads

Latest Profile Posts

Stuffing three people in a room and thinking they'll study together is so wrong XD I don't get how people do group studies. We just end up gossiping about everything except studying lol
Been parallax mapping nigh all night. :D
2nd character based on the same random inputs
the coffee shop i go to for open mic every friday only has 2 more open mics left and then they're done :'( i'm gonna die!
Everytime someone says Intel "kabylake" I hear either baby lake or ladycake.

Forum statistics

Latest member