Homunculus uses draw wounds recklessly

Found a bug? Great! Post about it here!

Homunculus uses draw wounds recklessly

Postby 2tousent » Sun Nov 11, 2018 4:55 pm

So i just finish a fight in which both me and my Homunculus get hurt,

After the fight i summon him and start resting, and he uses draw wounds to heal me and and nearly kills himself, if not for the new preservation mechanic.

Is he suposed to do that while not in battle? I was in no danger at all and now hims max HP got drained for no reason
2tousent
 
Posts: 34
Joined: Fri Jul 14, 2017 10:22 am

Re: Homunculus uses draw wounds recklessly

Postby Ferret » Sun Nov 11, 2018 9:24 pm

::blink:: How strange. No, AIs definitely shouldn't be killing themselves using Draw Wounds, DP or not. I'll look into it. Thanks for the report!
User avatar
Ferret
 
Posts: 1786
Joined: Tue Sep 16, 2014 3:18 pm

Re: Homunculus uses draw wounds recklessly

Postby Ferret » Sun Nov 11, 2018 9:29 pm

I haven't had much luck reproducing this issue so far. Do you remember any other relevant information? (i.e.: Had you taught Homunculus any new abilities, were there any status effects present on either of you, were its MaxHP already reduced or were yours, etc.)
User avatar
Ferret
 
Posts: 1786
Joined: Tue Sep 16, 2014 3:18 pm

Re: Homunculus uses draw wounds recklessly

Postby 2tousent » Sun Nov 11, 2018 9:52 pm

Code: Select all
Demon Party Dump File
Version 11/9/2018, Scoring Model: 11/9/2018
Dump file created at: 11/11/2018 4:53:00 PM


Summoner tousent...
was chosen by the Orb of Power,
selected Ice and NA as their starting elements,
has earned a score of 70,
is currently at Tower:1,
and is still alive!



--==== Main Character ====--

Name : Tousent
Level: 2
MaxHP: 38
MaxSP: 100

Strength: 10
Magic   : 15
Vitality: 10
Agility : 10
Cunning : 10

Resist: Ice
Weak  : Electricity

Abilities Known:
1) Frost Dart (Type: Ice, 15 SP. 70 Power attack. Chills the target, reducing their accuracy, evasion, and movement speed slightly.)
2) ------------
3) ------------
4) ------------
5) ------------
6) ------------
7) ------------
8) ------------

Relic Upgrades:
Translator (Reduces the cost of using Copy Ability on yourself by 50%.)
Transpose Soul (Unlocks the Transpose Soul transmutation, which lets you sacrifice a demon to choose and learn one of the bonus abilities from the modifier it would pass if used with Fuse Demons.)

Inventory:
1 Heal gem
1 Heal stone

Current Credits: 580

Codex Daemonium Completion
Shared Codex   : 10 / 154 (6% complete)



--==== Party Overview  ====--

Element      Users      Immune     Resistant  Normal     Weak       
--------------------------------------------------------------------
Slash        0          0          0          4*         0         
Impact       1          0          0          4*         0         
Pierce       0          0          0          4*         0         
Fire         0          0          0          2*         2         
Ice          1*         0          1*         3          0         
Electricity  0          0          2          1          1*         
Body         0          0          1          3*         0         
Mind         0          0          1          3*         0         
Matter       0          0          0          4*         0         
Light        0          0          0          3*         1         
Dark         0          0          0          3*         1         

n : Number of party members counted.
* : Denotes the main character is included.



--==== Current Party ====--

Name : Homunculus
Level: 2
MaxHP: 35
MaxSP: 100

Strength: 11
Magic   : 11
Vitality: 11
Agility : 11
Cunning : 11

Resist: Body Mind
Weak  : Light Dark

