Help with skill that reduces HP to 1

Beminfire

Shibe
Member
Joined
Jan 14, 2014
Messages
19
Reaction score
0
First Language
English
Primarily Uses
^ The title

I tried b.hp - (b.hp - 1) as my Damage but it's not working. Instead the attack literally just does 1 damage. What am I doing wrong? If it makes any difference the enemy is using the skill my characters had attack and magic attack buffs on them. Thanks in advance.
 

Rhaeami

The Sleepy-Eyed One
Veteran
Joined
Jun 2, 2014
Messages
252
Reaction score
179
First Language
English
Primarily Uses
RMVXA
I might be missing something here - it seems too simple - but what about simply "b.hp - 1" with nothing else? Also, set variance to 0%, definitely. :kaoswt2:
 

Arithmetician

Veteran
Veteran
Joined
Jul 11, 2016
Messages
416
Reaction score
651
First Language
English
Primarily Uses
@Rhaeami Guard status will still reduce the damage by half though if you do it that way.

I'd try something like: b.setHp(1)
 

Beminfire

Shibe
Member
Joined
Jan 14, 2014
Messages
19
Reaction score
0
First Language
English
Primarily Uses
I might be missing something here - it seems too simple - but what about simply "b.hp - 1" with nothing else? Also, set variance to 0%, definitely. :kaoswt2:
I'll do both
Results: I set variance to 0, and all "b.hp - 1" was make it so the attack was extra strong, I'm not sure (The target had ~1200 hp and it dealt ~600) and the enemy I was using to test the skill had only 10 attack.
 

Beminfire

Shibe
Member
Joined
Jan 14, 2014
Messages
19
Reaction score
0
First Language
English
Primarily Uses
@Rhaeami Guard status will still reduce the damage by half though if you do it that way.

I'd try something like: b.setHp(1)
OH okay so what I had by my last comment meant that it could have worked if I hadn't guarded so I'll try again without doing that.
Results: "b.hp - 1" worked and successfully reduced their hp to 1. Thanks Rhaeami and Arithmetician for helping.
 

Arithmetician

Veteran
Veteran
Joined
Jul 11, 2016
Messages
416
Reaction score
651
First Language
English
Primarily Uses
@Beminfire You're welcome.

And now, while I'm not a mod, I'll make two points so they don't have to and since you're new.

1. Double-posting is against the rules. Edit your older posts to add new material if no one else has posted since your last post.

2. Including the entirety of someone else's post in quotes is against the rules. It makes the pages take longer to load than necessary.

Again, you probably didn't know those rules. Just try to observe them going forward.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

The second draft of my script is almost done, and I don't think I'm going to write a third draft. I'll make changes to dialogue here and there, but I'm happy with the series of events the way they are.
How you feel about font and dialogue box changing for every main character while the minor cast and regular npc get their own styles? Too much?
Just found an obviously custom effect (i.e. edited by me) in my resources>sounds folder called "rip jaw off". Dear Lord what is wrong with me as a person that at some point I needed a sound *specifically* for THAT??
(...rhetorical question.)
so like with the whole 'familiarity breeds contempt thingy', how are you supposed to tell if your title screen/battle music gets really tedious after a few dozen plays or if you're just personally hella sick of it?

Forum statistics

Threads
107,524
Messages
1,030,243
Members
139,649
Latest member
Heis
Top