I figured that I would have a bunch of questions so I decided to post them all in one thread. I may be an intermediate RPG Maker 2er but it doesn't mean I can't have questions! Ok, first question on this thread:
I'm am attempting to create a script that will lower armor by 25% in battle. This is for a spell. The trouble is actually trying to lower the armor! I used an enemy with 9999hp and 300Defend(aka 300Armor) and everything else at 0. I tested attacks on it with the hero of the game and I had no items on. He had 402 Strength. My average hits were around 330hp to 410hp. The next test, I took off 25% of the enemies defend so it had only 225. Now on this test, all was same but the enemy defense. I did around 380-450damage this time. Now as for the script that lower armor, I copied the fu-ma script straight down to the pixel(except for the dialouge). Now, when i attack the enemy, i gave it back 300defend and tried the armor weaking spell. It "worked" and so I attacked and yet, it still did around 330-410hp instead of 280-300. Could I just possibly set the script so it had only dialouge, the script branch condition, and this command:
Data Variable: Armor= Armor x 25
Data Variable: Armor= Armor / 100 (/ = divide)
and from there, the terminate command can contain this:
Data Variable: Armor= Armor x 100
Data Variable: Armor= Armor / 25
Or does anyone know how to make one that works?
I'm am attempting to create a script that will lower armor by 25% in battle. This is for a spell. The trouble is actually trying to lower the armor! I used an enemy with 9999hp and 300Defend(aka 300Armor) and everything else at 0. I tested attacks on it with the hero of the game and I had no items on. He had 402 Strength. My average hits were around 330hp to 410hp. The next test, I took off 25% of the enemies defend so it had only 225. Now on this test, all was same but the enemy defense. I did around 380-450damage this time. Now as for the script that lower armor, I copied the fu-ma script straight down to the pixel(except for the dialouge). Now, when i attack the enemy, i gave it back 300defend and tried the armor weaking spell. It "worked" and so I attacked and yet, it still did around 330-410hp instead of 280-300. Could I just possibly set the script so it had only dialouge, the script branch condition, and this command:
Data Variable: Armor= Armor x 25
Data Variable: Armor= Armor / 100 (/ = divide)
and from there, the terminate command can contain this:
Data Variable: Armor= Armor x 100
Data Variable: Armor= Armor / 25
Or does anyone know how to make one that works?



Comment