Can't use inner fire while muted

Found a bug? Great! Post about it here!

Can't use inner fire while muted

Postby oneeyedjoe » Mon Jun 26, 2017 4:37 pm

Image
oneeyedjoe
 
Posts: 200
Joined: Tue Feb 14, 2017 4:30 pm

Re: Can't use inner fire while muted

Postby Ferret » Mon Jun 26, 2017 4:52 pm

::mutter:: For want of clicking a checkbox, the kingdom was lost.

This'll be fixed in the next build. Thanks for the report. Uh... you... did survive, right? :(
User avatar
Ferret
 
Posts: 1663
Joined: Tue Sep 16, 2014 3:18 pm

Re: Can't use inner fire while muted

Postby oneeyedjoe » Mon Jun 26, 2017 5:10 pm

I did survive, but ummm
Image

Tlaloc tried to use cleansing rain and missed :? do you need save files for this?
oneeyedjoe
 
Posts: 200
Joined: Tue Feb 14, 2017 4:30 pm

Re: Can't use inner fire while muted

Postby oneeyedjoe » Mon Jun 26, 2017 5:15 pm

Ok it's not Tlaloc, apparently poison from those Abatwas can't be cured.
Code: Select all
 You summon your cynocephalus!
 The abatwa shoots a needle at your
 cynocephalus.
 The abatwa hits your cynocephalus.
 Your cynocephalus is poisoned!
 Your unicorn chants while pointing at you.
 The abatwa shoots a needle at Reprobus.
 Reprobus blocks the abatwa's attack!
 Reprobus shouts a battle cry.
 The abatwa looks vulnerable! (x2)
 You are in danger!

Unicorn pointed at me 2 times and nothing happened
oneeyedjoe
 
Posts: 200
Joined: Tue Feb 14, 2017 4:30 pm

Re: Can't use inner fire while muted

Postby Ferret » Mon Jun 26, 2017 6:11 pm

No save file needed, I found this one pretty quick. :P

You may remember I mentioned something in the build notes about making sure not to remove enchantments from characters that don't actually have them. :P

Even if you don't have any coding background, you can probably tell I got the order of checking wrong. :D
Code: Select all
            // If the enchantment is not on the target, don't worry about it.
            if(m_target.enchantable.HasEnchantment(m_enchantmentType) == false)
            {
                return true;
            }

         // If poison is being removed, attempt to match it to the poison level they have.
         if(m_enchantmentType == EnchantmentType.Poison)
         {
            if(m_target.enchantable.HasEnchantment(EnchantmentType.PoisonPlus))
            {
               m_enchantmentType = EnchantmentType.PoisonPlus;
            }
            else if(m_target.enchantable.HasEnchantment(EnchantmentType.PoisonPlusPlus))
            {
               m_enchantmentType = EnchantmentType.PoisonPlusPlus;
            }      
         }


This'll be fixed in the next build, which as much as it makes me grumpy to have to do 3 "fix this" builds so quickly for a new release, will probably be today or tomorrow... and only tomorrow because I want to see if anything else is lurking so I can fix those in this one without having to make yet another. :P

(The worst part? The original bug I was trying to fix here was visual only. :| )
User avatar
Ferret
 
Posts: 1663
Joined: Tue Sep 16, 2014 3:18 pm

Re: Can't use inner fire while muted

Postby Ferret » Mon Jun 26, 2017 8:56 pm

Fixed and build released. :( I try to tell myself this sort of thing will be inevitable from time to time since I don't have a QA team or anything, but I still feel pretty grumpy about it. Apologies again.
User avatar
Ferret
 
Posts: 1663
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