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

Latest Threads

Latest Posts

Latest Profile Posts

Micro rant. The worst part of working from home when you live with your family is seeing how inconsiderate they are. "Hey, you're sitting in front of your computer, that means you're not doing anything! I want to put the TV at 200 decibels!"

If I was working in the office would you still talking me like that?
It's definitely discouraging when streamers give a try-to-say-it-nicely (i.e. bad) review of your game demo. It's like jumping into a cold pool. Bad initally, but it gets better with time. And you are now more alert and see better.
Some screenshots of the pub and lodging with the beginnings of clutter taking shape
TTp8uCw.png

jtC202e.png

bSXgyVl.png

eRx9PUF.png
Backgrounds are not my strong suit... :kaodes:
DazI8jt.jpg

Just realized I forgot doing the clouds... woops
Went to get some stuff for February 10, the birthday of my favorite ink monster...
I have a little one-person party for Bendy every year, complete with the life-size plushie I made. And yes, I bake a birthday cake!

Forum statistics

Threads
118,499
Messages
1,116,417
Members
155,495
Latest member
sarberten
Top