Abilities Known:
1) Heavy Blow (Type: Impact, 5 SP. 70 Power attack.)
2) Draw Wounds (Type: Healing, 0 SP. 105 Power heal. Costs HP equal to the amount healed, but cannot kill the user. Free action. Cooldown: Cantrip (1))
3) Refresh (Type: Healing, 5 SP. Transfers up to 15 SP from the user to the target. Free action. Cooldown: Cantrip (1))
4) Low Profile (Type: Defense, Passive. Always dodge projectiles fired by allies unless directly targeted.)
5) ------------
6) ------------
7) ------------
8) ------------


Name : Gandayah
Level: 2
MaxHP: 34
MaxSP: 125

Strength: 11
Magic   : 14
Vitality: 16
Agility : 7
Cunning : 7

Resist: Electricity
Weak  : Fire

Abilities Known:
1) Cleanse (Type: Healing, 15 SP. Removes Poison, Infection, and Paralysis.)
2) Relief (Type: Healing, 15 SP. Removes Blind, Melting, Harden, Stone, and Held.)
3) Refresh (Type: Healing, 5 SP. Transfers up to 15 SP from the user to the target. Free action. Cooldown: Cantrip (1))
4) Tireless (Type: None, Passive. Increases MaxSP by 25.)
5) ------------
6) ------------
7) ------------
8) ------------


Name : Gandayah
Level: 1
MaxHP: 30
MaxSP: 125

Strength: 10
Magic   : 12
Vitality: 14
Agility : 7
Cunning : 7

Resist: Electricity
Weak  : Fire

Abilities Known:
1) Cleanse (Type: Healing, 15 SP. Removes Poison, Infection, and Paralysis.)
2) Relief (Type: Healing, 15 SP. Removes Blind, Melting, Harden, Stone, and Held.)
3) Refresh (Type: Healing, 5 SP. Transfers up to 15 SP from the user to the target. Free action. Cooldown: Cantrip (1))
4) Tireless (Type: None, Passive. Increases MaxSP by 25.)
5) ------------
6) ------------
7) ------------
8) ------------



--==== Recent Messages ====--

 movement keys. Press Enter to execute,
 Escape to cancel.
 You throw a frost dart at the goblin.
 You freeze the goblin.
 The goblin will be shivering longer!
 The goblin hits you.
 Your gandayah chants while pointing at you.
 Your gandayah looks more tired.
 You feel refreshed.
 Using Frost Dart...
 Aim within the possible target area using
 movement keys. Press Enter to execute,
 Escape to cancel.
 You throw a frost dart at the goblin.
 The goblin dodges your attack!
 The goblin hits you.
 The goblin is no longer chilled.
 Your gandayah misses the goblin.
 The goblin hits your gandayah.
 Using Frost Dart...
 Aim within the possible target area using
 movement keys. Press Enter to execute,
 Escape to cancel.
 You throw a frost dart at the goblin.
 You freeze the goblin.
 The goblin starts shivering!
 Your gandayah hits the goblin.
 Your gandayah kills the goblin!!
 Using Summon...
 Aim within the possible target area using
 movement keys. Press Enter to execute,
 Escape to cancel.
 You summon your homunculus!
 You begin resting.
 Your homunculus gestures at you.
 Your homunculus drains itself.
 Your relic preserves your homunculus' life!
 You feel better.
 Rest complete, but you must defeat enemies
 to restore your allies' missing Maximum HP.
 Using Summon...
 Aim within the possible target area using
 movement keys. Press Enter to execute,
 Escape to cancel.
 Nevermind then.
 Using Cancel Command...
 Cancel Command can only be aimed at
 yourself. Press Enter to execute, Escape to
 cancel.
 Nevermind then.



--==== Recently Slain Allies ====--



Edit, all i remember for specifics is that we were both near death... but here's the dump, i remembered to do that xd
2tousent
 
Posts: 34
Joined: Fri Jul 14, 2017 10:22 am

Re: Homunculus uses draw wounds recklessly

Postby Ferret » Mon Nov 12, 2018 12:37 am

