Trickster's Bag Of Skill Effects V6.0

Trickster's Bag Of Skill Effects
Version: 5.0


Introduction

This is a collection of many skill effects I wrote. You can combine skill effects together like a skill that damage increases when your hp is low and the damage dealt is absorb, or a skill that damage increases when it is used many times and deals twice as much damage when the target is poisoned, and etc. You can use to tag the skills to an element (the element rate for the skill effect is used as a multiplier so you can choose to disable the effect for certain enemies) or you can have it defined within the script (so your elements table will not be cluttered up) You can choose to use a few or all of the skill effects and you can change the order the effects are ran.

Screenshots

Look at the RMXP script editor, there is your screenshot.

Demo

http://www.rmxp.org/forums/downloads.php?do=file&id=835

Script

Families who needs them...

Instructions

Make sure you copy The Required portions of the script Skill Effects Base (Req) and Skill Effects End (Req) In between those scripts you can either place the skill effects as one script or individually Like I have in the demo the order of the skill effects is important as that is how the effects will run. Each skill effect has its own little setup refer to that for more information, if you are having trouble then reply

FAQ


Compatibility

SDK 2.x compliant
Requires MACL V1.5 or higher

Credits and Thanks

RavenTDA for testing an earlier version
The people who gave me ideas for effects

Author's Notes

Updated Magnitude and Skills Used from my post a few days ago

Pending Requests

none at this time you may request effects in this topic (if you requested one at an earlier date I have it in my list already I will update this soon)
This seems quite good, and I have a request. An effect that when you get knocked out, one of your opponents (random) loses about 15% of their HP.

I'd like to use it , so when you kill an enemy, especially the undead ones, you get damaged. Sorta like recoil

BP
You mean like those attacks in Pokemon (Double-Edge, Take Down) that damages the user when it hits, if so then I will add it to my list.
That would be good too.
But I meant (if we go to Pokemon) something like Sharpedo's rough skin. It deals damage to the enemy when it Dies/faints whatever. I want this so when the player kills the zombie enemy, you receive damage when it faints
This is a lot better. It's a lot more customizable. I haven't found an error yet so far. Each type of skill has an individual script which i think increases compatiblity and it's easier to set up.
[QUOTE=blueparukia;190943]That would be good too.
But I meant (if we go to Pokemon) something like Sharpedo's rough skin. It deals damage to the enemy when it Dies/faints whatever. I want this so when the player kills the zombie enemy, you receive damage when it faints[/QUOTE]

Well that is more of an battler effect than a skill effect, but I'll see what I can do

[QUOTE=RMdude333;190957]This is a lot better. It's a lot more customizable. I haven't found an error yet so far. Each type of skill has an individual script which i think increases compatiblity and it's easier to set up.[/QUOTE]

Well I did make some changes to a few of them, and cleaning up each of their code, yes it is easier to setup you don't have to create 50 million elements to use them or just define them in their individual hashes

Just a note this script just be place a bit higher in your skill list, below SDK and MACL, since the big modified method is skill_effect, I may create a demo with an example for each one but that may not be for awhile
just do what you can do. I'll implement this soon,
My virus scan is running and it prevents me from downloading things while itss on. I've got the demo somewhere though
I'm an idiot lol, if you saw what I posted before sorry :(

Great scripts, I love em ^_^
Hey Trickster,you can make a skill effect like Rippler in Final Fantasy III/VI?

It's effect changes the user's status with some enemy,so if you are poisoned and your opponent has a good status,you can change it,or if he has no status he will become poisoned and you will be normal.

i would be appreciated with this effect.^^'
@Ameritania - Thanks

[QUOTE=O_O;191298]Hey Trickster,you can make a skill effect like Rippler in Final Fantasy III/VI?

It's effect changes the user's status with some enemy,so if you are poisoned and your opponent has a good status,you can change it,or if he has no status he will become poisoned and you will be normal.

i would be appreciated with this effect.^^'[/QUOTE]

