View Single Post
  #2  
Old 02-26-2012, 03:29 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Default Critical Update V2012-02-25

My time is still very limited, but I found a critical error that caused the game to crash and have fixed it.

It dealt with the fact that I made an error when updating the Necro Call / Animate Dead ability and didn't realize how it selected the units to create from the corpse and so I left a few units off the list. As it turned out, if you cast it on one of these units (Unicorn was one of the units missing from the list) the game would crash. So now I fixed this issue and also made it such that if a unit is somehow not in the list, then a random Undead unit is selected.

There was also an issue with Enchanted Hero where it was using the attacker's hero's statistics rather than the receiver's hero's statistics (for which the Enchanted Hero spell was cast upon) for determining the power of the spells autocast on the defending unit. This was very tricky to notice because it was very subtle, but have now fixed this issue with that spell so that it correctly uses the defender's hero's statistics for autocasting the beneficial spells and not the attacker's.

I also just finished my Paladin game! I might start one other game (Mage), but I'm going to transition to applying this mod to AP and CW next...

Here is the change list for the individual files:
  • mod_homm3_babies.kfs
    • SPELLS.LUA
      • If somehow a unit is not selected from Necro Call (or Animate Dead) one will be selected at random (this is to prevent crashing in case a unit is not in the raise list)
      • Changed some of the function lists for spells associated with Enchanted Hero
      • Added new function to work with Enchanted Hero to properly apply the correct hero bonuses to the spells autocast on the unit
    • UNIT_FEATURES.LUA - fixed issues with Enchanted Hero not working correctly
    • SPELLS.TXT - CRITICAL: fixed missing units from necromancy which would cause the came to crash when cast on those units that were missing from the list
The download link is either in the first or last post.

Last edited by MattCaspermeyer; 04-08-2012 at 07:43 AM. Reason: Removed link because of new update
Reply With Quote