Healing items in battle

Ask and answer questions about making games and related topics. Unrelated topics go in that other forum.

Moderators: marionline, SDHawk

Post Reply
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Healing items in battle

Post by TabletopTimeTurner »

Hey guys i'm back after like a hundred years and the other day I was trying to implement some healing items into my game and I encountered this problem where, the item would work just fine in the overworld but in battle I could only use it on enemies. I don really know how to fix this.
User avatar
kylekrack
Liquid Metal Slime
Posts: 1188
Joined: Mon Jun 16, 2014 8:58 am
Location: USA
Contact:

Post by kylekrack »

Have you checked the target and aiming settings in the attacks editor? "Target Class" should be "Ally"

EDIT: Good to hear from you again :)
Last edited by kylekrack on Mon Nov 21, 2016 3:27 am, edited 1 time in total.
My pronouns are they/them
Ps. I love my wife
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Post by TabletopTimeTurner »

kylekrack wrote:Have you checked the target and aiming settings in the attacks editor? "Target Class" should be "Ally"

EDIT: Good to hear from you again :)
Aw yes I dont know why i didnt notice that

It's good to hear from you too pal, I really enjoy this forum there arent a ton of people but its very nice and theres a lot of familiar faces its good :D
User avatar
TabletopTimeTurner
Red Slime
Posts: 56
Joined: Fri Mar 25, 2016 1:33 am
Location: hell my dudes

Post by TabletopTimeTurner »

kylekrack wrote:Have you checked the target and aiming settings in the attacks editor? "Target Class" should be "Ally"

EDIT: Good to hear from you again :)
hey one last thing, when I use healing items sometimes it gets used twice and I don't really know where to look to solve this issue
User avatar
kylekrack
Liquid Metal Slime
Posts: 1188
Joined: Mon Jun 16, 2014 8:58 am
Location: USA
Contact:

Post by kylekrack »

Do the heroes using the healing items have a "Hits" stat greater than 0? It might be triggering twice because of that. In that case (and in general for healing attacks) you should go to "Damage Settings" for the attack, then "Damage bitsets" and set the "Ignore attacker's extra hits" bitset to true.

If that's not the case, I'm not sure. Try looking through other bitsets, chaining, and target settings to try and troubleshoot.
My pronouns are they/them
Ps. I love my wife
Post Reply