Hmm... looks like you summoned it, and it immediately managed to kill itself with DW. Might be something to that... I'll keep trying the repro, thanks for the character dump and additional details. :D
User avatar
Ferret
 
Posts: 1786
Joined: Tue Sep 16, 2014 3:18 pm

Re: Homunculus uses draw wounds recklessly

Postby Ferret » Tue Nov 13, 2018 2:28 am

Well I'm a flipping moron.

Without meaning to, I basically entirely disabled the "HEY IS THIS GONNA KILL ME" check for Draw Wounds if the target is a summoner, back when I added Aux Guard. I'm amazed it went this long without causing trouble... then again, the AI evaluation for Draw Wounds tends to really hate using it in general (as it should), so it would probably only allow a suicidal DW in a case where the player's HP were also drastically low.

Will be fixed in the next build, which will probably be fairly soon since I won't want this hanging around any longer than it already has been (but there are some other fixes I want in too.)

Thanks for the report!
User avatar
Ferret
 
Posts: 1786
Joined: Tue Sep 16, 2014 3:18 pm

Re: Homunculus uses draw wounds recklessly

Postby Bormoth » Thu Nov 15, 2018 5:28 pm

Ferret wrote:Well I'm a flipping moron.

Without meaning to, I basically entirely disabled the "HEY IS THIS GONNA KILL ME" check for Draw Wounds if the target is a summoner, back when I added Aux Guard. I'm amazed it went this long without causing trouble... then again, the AI evaluation for Draw Wounds tends to really hate using it in general (as it should), so it would probably only allow a suicidal DW in a case where the player's HP were also drastically low.

Will be fixed in the next build, which will probably be fairly soon since I won't want this hanging around any longer than it already has been (but there are some other fixes I want in too.)

Thanks for the report!


Probably you don't want to have your demon with draw wounds to kill themselves unless your main character recieved damage recently, or there are enemies around the least. It would cause still lots of grief when someone summons demon to regenerate it, and it kills itself. (not like they regen while unsummoned I think, but still it would cause lots of strange behavior. Or add to description that it cannont kill itself unless summoner gravely wounded. So at least players would know that if they want to preserve demon they better to unsummon him.
Bormoth
 
Posts: 32
Joined: Sat Apr 08, 2017 4:51 pm

Re: Homunculus uses draw wounds recklessly

Postby Ferret » Thu Nov 15, 2018 5:55 pm

It shouldn't be able to kill itself to Draw Wounds at all though. :) There's almost no point to it: since Draw Wounds can't heal more than the damage it does, the only benefit to a Draw Wounds using character killing themselves to use it would be 1 extra point of healing gained by spending the last 1 HP keeping it alive, which would almost never make a difference (and even less likely make a difference anyone would agree was worth the demon dying or having to be preserved over.)
User avatar
Ferret
 
Posts: 1786
Joined: Tue Sep 16, 2014 3:18 pm

Re: Homunculus uses draw wounds recklessly

Postby Commentaries » Mon Apr 01, 2024 4:46 pm

Was this ever fixed? I swear my homunculus killed itself with Draw Wounds the other day. Savescummed to undo the damage though, and I've done a few floors after the incident, so I don't know if the logs will still show it.
Commentaries
 
Posts: 1
Joined: Mon Apr 01, 2024 3:43 pm

Re: Homunculus uses draw wounds recklessly

Postby Ferret » Tue Apr 02, 2024 12:38 am

This was around six years ago, but based on my notes I at least believed I fixed it? :D But yeah, logs don't go back very far, if you've done entire floors since it happened, there won't be any evidence left at this point unfortunately.

Welcome to the forum, btw. :D It's a bit dusty in here these days, but I do still keep an eye out for posts, even if it is pretty much just me wandering around here at this point. :)
User avatar
Ferret
 
Posts: 1786
Joined: Tue Sep 16, 2014 3:18 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron