Ria Posted May 14, 2010 Author Share Posted May 14, 2010 Ok, I really need help with this.I want enemies to deal 1 damage to players regardless of what their defense may be; The source code is set up good, but for some reason there's still an error, making the enemy hit me with 0 damage; I don't want that to happen.Note: I'm not a coder.PLEASE, someone help me, I'd appreciate it. Link to comment Share on other sites More sharing options...
balliztik1 Posted May 15, 2010 Share Posted May 15, 2010 In your OnAttack sub in your server\scripts\events\OnAttack.ess file, the damage can be altered. Just add something like this to the code:```If Damage < 1 then Damage = 1``` Link to comment Share on other sites More sharing options...
Ria Posted May 15, 2010 Author Share Posted May 15, 2010 @Ballie:> In your OnAttack sub in your server\scripts\events\OnAttack.ess file, the damage can be altered. Just add something like this to the code:> > ```> If Damage < 1 then Damage = 1> ```I don't have Events; I'm using EE Stable. Maybe that's why. Link to comment Share on other sites More sharing options...
Zop Posted May 15, 2010 Share Posted May 15, 2010 Events is the folder it's in, If you're using stable you DO have it o_Ojust navigate to it and find onattack.ess Link to comment Share on other sites More sharing options...
Ria Posted May 16, 2010 Author Share Posted May 16, 2010 @SillyFace:> Events is the folder it's in, If you're using stable you DO have it o_O> just navigate to it and find onattack.essIt isn't there; the whole reason I said a while back. I think I just need a coder or a scriptor. Someone please willing to help me as my coder or scriptor? 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