Skill Mana System

Skill Mana System
Version: 1

Introduction

Allows You to Create Mana Points for you actors, that will be used in casting skills.

Features
  • Easily Customized Mana Types
  • Mana Icons And Colors
  • Oooo. Pretty....


Screenshots

http://img216.imageshack.us/img216/105/screen11ki.th.png[/IMG]http://img217.imageshack.us/img217/292/screen24wz.th.png[/IMG]

Demo

Script

Instructions

Place Script Below the SDK, and above Main. For further instructions, see script file heading.

FAQ

None Thus Far.

Compatibility

SDK Compliant & Compatable

Credits and Thanks

Thanks to Tdata For Requesting it, and LegACY for the Icons in the Demo.

Author's Notes

Enjoy!
Another great script, I think i've seen this before on another forum, you are on alot of them.
So you finally finished it, nice job! (know what? every time you finish a script, I feel the urge to use it on my game ya know...)
Anyway, may be you should describe more about what does it do, it doesn't seem clear about how to use it and what for...
Neat, and looks very simple to set up too :)

For other people, since I didn't see it mentioned in the post/demo, the mana reqs are accessed by pressing shift on the skills screen
NVM. I'm not very observing... :)
[QUOTE=LegACy]
Anyway, maybe you should describe more about what does it do, it doesn't seem clear about how to use it and what for...[/QUOTE]

I think this is like in Duel Masters, You get different types of cards that have different "elements". You need to put different elemental cards into your "Mana Zone". When you have Mana you can summon different Monsters, normally if you have more Mana then you can summon more powerful monsters, I think that this is taken from that, but to do attacks you need Mana points, but rather than putting cards in the "Mana Zone" you get points. I don't think anyone would recognise it if you didn't play the game like me 😆.
Actually i was going by Magic the Gathering... But your Example works too. If you have ever played the RPG for magic, you would get the basic idea. But my game will have nothing to do with a card game... Though this could be used for one...
I've made something like that to my game few days ago...but the diference is, in my game, you earn mana while walking to specifics types of filed (example: when you're on water filed, you earn blue mana points)

anyway...another great script.
:) me too... The longer you are in a certain area, the stronger the mana absorbtion.
I'm afraid i don't understand this one bit. Is there four types of MP you have to fill up before you can use a skill?
Its all optional and customizable

You can create "Mana" with any name, icon and color.

You can then assign how many "Manas" are required to cast a spell. So in a way, its like having multiple and unlimited types of SP required for skills.
Not to sound greedy but do you think you might be able to somehow link this to an item requirement as well?

If so it would be a very good emulation of some DnD spells.

Like you can't cast a spell unless you have 2 Iron Ore's, and 1 Knee Bone or something like that?
hmmm...
so, does the mana decrease when we use the skill?
Is there a non-SDK version..? SDK messes up 90% of all my custom scripts.
just delete the SDK logging part (delete any lines that have 'SDK' word in it)
@DarkNecrid: I could do that as I guess

@LegACy: Yes, it happens in the skill_effect method in Game_Battler
Super nice script, i will use it and ill credit you for sure. one thing though, is it possible to remove the SP cost and use only the mana point as a cost? If not, nvm the request.
One last thing, can i do a spell that can add up Mana point? (doing it with common event i guess)

Edit: I tried to add up mana with call script but its not working. What the proper line for calling it.
Just make a skill have 0 SP cost from the database. ^_^

For the adding of mana points, you can just use a call script and a common event or something.

The syntax is

actor.gain_mana(mana_id, n)

actor needs to be a game_actor, so you will use

$game_actors[actor_id]

or

$game_party.actors[actor_index]
Alright, heres what i did.
actor = $game_actors[1]
  actor.gain_mana(1, 5)
Expand to see the code.

I tried it and its work.

For the spells/items that "recharge" mana, i dont want to use spells cause all my character will need the spell to recharge so i decide to use items. But how to do that when a actor use an item, the recharge will go to him/her?
I will make a quick addon for skill and item usage, as well as something for the defent option in battle.

Just give me a bit.
Take all your time. :D
Looks cool, I might find a way to incorparate this into my game.
Hope you are still working on the Add-on in your spare time. :P
Is there a way to plug in a code in scene battle where characters gain mana after every battle?
Sure. It's nothing really difficult. I will add something customizable when I do that other thing as well.
I don't know if the add-on is done, but i hope it will be cool.
Sorry, not yet. I have soo much to do, but sooner or later...
Aright, keep up the good work, im sure it will be cool. :D
Umm...how can you make the mana skill window show when the ctrl key (or other key) is press instead of shift? thankies
Find

Input::A

Replace the A with CTRL

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=4515