fix a bug of EnYuan AI
(toDamage() doesn't return a pointer so that it will never be nil)
recast the Iron Chain if the player is limited from using it