happy2pester

Warper
Member
Joined
Jul 11, 2021
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV
I'm working on a section of a game, and I have a character who for plot reasons, needs to be in the battle scene. For other plot reasons, I want to prevent the enemy from targeting this character, without that character being knocked out.

I've poked around a bit, and can't see a way of achieving this. Any ideas?
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,048
Reaction score
2,360
First Language
EN
Primarily Uses
RMMZ
You could use the Sp-param Target Rate (a.k.a. "TGR") to prevent enemies from selecting them as a target. This has its limits:
  • If there are no valid targets with > 0% TGR, then TGR is basically ignored.
  • Skills that target an entire unit will hit everyone regardless of TGR.

You can make the character immune to all damage types, i.e. add an Element Rate: 0% trait for each element. There are also Physical Rate and Magical Rate traits to reduce incoming damage from items/skills with those Hit Types if necessary. Notes:
  • It is possible to set skills to "None" element or "Certain Hit" type, bypassing these traits.
  • By default, element 1 is used for unarmed actor attacks.

I think these together should cover most cases? If you want more then I think you'd need a plugin, maybe something like YEP Selection Control (not free):
 

happy2pester

Warper
Member
Joined
Jul 11, 2021
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV
Thank you! the Target Rate is exactly what I was looking for, and as i'm only modifying one character's target rate, there will be no issues with the "no valid targets" case you mentioned, and i'm not including any entire unit skills. Thank you :)
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
3,048
Reaction score
2,360
First Language
EN
Primarily Uses
RMMZ
Great, happy RPG Making~ :kaojoy:
 

Latest Threads

Latest Posts

Latest Profile Posts

I have been enjoying a game on my iPhone, called Wonderbox. It is just a little game where you create adventures, share them, whilst also being able to play others. It's a bit zelda-esque. I have started some youtube for those, gonna start with RPG maker things soon as well. So if you wish to see, do check it out :)
SF_People3_3 added!
index.php

ScreenShot_1_3_2022_1_32_12.png
I feel QSprite for MV is underrated. I basically am able to use my chibi sideview battlers I drew on the maps and have all the motions available. this'll help a lot with cutscenes.
I've figured out how to reasonably tall-ify chibi sprites on my editor. I like that making tall sprites gives me control on expressing how tall characters seem on the field relative to each other as well as better differentiate adult sprites from child sprites.
doing some wacky experimental stuff in MV right now :kaoluv: I cannot wait to drop what I've been working on

Forum statistics

Threads
118,562
Messages
1,116,959
Members
155,605
Latest member
KoromoAmae
Top