|
|
Submission: Blue Magic, by Prexus |
|
|
|
|
Oct 15 2005, 03:18 AM
|

Level 3

Group: Member
Posts: 31
Type: Event Designer
RM Skill: Masterful

|
I finally went back and made the edits to this code that were necessary for it to be a functional complete script. Happy Hunting ^^ CODE #-------------------------------# # Blue Magic Script # #-------------------------------# # Written By: Prexus # # http://prexus.rmxponline.com # #-------------------------------# # Instructions: # # Read the comments and apply # # changes where needed. # #-------------------------------# class Game_Battler alias blm_game_battler_skill_effect skill_effect def skill_effect(user, skill) blm_game_battler_skill_effect(user, skill) if user.is_a?(Game_Enemy) and self.is_a?(Game_Actor) learn_chance = (rand(100) < 100) # X is the percentage chance (70, 20, etc.) Simply make x = 100 if you want it to work all the time. if learn_chance == true if self.class_id == 4 # Change this number with the class ID of your "Blue Mage" #if skill.id == x or skill.id == y # etc. etc. replace x and y with ids of skills the mage can learn, if any skills just get rid of the line and the end, keep putting 'or skill.id = ' to add more. self.learn_skill(skill.id, true) # Change true to false if you don't want a sound to play #end end end end end end class Game_Actor < Game_Battler def learn_skill(skill_id, play = false) if skill_id > 0 and not skill_learn?(skill_id) @skills.push(skill_id) @skills.sort! if play == true Audio.me_play("Audio/ME/011-Item02") # Sound file to play when learning in battle. end end end end
__________________________
|
|
|
|
|
|
|
|
 |
