Tsukihime 1,489 Posted May 29, 2012 (edited) Draw Magic Author: Tsukihime Overview This script allows you to designate skills that should be treated as "draw skills". Draw skills allow you to steal magic units from the enemy. It is functionally the same as the draw command in FF8 Features Set-up magic units for enemies Designate skills to be "draw" skills Draw magic from enemies for your own use Enemies can also draw from your party Usage In the configuration, just type in the skill ID's that should be draw skills. Tag enemies that should have magic units with the desired skill ID's <draws: 1,2,3,4, ... > Note that they must be magic unit skill types. Screenshots When you use the draw skill, you will be asked to select an enemy and any magic they have Then the skill will be used as normal once you have the magic, you can use it freely Download Script: http://db.tt/MvesW5KN Required: Magic Units Compatibility and add-ons Command Setup - directly designate the draw skill as a command. Command Setup must be placed above this script for the add-on to be applied. Edited May 29, 2012 by Tsukihime 1 Share this post Link to post Share on other sites
Seiryuki 14 Posted May 29, 2012 This is nice. Do you plan on doing a Junction system with the Magic Units as well? The Junction system, from Final Fantasy VIII, allows the player to junction (attach) magic to parameter slots such as ATK, SPI, Mag-ATK, etc. altering the value of the parameter based on the affinity level of the magic to that parameter. Share this post Link to post Share on other sites
Tsukihime 1,489 Posted May 29, 2012 Yes, I think after writing up the magic units script it makes a lot of things from FF8 pretty simple to do lol Share this post Link to post Share on other sites
SirCumferance 28 Posted May 30, 2012 Nice sir, I was going to ask about having an attack with a weapon Draw...but custom attacks can handle that. I am impressed and I am pretty sure I will use this. Many thanks for the awesome scripts. Share this post Link to post Share on other sites
∑-sigma- 16 Posted July 1, 2012 I got this error when I tried to draw magic from an enemy. def draw_magic(user, item) skill_id = user.actions[0].draw_id return if skill_id == 0 avail = get_magic_units(skill_id) drawn = calculate_draw_amount(user, self) amount = [[drawn, avail].min, 0].max if amount > 0 user.add_magic_units(skill_id, amount) lose_magic_units(skill_id, amount) @result.draw_amount = amount @result.draw_magic_name = $data_skills[skill_id].name @result.success = true end end That's the chunk that begins at 132, saves you the time with having to look for it yourself. :/ Also, I was wondering, is there ways of drawing things other than the magic from enemies? Or is that all you can do, because in FFVIII you could also draw summons, "Guardian Forces", from enemies as well. Share this post Link to post Share on other sites
Tammsyn 8 Posted July 1, 2012 could an option of stocking and casting like in ff8 be added? Share this post Link to post Share on other sites
Tsukihime 1,489 Posted July 1, 2012 (edited) I got this error when I tried to draw magic from an enemy. Describe how you've setup the project and how you drew the magic. Basically, when you choose which magic you want to draw, that ID is stored with your action, which should be set when you choose a skill with draw effect. Did you use some sort of force action? That might get around it and you end up with no draw_id set. Of course, it may just be case of poor design, but I couldn't think of where else to store the magic that you want to draw. Also, I was wondering, is there ways of drawing things other than the magic from enemies? Or is that all you can do, because in FFVIII you could also draw summons, "Guardian Forces", from enemies as well. Unfortunately the current design only really allows you to draw skills. Which means you can always assign a skill to be one of the summons, and when one of your actors "has" that "summon", you would remove that skill and add the summon to your party, which could be an actor. could an option of stocking and casting like in ff8 be added? I'd have to bypass the default skill-use checks, which might get ugly. Edited July 1, 2012 by Tsukihime Share this post Link to post Share on other sites
∑-sigma- 16 Posted July 2, 2012 (edited) I've set it up so that draw is a command skill, using your other script. I've added the draw ability to the main character. http://img651.images...4770/enemyy.png http://img515.images...5/916/drawq.png Not really sure where I went wrong, I'm sure you'll spot it though. Also, thanks for being incredibly helpful, I'm probably being a real pain in the hide. ;~; Edited July 2, 2012 by -sigma- Share this post Link to post Share on other sites
Tsukihime 1,489 Posted July 2, 2012 (edited) lol actually I'm not sure where the issue is coming from, since it looks like an issue with the Action itself. Edited July 2, 2012 by Tsukihime Share this post Link to post Share on other sites
Tammsyn 8 Posted August 21, 2012 Okay I've got 2 minor errors with this script while using alongside yami's new battlesystem http://yamiworld.wordpress.com/2012/08/01/battle-symphony-8d-battlers/#comment-1560 the issues are if you cancel the draw command then it crashes with this error script 'window_skilllist' line 81: nomethoderror occurred. undefined method 'last_skill' for nil:nilclass also when actually using the draw skill the failed message appears although you was successful I'm gaining the desired skill (I'm also using your battlecommand script) Share this post Link to post Share on other sites
Tammsyn 8 Posted September 7, 2012 well issue with yamis script seams to be fixed but if used along with forma 0153's atb script http://cobbtocs.co.uk/wp/?p=73 then the actor uses draw but does not receive any magic units any help? Share this post Link to post Share on other sites
Tammsyn 8 Posted October 14, 2012 ok i got same error as sigma when using victor sants animated battle system http://victorscripts.wordpress.com/rpg-maker-vx-ace/battle-scripts/animated-battle/ any idea on fix? Share this post Link to post Share on other sites
silver-silvera 0 Posted May 28, 2014 I can get a draw point to work, but I can't seem to draw anything from enemies.Here is my file: https://drive.google.com/file/d/0B449SExj1XuCU1RkQ3g5MDlhN2s/edit?usp=sharingThe right event is a draw point, the top and left events are battles with monsters who should be able to have skill 4 "magic" drawn from them. When I use draw on the monsters a blank menu shows up. Share this post Link to post Share on other sites
silver-silvera 0 Posted June 15, 2014 I would to say that I figured out the problem I was having. Beginner's mistake: I gave the actor the skill type but not the actual skill. Share this post Link to post Share on other sites