SHAOLIN_MONK'S PROFILE

Search

Filter

[RMVX ACE] Remove an icon

I use Yanfly's learn skill engine and want to know how I can remove the icon from the game.

Yanfly's learn skill engine
https://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/learn-skill-engine/

[RMVX ACE] Randomize TRG

author=kory_toombs
Do you want the spell to regenerate TP instantly or by a certain amount of turns. Like over the next 3 turns each player regains some TP.

I wanted to make a spell which regenerate TP next few turns.
karins gave me a perfect answer but I appreciate your help too!
author=karins_soulkeeper
It's possible!
Assuming that the said spell will inflict a specific state (that applies the random TRG), this will do the job:
class Game_Battler < Game_BattlerBase
def regenerate_tp
state_id = 1 # The ID of the state to be used
min = 0 # The minimum amount of TP to be restored
max = 100 # The maximum amount of TP to be restored
self.tp += self.state?(state_id) ? (min + rand(max)) : 100 * trg
end
end

karins,you perfectly solved the problem.
Thank you for your help!

[RMVX ACE] Randomize TRG

Is it possible to randomize TRG(TP Regeneration Rate)?
I want to make a spell to regenerate random number of TP per turn.

[RMVX ACE] Simple Battle Rows

I tried your method with a new project and everything worked fine.
My current project has too many scripts and I should remove some of them.
Anyway,My major problem was solved.
Thank you for helping me many times :)

[RMVX ACE] (Script request) Skill system like Romancing Saga

I'm looking for a script which makes actors randomly learn skills during battles like Romancing Saga.
Please tell me if you know a good one.

[RMVX ACE] Simple Battle Rows

Thank you for your advices.
The error didn't occur when I tried the script karins made.
It weakened enemies in a back row but weakened enemies in a front row too...
I think all the problems should be solved if I correctly take your advices.
Do you know why the enemies in the front row were weakened?

[RMVX ACE] Simple Battle Rows

Thank you for your answer.
I simply removed the lines you mentioned and an error occurred when an enemy attacked.

The line 112 NoMethodError
undefined method `penalty_damage?'for
#<Game_Enemy:0X8866bec>

Do you know why the error occurred?

[RMVX ACE] Simple Battle Rows

I divide enemies into two groups with a script.
Some enemies are in front rows and the rest of enemies are in back rows.
The script basically works pretty well but the enemies in the back rows always deal the same damage as the enemies in the front rows do.
I want to know how I can weaken ATK of the enemies in the back rows.

Mr Trivel's Simple Battle Rows http://pastebin.com/MHG0HuZL

[RMVX ACE] How can I randomize?

I'm satisfied that I successfully randomize the system.
Thank you for your advices!

[RMVX ACE] How can I randomize?

The problem is solved by Deltree's solution.
Thank you for your answers!
You seem to have a lot of knowledge about scripts and I want to ask a question.
There's no visual clue if an enemy is in a front row or in a back row.
So I want to put icons to enemies in a front row.
I asked the creator of the script about this and he answered

Each battler (enemy and ally) has battle_row variable, which hold it's row. 0 is Front and 1 is back.
So something like this would check if first member of the party is in front row

if $game_party.members.battle_row == 0
# 1st member is in front. Do stuff
end

I still don't know how to put icons to enemies in a front row...
Please tell if you know how to add visual clues to enemies in a front row.