
-----------------------------------
Hack.saw
Sun Jan 21, 2007 6:58 pm

Flag not Executitng
-----------------------------------
if AttackCD > 0 and combat = true and Dead = false then%.................cool down on attacks (you)
           AttackCD -= 1
           
        elsif AttackCD = 0 and combat = true and Dead = false then%..............sets attack speed (you)
            AttackCD := round (WeaponSpeed*100)
        end if

WeaponSpeed is set to which  weapon you are currently using.  If you are using a fast weapon (ie. speed of 1.9 or  then 1.9 the CD still works and counts down to 0 then resets but you never attack when it = your cooldown  :? 

my code to attack is:
if target (1) > 0 and combat = true and EnemyY >= PlayerY+35 and EnemyX >= PlayerX +35 and autoattack = true and AttackCD = (WeaponSpeed*100) or target (1) > 0 and combat = true and EnemyY  0 and combat = true and autoattack=true and EnemyY >= PlayerY+35 and EnemyX 