Caelic

Results 2 issues of Caelic

the 13th hit guaranteed critical is not coded yet so here it is. wiki says it shouldnt count WS hits and this code follows that, this is just for autoattacks....

CanChangeState() function doesn't catch character animations such as resting/synthing/sitting for allowing or disallowing ranged attack. you are currently able to ranged attack freely while doing these 3 actions.