Antisora7 Posted December 2, 2012 Author Share Posted December 2, 2012 I was wondering which stats translated to Defense. I know Strength is Attack, But what about the other stats? Link to comment Share on other sites More sharing options...
hedgy Posted December 2, 2012 Share Posted December 2, 2012 http://www.touchofdeathforums.com/community/index.php?/topic/114245-eo-faq/see **Q: What does each stat do?**There's no 'real defence', but there's a tutorial in the tutorial>source forum if you want to give endurance defence as well. Link to comment Share on other sites More sharing options...
DeathKnight Posted December 2, 2012 Share Posted December 2, 2012 That being said, it would be really easy to edit a stat to add defense. If you search```Public Sub TryNpcAttackPlayer```You just have to set a stat to affect damage. i.e. you can change this code``` ' if the player blocks, take away the block amount blockAmount = CanPlayerBlock(index) Damage = Damage - blockAmount```to something like this``` ' if the player blocks, take away the block amount blockAmount = CanPlayerBlock(index) Damage = Damage - blockAmount - (GetPlayerStat(index, Endurance) / 2)```Although I don't suggest doing it like that, because then anyone with ungodly endurance wouldn't take any damage(also, this is just the example for NPC attacks, you would still cause just as much damage on them)BTW, if you don't want to do it yourself, here is a link to the tutorial he was refering to, I believe.[http://www.touchofdeathforums.com/community/index.php?/topic/120075-eo-adding-real-defence-server-only/](http://www.touchofdeathforums.com/community/index.php?/topic/120075-eo-adding-real-defence-server-only/) 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