Darlingist Posted October 16, 2018 Share Posted October 16, 2018 Hello! I'm creating a character mod, and I'd like to have it so that if the character is hit with electric attacks or is struck by lightning, she takes twice the usual damage it would deal. I'm very new to LUA, so even after looking into characters' prefabs like WX78 for help, I've been stuck on what exactly to do :'< Thank you guys for your help in advance! Link to comment Share on other sites More sharing options...
Lumina Posted October 16, 2018 Share Posted October 16, 2018 Electric attacks have a stimuli "electric", same for electric weapons. Maybe something like using the function "OnAttacked" and if the target has the stimuli, or if the target's weapon has it, take additional damage ? 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