View Single Post
  #150  
Old 01-20-2012, 12:51 AM
grimeleven grimeleven is offline
Approved Member
 
Join Date: Feb 2010
Posts: 72
Default

Quote:
Originally Posted by Fatt_Shade View Post
About HP% bonus i thought i figured out how to make it work in game, i guess there is more to it then what i did in exp_system.lua file.

Any idea about problem causing game to halt and little hourglass icon to stay forever when enemy human range unit get another turn with fighting spirit (posts #115 , 121 in this tread)?
Oh well i take back what i said, i just encountered that bug, since it's a low% enemy gets battle spirit i didn't pick it first, it happens mostly with horsemen and by looking here http://translate.googleusercontent.c...0sMeDktWr9xVg# it's a known problem with Red Sand 1.6.

Fortunately i think i found a solution, revert the patch changes to patch 1.3 settings in "addon_unit_features.lua"

Edit the file with notepad CTRL + F for "function human_battle_spirit"

Change
Code:
            --local ap = Attack.act_ap(attacker)
            Attack.act_ap(attacker,1)
To
Code:
            --local ap = Attack.act_ap(attacker)
            Attack.act_ap(attacker,speed)
I just tested it with horseman, they acted twice without making the game "hang" forever.

I uploaded the file for those who wants it, copy it into \scripts folder.
Attached Images
File Type: jpg Untitled.jpg (39.9 KB, 23 views)
Attached Files
File Type: zip addon_unit_features.zip (39.4 KB, 24 views)

Last edited by grimeleven; 01-20-2012 at 07:19 PM.
Reply With Quote