Battle Engine Symphony - Add State Chance?

Joined
Apr 28, 2013
Messages
16
Reaction score
0
First Language
Portuguese
Primarily Uses
I have a question, I've tried many things but none seems to work: using symphony, when we want a skill to inflict a state, it only works with tags? 
I tried to make a skill inflict states the default way and it doesn't work, only works with tags. however with tags it seems not possible to make the state only be inflicted with , let's say, 25% chance.

Can anyone help me? 

 
 

Alexander Amnell

Jaded Optimist
Veteran
Joined
Mar 17, 2012
Messages
3,404
Reaction score
1,733
First Language
English
Primarily Uses
N/A
What other scripts are you using? I use symphony and have no problems adding states through the default method.
 
Joined
Apr 28, 2013
Messages
16
Reaction score
0
First Language
Portuguese
Primarily Uses
I tried in the Symphony demo, only with yanfly battle engine and it doesn't work. Through tags works fine, but it's not posible to define the chance.
however common events, buffs and that stuff works fine the default way, states are the only thing that don't work

edit: I forgot to say. The states work fine if I don't use any tags in the skill. it's when I use some tags (tom make the char jump and stuff) that the states are not applied
 
Last edited by a moderator:

TroyZ

The Slayer
Veteran
Joined
Jun 18, 2013
Messages
74
Reaction score
5
First Language
Indonesian
Primarily Uses
RMVXA
another solution, what about if you put the state inflicted chance at the formula box. for example, you type this in your skill's formula :

c=rand(2);b.add_state(2) if c==1;a.atk * 4 - b.def * 2in this example, the random chance is set between 0 and 1 (so if between two numbers, means that the chance is 50%). the state number 2 (poison) will be added into battler ONLY when the chance is number 1 (still it's 50% chance to get number 0 on variable c and 50% chance to get number 1 on variable c). and then execute the damage. in your example is 25% chance, so this might work :

c=rand(4);b.add_state(2) if c==2;a.atk * 4 - b.def * 2just try it. i just use the formula box to manipulate the chance :D
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
you can make it shorter I believe


b.add_state(2) if rand(4)==2;a.atk * 4 - b.def * 2


though I'm curious as to why the normal method doesn't when when he's using any tag in his skills


@OP - btw, it's customary to put a link to the script that ur using...
 
Last edited by a moderator:

TroyZ

The Slayer
Veteran
Joined
Jun 18, 2013
Messages
74
Reaction score
5
First Language
Indonesian
Primarily Uses
RMVXA
you can make it shorter I believe

b.add_state(2) if rand(4)==2;a.atk * 4 - b.def * 2
hehehe, the formula look more shorter than mine :D

@OP - btw, it's customary to put a link to the script that ur using...
he's using the battle symphony. i'm curious if there is any scripts he has used that conflicted with symphony, hmm :unsure:
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
I know he's using battle symphony... what I said was that it was customary for OPs to put a link to the script so that people can help him faster since they won't have to search for it...
 

kerbonklin

Hiatus King
Veteran
Joined
Jan 6, 2013
Messages
1,726
Reaction score
275
First Language
English
Primarily Uses
RMMV
Are you not using "skill effect: whole" or "skill effect: effect" in your tags?  Using whole will apply the calculations, damage, and skill effects. Using effect will only apply the skill's effect (no damage or hit/miss calc). If you're just using dmg or calc then the state won't work.
 
Last edited by a moderator:
Joined
Apr 28, 2013
Messages
16
Reaction score
0
First Language
Portuguese
Primarily Uses
adiktuzmiko and TroyZ:
 

sorry, I forgot to put the script >< 

but, yeah, looks like it works perfectly fine using the dmg formula to apply the states.

kerbonklin:
YES! it looks like it was that. I was using the default example skills yami made in her demo, but every single one used "skill effect: dmg". I tried with skill "effect:whole" and worked :p  

In the end, applying the skill with the dmg formula works fine with any skill effect. The default way of applying states works with this "skill effect:whole".
I read the manual but some tags were a little confusing (now that I read them again, I see they are not that confusing).

Anyway, thanks everyone, the problem is solved, the thread can be closed :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top