Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker 2003 > Special Attacks 2: Tonberry Karma

Special Attacks 2: Tonberry Karma


This is an attack that makes you get damaged dependent on how many victories and battles you've had. First step is to use the targetting code, from before, and set the damage variable as KarmaAtk.

Now, at the start of battle, make the call event Karma. This will give you your damage, which will be a constant for the battle. First we want base damage, unless it is to be wholly based on battle victories. Let's make KarmaBaseDamage and assign 100 to it. Then make Karma Damage 1 for victories, and 2 for the battles you've been in. Add Karma Damage 1 to a total variable, and multiply by Karma Damage 2. So it should look like this.

Variable BaseDamage Set 100
Variable KarmaDamage1 Set Victories
Variable KarmaDamage2 Set Battles
Var KarmaTotal + KarmaDamage1
Var KarmaTotal x KarmaDamage2
Var KarmaTotal + BaseDamage
Variable KarmaAtk Set KarmaTotal
End Event Processing

That's it, though I can't test it without getting into a bunch of battles.


Details
Tutorial: Special Attacks 2: Tonberry Karma
Date Listed: Wed, 06 Oct 2010 09:29:08 -0400
Author: bulmabriefs144
Total Hits: 1561


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal