is there a way to check if the unit has an item class in ANY slot (without having to check each slot individually)? heres what im using. are there any major errors with this?
-
bow
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Attacking unit) Equal to Player_Unit
- (Item-class of (Item carried by (Attacking unit) in slot 1)) Equal to Powerup
-
Actions
- Animation - Play (Attacking unit)'s attack lumber animation
-
Events