How Can I play with the accuracy of a skill ?

Gregaur

Veteran
Veteran
Joined
Jan 3, 2017
Messages
134
Reaction score
20
First Language
french
Primarily Uses
RMMV
Hello guys !

I want to change the chance to touch for a skill (arrow raining) according to the number of monster on the battlefield.

Something like : Chance to touch = Chance to touch * Number of monster / 8

I am using all the main yanfly plugin if needed :).

Thank you very much and take care !
 

HumanNinjaToo

The Cheerful Pessimist
Veteran
Joined
Apr 18, 2013
Messages
1,226
Reaction score
603
First Language
English
Primarily Uses
RMMV
You could try using an if/then statement in troop window. Set a variable to the number of enemy battlers that are alive

$gameTroop.aliveMembers().length

then set the conditions of each variable. The issue is how to get the %chance to hit with the skill. You are using Yanfly Hit Accuracy? That one costs $ I think, but it's the only way I know of quickly to change a specific skills hit %. I don't have that particular plugin, so I cannot be sure, but I think it allows for lunatic code. So you would need to figure that part out for the conditional branches in the troop event.
 

Gregaur

Veteran
Veteran
Joined
Jan 3, 2017
Messages
134
Reaction score
20
First Language
french
Primarily Uses
RMMV
Hello !

I may be wrong but the yanfly plugin only apply to all skill. It can't be a modification for one skill...
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Been scratching away at my game and making progress, but just had a revelation. I'm working in full screen and adjusting all my pictures accordingly, but will they resize if someone's screen is smaller?? I hope this doesn't turn out to be a problem later.
Why is there so much month left at the end of money? D=
Hello humans! How goes your day in this journey of living? I hope it is good, for I am human like you, and I am feeling great! Worship the altar.

Forum statistics

Threads
105,625
Messages
1,015,060
Members
137,287
Latest member
AKPoliandro
Top