multi-hit attack questions

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
1,923
Reaction score
535
First Language
English
Primarily Uses
N/A
two questions:

1. how do you program an attack to hit 1 to 6 times

2. is there a dice rolling animation anywhere?
 

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
1) If ur using Ace, there's an option for that on the skills tab


2) IDK
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to VX Ace Support. Please be sure to post your threads in the correct forum next time. Thank you.


Please ask separate questions in separate threads. Your dice rolling animation request should go into Resource Requests.
 
Last edited by a moderator:

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
Ah so it's between 1 to 6? then you'd probably need to script that.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
You could adjust the skill's hit rate to something like 50% to make it hit between 0 and 6 times, although the number of hits would center around 3 (rather than an even distribution between 0 and 6) and you couldn't necessarily tie it to the dice roll animation.

What you could do, though, is have the formula pick a random number between 1 and 6 and store it for use in a Common Event which shows the dice roll.  Here, it only hits once, but the skill's damage is correctly multiplied by the dice roll.

Example formula: $game_variables[25] = rand(6) + 1; (v[n] * a.mat * 2) - (b.mdf * 2)

Example common event to be tied to that skill:

Conditional Branch: Variable 25 is equal to 1

Show Battle Animation: "Dice Roll Result 1"

End

Conditional Branch: Variable 25 is equal to 2

Show Battle Animation: "Dice Roll Result 2"

End

(etc. up to 6)

For anything that's smoother graphically, you'd probably have to script it from scratch or use some kind of graphical aid script like the Luna Engine.
 

Oddball

Veteran
Veteran
Joined
Sep 4, 2014
Messages
1,923
Reaction score
535
First Language
English
Primarily Uses
N/A

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

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top