Added
New Skill Idea: The Jump Skill!
Just in case you do not know. You Heros Uses Jump, which takes it out of combat for 1 turn. When the next turn comes he Lands on the enemy. TADA!

Not sure if it is a skill effect, but u said post it so here it is :D
ok added to the list

Demo updated

Fixes the no damage problem, thanks Neonyo
omg i've been waiting for update :D thanks alot!!!

oh btw how inversion works? i cant seem to make it work properly, it does less damage then other attack
when enemy has more Pdef
Okay it seems a bit easier to set up now. But I have questions since there isn't examples all over the place. I was taking a look at the Desperation skill effect and so to implimate it I get that you have to set up the skill ID for it but what's the second number exactly? It says power does that mean the least power possible? There's this next to it too:
# - formula power * maxhp / hp
Is that the formula for the power or something else? Could you explain that to me a bit more I"m gettin confused. ^^; Also I was wondering if you enter in a negative number would it work lets say for healing spells or would you have to write another code for that?

Gravatiy is confusing me too. Would you write it out twice?
Quote:
# * Gravity
# - syntax skill_id => power
Gravity = {}
Max_Gravity = {}

You have that there... but there's like two spots. What would I do and what does the power mean? How is there a max to it if it's supposed to take more of a percent right? :\

Quote:
# * Pain_Split
# - syntax skill_id => nil

Here this means I write out nil right? Don't leave it blank?

Quote:
# * Gold Carrying
# - syntax skill_id => [random, multiplier1, multiplier2]
# - gold * multiplier2 / (99 * multiplier1) + random

I can't even begin to understand that one. ^^;

What does weapon increaser do exactly? It says adds weapon attack to the damage but I don't quite get what you mean. Further explination and example?

Quote:
# * Random Item
# - syntax skill_id => min..max or [item ids]

That 'or' in there is throwing me off. And how would I write that out if there's a min max. Actually add in those dots?

Quote:
# * Yoshi Cookie
# - syntax skill_id => chance

Hmm chance? Like would this be a ratio like 2 turns outta every 3 or like a percent and how would I write that in there?

Quote:
# * Smelling Salt
# - syntax skill_id => [status_id, power_gain, power_lost]

What's power lost? The explination says that if the state isn't there then it inflicts 0. So what's up with that?

Quote:
# * Magnitude
# - syntax skill_id => {num => powermod, ...}
# - note num is any integer from 1 to 20

First of all what does magnitude do exactly? The skill's power is like boosted by the random numbers? So like I don't understand your default example... yeah I can't make heads or tails of this again. ^^;

