SharifAIChallenge / AIC19-Client-Python

https://aichallenge.sharif.edu/
6 stars 3 forks source link

get_ability_targets returns error #20

Closed mohammadrezza closed 5 years ago

mohammadrezza commented 5 years ago

world.get_ability_targets(ability=hero.abilities[2], start_cell=hero.current_cell, target_cell=end_cell)

{AttributeError}'NoneType' object has no attribute 'is_lobbing'

world.get_ability_targets(ability_name=Model.AbilityName.BLASTER_BOMB, start_cell=hero.current_cell, target_cell=end_cell)

{AttributeError}'AbilityName' object has no attribute 'is_lobbing'