Lumina Posted September 8, 2017 Share Posted September 8, 2017 Hi, I have a bat hat in my mod. It would be nice to have some synergy with the bat bat, meaning, if the character equip both, he will have a bonus (don't know what at the moment), that he don't have if he equip only the bat or the hat. What is the best way to check if he has both items ? If he unequip one of them ? Thanks Link to comment Share on other sites More sharing options...
ZupaleX Posted September 8, 2017 Share Posted September 8, 2017 (edited) Either put ListenForEvent in onequip and onunequip to give permanent stat boost. Of put specific ListenForEvent if you want to affect a particular action (more damages with the bat bat for instance). Then inside this ListenForEvent you simply check player.components.inventory:GetEquippedItem(EQUIPSLOTS.HANDS) and EQUIPSLOTS.HEAD and you're good to go. Edited September 8, 2017 by ZupaleX Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now