View Single Post
  #3  
Old 01-17-2022, 12:32 PM
abdoi abdoi is offline
Approved Member
 
Join Date: Sep 2009
Posts: 14
Default

Quote:
Originally Posted by Fatt_Shade View Post
You can make unit lds connected with hero inventory and items she carry(
I've modded Priestess of blood sacrifice ability in KBS for target unit to not exceed max hero leadership.

But if the hero is wearing an item that reduces leadership req of say red dragons to 1600 instead of original 2000, then how to get the actual reduced leadership in LUA file?

This function "Attack.act_leadership(target)" doesn't get the new reduced value.

P.S. I know the last post is 9 years old but hopefully I get answer
Reply With Quote