Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Click here to join us on IRC (#charas on irc.freenode.net)!
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
Two requests....
« previous
next »
Print
Pages: [
1
]
Author
Topic: Two requests.... (Read 3152 times)
Roland_Deschain
Batman.
Agent
Posts: 892
I'm... BATMAN.
Two requests....
«
on:
November 08, 2008, 02:14:45 AM »
ONE: A magic system that runs off HP as opposed to MP.
TWO: A "protect" spell that lets Character A take a percentage of Character B's damage, a la FF4.
Thanks in advance.
Logged
Prpl_Mage
Administrator
Sage
Posts: 7,644
The Administrator Mage
Re: Two requests....
«
Reply #1 on:
November 08, 2008, 08:27:03 AM »
DO you need this or are you going to make it?
Anyone, the first thingy more or less requires one thing.'
A battle event that are triggered when you use that certain skill.
When it's used- decrease the heroes' HP by the certain ammount.
The only problem is that you'd be able to use it even if your life was down at 1 and it costs 40. Unless you make it possible to die from the reduction.
This is where Rpgm fail again and c++ is better.
Anyway, you could simply make the actual damage and skill as an event and not an actual skill.
Add a conditional branch to see if the hero got enough health.
Check the target of course.
Do the calculations for damage.
Decrease monster hp.
Add the health recoil.
Turn the skill's switch off.
That should work.
Or, you could just set the MP and HP equal to each other and have a parallel event that sets the value of HP equal to MP. So if the hero got 400hp and 400mp and use the bloodsport spell.
He loses 50mana.
And he only got 350mana then, so the health is set to 350 as well.
«
Last Edit: November 08, 2008, 08:29:00 AM by Prpl_Mage
»
Logged
Cool RPGM Project!
Sprite till you die
Oh my god, this was ...10 years ago...
Roland_Deschain
Batman.
Agent
Posts: 892
I'm... BATMAN.
Re: Two requests....
«
Reply #2 on:
November 08, 2008, 02:48:06 PM »
That works, and yeah it needs to kill the person. Thanks. >_> And I'm betting part two is impossible?
Logged
Prpl_Mage
Administrator
Sage
Posts: 7,644
The Administrator Mage
Re: Two requests....
«
Reply #3 on:
November 08, 2008, 08:30:45 PM »
Well, not quite. But that's another thing that would be more effective in a real programming language.
Here is just a theory.
Make a skill that adds the status prob "guarded" or whatever, the status doubles defense.
Add a battle event so that a switch is turned on.
Then just give the same amount of damage the guarded character took to the one who guarded him.
Logged
Cool RPGM Project!
Sprite till you die
Oh my god, this was ...10 years ago...
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
Two requests....