Main Menu
  • Welcome to The RPG Maker Resource Kit.

Shield Spell

Started by darkelementwars, November 04, 2006, 02:57:12 PM

0 Members and 1 Guest are viewing this topic.

darkelementwars

Is there a way to make a spell that targets a friendly target that nullifies the damage of the next attack on him and then dissapears?
My Project: Dark Empire
http://rmrk.net/index.php/topic,7815.0.html
Official Site: http://darkempirerpg.tripod.com
Process: Getting back to work.

Always looking for sprites, if your interested, PM.

"But then I realized, why stop things from exploding, when in fact it is in exploding that things reach their perfect form. Of course, they only reach it for a few glorious seconds, but during that short time there is no object in the universe more beautiful." -Kite Rockswell, the Mad-Mad Bomber, from The Final War, my very own novel project.  PM me if you would like to read.

"Oh, sure, blaim the wizards..."

Corvus Sangreal

#1
I have an idea, though I haven't tried it.

You need status effect and skill "shield". Then in common event you make condition, when status of each player is shield do next (you need to make it for each player separately). You need variable that will store HP when status is shield on your player. You need another variable that will be parallel process after switch is triggered (you need switch that will turn on when status is shield on someone, and turned off after end of status) and which will be in condition to check is it same as HP variable, if it is not then you do next. You have another variable which is first one minus other one, and you heal player for the number of that variable. Bad part of this is that you could die before healed, and other bad part is that if someone heals you, shield will be used, and you will be healed once again for same amount.

I tried to change Phys defence to 200 (that is max), but that won't make you invulnerable.

If it is working in this way like I thought it will, try to make better version of it, experiment a little.

edited: ok, if you set when status shield is on: death relation to minus, and you set evasion to 100, that will do. Just follow previous procedure with common event so that status knows how long it should be used. Of course you don't need third variable for adding health. Only this part if someone heals you in meantime needs to be resolved. And don't forget to put event line change status (take off shield status) in the end of process.

Blizzard

Yeah, I've had a similar idea. Make a status effect that disappears when attacked once (100% after physical attack) and make it increase Eva by 100. Now just make a skill that inflicts this status effect.

Although this will only work for physical attacks and physical based skills, not for magic based skills.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!