Posts in this topic
Prexus Submission: Blue Magic Oct 15 2005, 03:18 AM Rpgx What does Bluemagic do? It sounds cool!
Peace... Oct 31 2005, 05:06 PM Gamerman1322 Blue Magic is the ability to use magic that was le... Nov 28 2005, 07:20 PM Rpgx Oh yah! Oh ya! I remeber that. its great... Nov 29 2005, 04:58 PM Jako Drako Hey, this is my first script I'm posting here.... Jul 28 2006, 08:42 PM Jako Drako Okay, I fixed up some parts of the code, so it sho... Jul 31 2006, 11:24 AM jens009 QUOTE For advanced scripters: You can use the Wind... Jul 31 2006, 11:53 AM Jako Drako To do that you'll want to add the Window_Menu_... Jul 31 2006, 02:00 PM jens009 I understand it, dont worry.. its not really confu... Jul 31 2006, 05:20 PM UltimaDude Nice menu,The colour i dont really like it though.... Aug 15 2006, 06:34 AM Jako Drako The color depends on the window skin you pick, per... Aug 15 2006, 09:17 AM Bazoo I really like this CMS, it's pretty and it was... Aug 16 2006, 07:21 AM Bearrick where do i add this script? Jun 24 2007, 11:43 AM Synthesize NECRO POST! Next time check the dates before p... Jun 24 2007, 12:14 PM Synthesize Script Name: Maximum item Limits
Written by: Synth... Aug 15 2007, 02:00 PM Roderick The script is good but if you say make the potion... Aug 16 2007, 05:19 AM Synthesize Find the following line in Scene_Shop:
number == ... Aug 16 2007, 12:45 PM Roderick QUOTE (Synthesize @ Aug 16 2007, 12:45 PM... Aug 20 2007, 03:02 AM FlyingHamsta How would you change "number == 99" in S... Aug 16 2007, 04:33 PM Synthesize SynItemMax::Max_item
Change Max_item to Max_weapo... Aug 16 2007, 06:56 PM Roderick Were do i need to put it? Aug 21 2007, 10:59 PM Zeriab Script Page here: http://www.rpgrevolution.com/scr... Nov 12 2007, 06:07 AM deadlydan Hi guys, this is a little thing i added for custom... Jan 25 2008, 09:08 PM deadlydan Hey guys, by request, i changed the little snippet... Jan 31 2008, 08:20 PM jens009 Good job. ;-] Now it's user friendly.
Might I... Jan 31 2008, 08:23 PM deadlydan QUOTE (jens009 @ Jan 31 2008, 07:30 PM) G... Jan 31 2008, 08:25 PM turtleman Yeah, I didn't notice any =P.
By the way, is ... Jan 31 2008, 08:24 PM Magdreamer Wow! Nice Script, and amazing idea. Jan 31 2008, 10:33 PM Melkor Qc Great idea for a script, I always liked the sound ... Jan 31 2008, 11:39 PM Kuplex Another nice script, DeadlyDan. Feb 1 2008, 12:02 PM Nathan Can you turn on and off?
:/ Feb 1 2008, 12:08 PM X-Snake-X Great Script as always Dann^^ Feb 1 2008, 01:10 PM turtleman Thanks for updating timing in the sound for me. Se... Feb 1 2008, 01:57 PM Kuplex I was inspired by NathanDug's thread to make t... Feb 1 2008, 08:13 PM Magdreamer I made a new "Click" sound which fits pe... Feb 1 2008, 09:08 PM SeeYouAlways Share? Feb 1 2008, 10:46 PM Magdreamer Okay, its not that fancy, just sounds like words a... Feb 2 2008, 12:50 AM neclords Great!! Feb 2 2008, 07:03 PM user3k thanks Feb 2 2008, 07:49 PM neclords That's will solve our problem.
Thanks Feb 6 2008, 06:16 AM Nechi CODE#========================================
# Ed... Feb 3 2008, 03:30 AM woratana Nice Script~^^ Nechi
It should be good if you hav... Feb 3 2008, 03:34 AM neclords This Gonna be cool. Feb 4 2008, 12:51 AM Nechi Good Tutorial!!
I thinks it 's great f... Feb 6 2008, 06:38 AM elflyfreely Great!
But there's a little bug here:
CODE... Feb 11 2008, 09:39 PM woratana Random Title Screen
Version 1.0
by Woratana
Releas... Feb 7 2008, 09:41 PM neclords Yay...
this is cool... Feb 8 2008, 12:11 AM The Shadow Hey, nice script you got here^^. Altough, I rather... Feb 8 2008, 09:06 AM jasonicus That was quick. This will be nice to use if you w... Feb 8 2008, 09:33 AM jens009 Hey woratana, excellent script.
I have a few sugg... Feb 8 2008, 09:56 PM PMussulo hmmm...
seems like the Script collection is slowl... Feb 9 2008, 02:57 PM rojse I love the new script - I hate always seeing the e... Feb 12 2008, 11:04 PM dante_the_devil_hunter thanks for making this script me and my friends lo... Feb 14 2008, 07:59 PM ccoa MGCaladtogel's Mode7 Script
Features: flat m... Feb 15 2008, 10:25 AM KiteDXX Aside from the fact that you start the demo in the... Feb 15 2008, 12:02 PM ccoa Just press CTRL to move. -_- Feb 15 2008, 12:14 PM KiteDXX I tend to load the game.exe first, so I can't ... Feb 15 2008, 03:58 PM dmoose I tried this script in my game but I still have my... Feb 15 2008, 07:57 PM KiteDXX You don't have the priorities in the tileset c... Feb 15 2008, 08:12 PM dmoose QUOTE (KiteDXX @ Feb 15 2008, 07:19 PM) Y... Feb 16 2008, 01:23 AM Zeriab I just found out that this system works amazingly ... Feb 16 2008, 06:14 AM THEGUY Nicely done. Quite impressive actually to make aut... Feb 16 2008, 10:26 AM dmoose NVM, I got it to work, I forgot to set the Terrain... Feb 16 2008, 11:53 AM Xyster Very interesting. Hard to use in caves though...t... Feb 16 2008, 01:05 PM dmoose QUOTE (Xyster @ Feb 16 2008, 12:12 PM) Ve... Feb 16 2008, 01:50 PM Nechi Add this before Main Script:
CODE#===============... Feb 16 2008, 05:10 PM Nechi Add this before Main Script:
How to Use Show Fa... Feb 16 2008, 05:15 PM Dang_Khoa It only work when it is layer 3, and terrain tag i... Feb 17 2008, 06:18 AM Tamashii7 What does "Script is hanging" mean? Feb 17 2008, 01:00 PM Blaik How do i put things on the third layer, like a win... Feb 17 2008, 01:35 PM Tamashii7 Man, this is hard setting it all up so that peices... Feb 17 2008, 01:39 PM BBBBIC Is this the same one from RPGPalace?
Nevermind. ... Feb 17 2008, 07:02 PM lahandi Same like me, I've been looking for this kind ... Feb 18 2008, 03:46 AM Kuplex QUOTE (lahandi @ Feb 18 2008, 05:53 AM) S... Feb 18 2008, 10:04 AM Spatchez I am having some problems with this, I can't s... Feb 18 2008, 02:57 PM ccoa I don't understand your question. Do you mean... Feb 19 2008, 06:48 AM Spatchez QUOTE (ccoa @ Feb 19 2008, 05:55 AM) I do... Feb 19 2008, 09:19 AM Boonzeet This is much better then the RPGPalace Mode07.
It... Feb 19 2008, 07:59 AM ccoa *sigh*
You're not being very specific. What ... Feb 19 2008, 09:37 AM Spatchez QUOTE (ccoa @ Feb 19 2008, 08:44 AM) *sig... Feb 19 2008, 03:00 PM enix2 Wow, congrats, BTW, wasn't this made before(bu... Feb 19 2008, 01:00 PM ccoa Even though I posted his name three times, people ... Feb 19 2008, 01:32 PM Dang_Khoa You should change [#XX] into someting else.
Exampl... Feb 20 2008, 03:59 AM Spatchez QUOTE (Dang_Khoa @ Feb 20 2008, 03:06 AM)... Feb 20 2008, 07:12 AM ccoa I just tried exactly that in the demo and it worke... Feb 20 2008, 07:21 AM Spatchez QUOTE (ccoa @ Feb 20 2008, 06:28 AM) I ju... Feb 20 2008, 07:26 AM ccoa Take out the [X] and [Y] if you don't want tha... Feb 20 2008, 07:28 AM Spatchez QUOTE (ccoa @ Feb 20 2008, 06:35 AM) Take... Feb 20 2008, 07:33 AM ccoa Please read about what the tags do...
The [P] tag... Feb 20 2008, 07:36 AM Spatchez QUOTE (ccoa @ Feb 20 2008, 06:43 AM) Plea... Feb 20 2008, 08:16 AM enix2 QUOTE Even though I posted his name three times, p... Feb 20 2008, 10:20 AM GoogleGC NICE!! I remember trying to use the origin... Feb 21 2008, 12:15 AM THEGUY After playing with this script for a while, I disc... Feb 22 2008, 08:57 AM Chickasaurus Very good script, but it doesn't seem to work ... Feb 22 2008, 02:48 PM Boonzeet QUOTE (THEGUY @ Feb 22 2008, 04:04 PM) Af... Feb 23 2008, 12:32 PM THEGUY QUOTE (Boonzeet @ Feb 23 2008, 02:39 PM) ... Feb 23 2008, 04:51 PM Blaik ok, can someone PLEASE tell me how i can use the t... Feb 23 2008, 01:05 PM crowgamer *starts demo presses ctrl still cant move -_- Feb 24 2008, 08:06 PM Eiyu Here's my first script for download!
Basi... Feb 28 2008, 08:03 AM
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
RPG RPG Revolution is an Privacy
Policy and Legal
|
|
| |