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,064
Reaction score
2,376
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,064
Reaction score
2,376
First Language
EN
Primarily Uses
RMMZ
Great, happy RPG Making~ :kaojoy:
 

Latest Threads

Latest Profile Posts

Have you ever had the problem of not knowing how to name your game?
I tried to draw it to keep the aspect ratio of 48*48
It doesn't look good, but I'm not sure if there are other ways to render larger characters. and then maintain the sharpness or not
SF_Enemy1_6 added!
index.php

Just thought I'd share how my battlers are looking for my 4 main characters. From left to right... Ashlyn the brave fighter, Lizzabelle the peaceful mage, Suki the thief, Saedra the not-so-peaceful mage.

pLZHVLI.png
Power to the Game Make!

Forum statistics

Threads
118,781
Messages
1,118,659
Members
155,950
Latest member
Sorcuris
Top