Tomm0017 / rsmod

New repository: https://github.com/rsmod/rsmod
https://github.com/rsmod/rsmod
Apache License 2.0
125 stars 101 forks source link

Stop action when player equips item/eats a food #24

Closed ghost closed 5 years ago

ghost commented 5 years ago

Just an example when player attacks an NPC https://i.gyazo.com/f6fdde1a972b9efbbf4d71946adbc372.mp4

Tomm0017 commented 5 years ago

This seems to just reset the combat target, which can be done. Is this logic also applied when eating food? (combat is reset when you eat food or drink potions?)

ghost commented 5 years ago

This seems to just reset the combat target, which can be done. Is this logic also applied when eating food? (combat is reset when you eat food or drink potions?)

Yeah, just tested it out on OSRS - Equipping item, eating food, drinking potions & dropping items

Tomm0017 commented 5 years ago

Fixed in https://github.com/Tomm0017/rsmod/commit/08b2c7bc998bffadefc0f448f5af20d9fca671cf