Kalglo

Warper
Member
Joined
Jan 16, 2021
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMVXA
Hi all,
So I've had RPGMaker VX Ace for years, but haven't used it until this week.
I've gone through a basic tutrial series (Venthros youtube channel) and think I grasp some of the basics okay, enough to have been able to do everything I've wanted in creating a game intro. (I am mainly using this game for learning, it's not my dream project, but is also something I might want to expand if able).

However, I am wanting to create some combat mechanics similar to a ttrpg system I designed, and I have zero experience with scripting or formulae (although I have managed to use Hime's Drop Item Sets script and notetag for a quest already).
The main thing I want to be able to do is introduce a mechanic that judges the effectiveness of a hit according to a sum.
Essentially when a skill is run by an Actor:
c=(a.atk + rand(20) + a.level + V[61*])-(b.def + rand(20))
if
c>=5, attack hits and calls Common Event 1 [adds 1 to variable 61]
0>c>5 attack hits
c=0 attacks hits but reduced damage
0>c>-5 attack misses
c<= -5 attack misses and calls Common Event 2 [reduces variable 61 by 1].

I currently have Yanfly's formula effects script added so I can do this in the notetags, but have been unable to create the formula to do this.
Ideally I'd also like to add a mechanic where if V[61]>0, the Actor has a second turn (and an enemy that's targeting an Actor when V[61]<0 attacks again).

Can anyone help or recommend scripts (and explain so I can learn as I go)?
Many thanks :)
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
41,863
Reaction score
14,514
First Language
English
Primarily Uses
RMMV

I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

 

Latest Threads

Latest Profile Posts

I am adamant about not having missable quests, which means having to write entirely new scenes at each plot progression that takes into account that time and events have passed since the quest could first be accepted while still having there be a quest to solve in the first place. It's worth every second.
Surprisingly useful and thought provoking
Working on animation. Trying to see if I can apply it meaningfully to my games!
ddwk.png

working on the sprite for Devali <3
My Game Development Livestream

Forum statistics

Threads
110,375
Messages
1,052,783
Members
143,418
Latest member
Kmeep
Top