I'm sorry Trickster for the mass of questions. I just don't quite get your notes in the script too well. Not detailed enough for me since I have to be hammered on the head with explination in order to get something. I'm sorry and super thanks for your help. :#
Ok, Ok Raven I get it I will start work on a demo tonight :p
No no Tickster I really want to get it. I mean if you explain it to me I can like customize it. If you just provide examples then like I can just work it but not actually understand it. :\ I wanna try to get this scripting business! :(
Here is the comment format
  #--------------------------------------------------------------------------
  # * Name
  #   - syntax some script expression here
  #   - formula the formula of how the effect is done
  #--------------------------------------------------------------------------
Expand to see the code.


you get the Name of the Effect
the syntax - this is what you will enter in the hash, the {}. It tells the parameters required
the formula - this is the formula that is used for the effect

so if I say for the syntax skill_id => power what I mean is the skill_id you will be using and the power. I'll explain more below

[QUOTE=Raven The Dark Angel;194094]I was taking a look at the Desperation skill effect and so to implimate it I get that you have to set up the skill ID for it but what's the second number exactly? It says power does that mean the least power possible? There's this next to it too:
# - formula power * maxhp / hp
Is that the formula for the power or something else? Could you explain that to me a bit more I"m gettin confused. ^^; Also I was wondering if you enter in a negative number would it work lets say for healing spells or would you have to write another code for that?[/QUOTE]

power is just a multiplier value used indicated by the formula say for instance a player had 1 / 10 hp (hp = 1 maxhp = 10) the power set by the effects is by default 50 so with this the damage done is 500

50 * 10 / 1 = 500

the more power the higher the damage

[QUOTE=Raven The Dark Angel;194094]
Gravatiy is confusing me too. Would you write it out twice?

You have that there... but there's like two spots. What would I do and what does the power mean? How is there a max to it if it's supposed to take more of a percent right? :\
[/quote]

I combined two similiar skill effects Gravity deals damage from the current hp while Gravity_Max deals damage from the maxhp (therefore unless maxhp changes it will deal the same amount of damage each time it is used)

power is the percentage (changed to read percentage) oh hp to deal as damage

[QUOTE=Raven The Dark Angel;194094]
Here this means I write out nil right? Don't leave it blank?
[/quote]

If you ever see skill_id => nil that means there are no parameters, and you may put anything for there the key just needs to be included (or if you are using element tagging you don't have to)

[QUOTE=Raven The Dark Angel;194094]
I can't even begin to understand that one. ^^;
[/quote]

read the formula :p

[QUOTE=Raven The Dark Angel;194094]
What does weapon increaser do exactly? It says adds weapon attack to the damage but I don't quite get what you mean. Further explination and example?
[/quote]

Adds the Weapon atk stat to the damage

[QUOTE=Raven The Dark Angel;194094]
That 'or' in there is throwing me off. And how would I write that out if there's a min max. Actually add in those dots?
[/quote]

ok you can choose one or the other I did it this way because maybe you want to do all items 1-80 If I left it at the second then you will be doing alot of typing, the second is a bit more free as you can set it to like [1, 5, 6, 3 , 7, 9] and not have to have them set up so you could use a range or either

skill_id => 60..70
or
skill_id => [10, 3, 8, 15]

would be correct

[QUOTE=Raven The Dark Angel;194094]
Hmm chance? Like would this be a ratio like 2 turns outta every 3 or like a percent and how would I write that in there?
[/quote]

If I say chance I mean a value from 0-100, since it will be done out of 100

so if you enter 30 that means a 30% chance of something to happen

[QUOTE=Raven The Dark Angel;194094]
What's power lost? The explination says that if the state isn't there then it inflicts 0. So what's up with that?
[/quote]

power_lost is the multiplier added when the state is not inflicted

[QUOTE=Raven The Dark Angel;194094]
First of all what does magnitude do exactly? The skill's power is like boosted by the random numbers? So like I don't understand your default example... yeah I can't make heads or tails of this again. ^^;
[/quote]

It replicates the magnitude skill from the pokemon games, A random value out of 20 is chosen and then the skill is multipled by that number.



Also on another note
  #--------------------------------------------------------------------------
  # * Default (Name) Effect
  #--------------------------------------------------------------------------
  (Name).default = (some value)
Expand to see the code.


That is the default value which is a small example (the values for this came from the older version) I just didn't define any skills to use that value
Okay I think I'm getting better now. The Gold formula was too much for me... too much math = my brain turning to mush. So I'll just skip trying to understand that one. But I'm getting all the rest now. Thanks :) I'm starting to see how helpful and interesting this script really is now.

Oh and can you have more than one effect added to a skill? Or you really don't know the compatiablity between all of them? And do any of these can/can't work for enemy skills?

Thanks again for putting up with my script-stupidity, Trickster. :#

EDIT:
Quote:
power is the percentage (changed to read percentage) oh hp to deal as damage

Actually Trickster I was playing with the Gravity skill and you dont have to have it do just damage. It can heal as well. All you have to do is set it up like it's going to do damage in the script but in the database have the power -1. And bam you got healing percents. :)
New ideas!

Life Link(not sure what to call it) When you Link a Player to an Enemy, if the hero died so does the enemy it is linked to.

Life Tap- Use the enemys Hp as your own for x turns or till death.'

Mana Tap- Same as above just for mana

2xAttack/Skills- able to choose 2 commands/spell per turn.

Blow Away skill- Player is blow away for remainder of battle.

Regen/Reflect/shield- Just like ccoas script.

Throw- Real one, able to choose what item/weapon u wanna throw.




Just ideas i thought up this weekend. Hope ya staying out of trouble!
[QUOTE=Raven The Dark Angel;194144]
EDIT:

Actually Trickster I was playing with the Gravity skill and you dont have to have it do just damage. It can heal as well. All you have to do is set it up like it's going to do damage in the script but in the database have the power -1. And bam you got healing percents. :)[/QUOTE]

Yeah alot of them are like that, you just have to know how it works to be sure that you can do something like that :p

[QUOTE=Neonyo;195587]New ideas!

Life Link(not sure what to call it) When you Link a Player to an Enemy, if the hero died so does the enemy it is linked to.

Life Tap- Use the enemys Hp as your own for x turns or till death.'

Mana Tap- Same as above just for mana

2xAttack/Skills- able to choose 2 commands/spell per turn.

Blow Away skill- Player is blow away for remainder of battle.

Regen/Reflect/shield- Just like ccoas script.

Throw- Real one, able to choose what item/weapon u wanna throw.
[/QUOTE]

Life Tap and Mana Tap are good

2x Attack/Skills - not really a skill effect and also It is included in my bag of battle commands

Blow Away - used to be included in this set but I removed it since it caused many problems

regen and shield are already included (remember passive effects is a part of it but it budded off as its own script)

throw would be a bit tough for a skill effect



Improved the demo fixed up a few skill effects, you don't have to recopy the WHOLE demo just match up the version numbers and date the stuff in bold

SDK.log('Skill Effects Base', 'Trickster', [B]5.02[/B], [B]'4.22.07'[/B])
Expand to see the code.


Have fun with the demo

(finally Raven just might get off my back :p)
Quote:
Have fun with the demo
(finally Raven just might get off my back )

;-; I'm sorry!

But I did find an error for you:

When the enemy or player uses "Present from the shadows" they don't do the down animation and dissapeare. They just stay on screen when their HP=0.
Ok Demo updated and it fixes that one little bug thanks Raven
EDIT:
Oh, I'm using the SDK now. This is awesome thanks!
Demo updated to Version 5.1

Updates MACL
Fixes a bug with any scripts using elemental tagging
Hey trick,
Does this scrip works with your Multi Attack script? It doesnt seem to work properly..
It doesnt show damage and the Multi Attack doesnt work anymore when I added the script.
Is there a way to make it work?
Did you try switching the order?
Thanks, I was using DerVVulfman's Grouping & Details, and I was wondering why I couldn't use more than 8 divisions! (I have 10 elements! :o) Thanks for the new update!
:D
Today's your lucky day 7/7/7

Demo updated to Version 6.0
Adds more skill effects as promised see demo for what's new
Thanks goes to the people who gave me ideas ;)
Sorry to spoil the fun, but I got a bug in the demo.
I used autolife on the lancer, then I had him use the ultimate skill (kamikaze?)
He didn't get revived afterwards, but that's not the point. I think he didn't have to.
After that, I started a new battle. I used Phoenix Revive with Arshes. The lancer SEEMED to be ok with full hp/sp, but he still had status: [knockout]
He could be targeted by the enemies normally, but he couldn't act. When I assigned the commands for hero 1 (arshes) the command list for hero 2 didnt even show up.

---> HATE ME <---

BTW, gooood job!
Uhhh why would I hate you O_o there aren't many people on my "list" right now don't worry about it, If anything I like you more for that :p

The bug was caused by me using the wrong method to remove the states to the point where it wasn't really removed

for the second bug the code only ran through the battlers targeted so if they weren't targeted when they died then the autolife effect will not be executed for them

Demo has been updated (don't ask for the script or you will be placed on the above "list")

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