Jump to content


Photo

Magic Junction System


  • Please log in to reply
12 replies to this topic

#1 Tsukihime

Tsukihime

    Advanced Member

  • Member
  • 7120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 29 May 2012 - 02:48 PM

Magic Junction System - basic
Author: Tsukihime

Posted Image

Overview

This script provides basic magic junction functionality. Magic can be used to increase your stats. The bonus that you receive depends on how many units of that magic you have, as well as the junction bonus for that stat.

For example, "Life II" may provide large bonuses for "max HP" stat, but very little bonuses for "atk" or "def". Or possibly even negative bonuses.

Currently it supports the 8 basic parameters. Support for xparams and sparams will come later.

Features
  • Junction magic to boost your stats
  • Junction bonus can be positive or negative
  • Supports the 8 basic parameters
Usage

To junction magic, first you must obtain magic units. Then, go to your menu and select the "Junction" menu.

The junction scene can also be called using script calls

SceneManager.call(Scene_MagicJunction)

To specify the junction bonus for a particular stat, tag the skill with

<j-[stat]: [amount]>

For example,

<j-mhp: 20>
<j-atk: 0.34>
<j-agi: -2.5>

Where the amount if any valid real number (positive or negative)
And stat is one of

mhp (max HP)
mmp (max MP)
atk (attack)
def (defense)
mat (magical attack)
mdf (magical defense)
agi (agility)
luk (luck)

Download

Script: http://db.tt/svZVRaxm
Required: Magic Units must be placed above this script

Notes

Junction bonus formula: junction_bonus * num_units

Edited by Tsukihime, 29 May 2012 - 03:36 PM.

All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#2 Ravenith

Ravenith

    Abandoning projects since 2001

  • Member
  • 104 posts
  • LocationGreece
  • RM Skill - Designer

Posted 29 May 2012 - 03:03 PM

...Wow. Just wow. Are you a machine or something? Nce one, mate. Nice one.

#3 Shablo5

Shablo5

    Advanced Member

  • Member
  • 161 posts
  • RM Skill - Designer

Posted 29 May 2012 - 05:11 PM

Man, half of your scripts don't fit the game i'm making. And with each new release (Monster Hunter, This) I keep designing my next game in my head. Hah! Keep up the good work.

#4 SirCumferance

SirCumferance

    Advanced Member

  • Member
  • 325 posts
  • LocationLakewood, Washington
  • RM Skill - Jack of All Trades

Posted 30 May 2012 - 11:17 AM

Machine? I agree or at least more human than human. I had to do a double take looking at his sig, was like 'It looks much bigger than before'

#5 Tidloc

Tidloc

    Tidloc

  • Member
  • 176 posts
  • LocationVienna, Austria
  • RM Skill - Coder

Posted 30 May 2012 - 11:32 PM

yeah, together with your draw magic script: FF8 ftw! xDD

#6 ∑-sigma-

∑-sigma-

    Advanced Member

  • Member
  • 200 posts
  • LocationAustralia.
  • RM Skill - Writer

Posted 08 June 2012 - 09:50 PM

Seriously loving these FF8 scripts.

I just had two questions in mind though..

Firstly, is that when you junction magic, perhaps you could gain some kind of tolerance to that magical element? So say, I junctioned 20 Fires to defence, that it would grant 20% tolerance towards physical fire attacks?

Secondly, do you have plans to do more attributes that you can junction too? Maybe stuff like accuracy, or weapon(So that you can gain firestrikes, etc.)?
Posted Image

#7 Tsukihime

Tsukihime

    Advanced Member

  • Member
  • 7120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 08 June 2012 - 10:16 PM

Elemental properties in the game is handled strangely. Everything is based on vulnerability, so the higher the elemental rating, the more damage you take. Similarly, lower rating (eg: 0% fire) means you take no fire damage.

So defense is possible to implement, but attack isn't.

For the rest of the parameters (sparam and xparam), I thought about doing them and have left space for them as separate commands (so you can just scroll through each page), but not sure if I will get to it. Maybe someone else can write an extension.

Edited by Tsukihime, 08 June 2012 - 10:17 PM.

All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#8 ∑-sigma-

∑-sigma-

    Advanced Member

  • Member
  • 200 posts
  • LocationAustralia.
  • RM Skill - Writer

Posted 08 June 2012 - 10:56 PM

Thanks for the help. Much appreciated.
Posted Image

#9 Seiryuki

Seiryuki

    Advanced Member

  • Member
  • 103 posts
  • LocationTrinidad & Tobago
  • RM Skill - Jack of All Trades

Posted 12 June 2012 - 11:04 AM

Is there a possibility for an "Optimise" option where that would automatically assign the magic to the stats that where it has the best affinity?

If I remember correctly, Final Fantasy VIII has the AUTO feature where you can choose from a few algorithms: Health, Attack, Defense
e.g. selecting Health would mean the magic would be junctioned to the stats so that the HP has priority over the other stats.

Edited by Seiryuki, 12 June 2012 - 11:04 AM.


#10 Tsukihime

Tsukihime

    Advanced Member

  • Member
  • 7120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 12 June 2012 - 12:36 PM

I can't think of a good optimization algorithm.
The brute force method would be to just check every possible magic against every field, but that's silly.
All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#11 Lowell Richards

Lowell Richards

    The Walking Atelier

  • Member
  • 36 posts
  • RM Skill - Jack of All Trades

Posted 29 June 2012 - 04:31 PM

If I Recall Correctly, Element Rates are just Attribute on Attack in VX Ace. Don't Recall if Fire Strike etc had rates in FF8 but you could use another script to have the overall power of that particular element be enhanced. (Craze did this with his Elements Booster script found here http://crazescriptas.../rmvxa-scripts/.) A simple invisible autostate alongside this script when junctioning elemental attributes should achieve the same effect to an extent.

#12 Labyrinthine

Labyrinthine

    Newbie

  • Member
  • 4 posts

Posted 18 February 2015 - 09:27 AM

I've asked this before in the script support forums, but here goes nothing: Is it possible to remove Max MP from the junction menus? Since MP isn't used at all with Magic Units...?



#13 Zchvrtxn

Zchvrtxn

    Newbie

  • Member
  • 7 posts

Posted 14 January 2017 - 11:38 PM

Someone can give me the script? The dropbox doesn't work






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users