Sign in to follow this  

Extended combat flavour text for damage delt

Recommended Posts

This is a mod request based on this thread:


All the code needed is within : CombatEngine.class


Sadly programming is not my strength, i do well enough reading it and plan to learn when i have more time and motivation to do so.


Lines of code to be changed





public static String getStrengthString(double damage) { if (damage <= 0.0D) return "unnoticeably"; if (damage <= 1.0D) return "very lightly"; if (damage <= 2.0D) return "lightly"; if (damage <= 3.0D) return "pretty hard"; if (damage <= 6.0D) return "hard"; if (damage <= 10.0D) return "very hard"; if (damage <= 20.0D) { return "extremely hard"; } return "deadly hard"; }




public static String getRealDamageString(double damage) { if (damage < 500.0D) return "tickle"; if (damage < 1000.0D) return "slap"; if (damage < 2500.0D) return "irritate"; if (damage < 5000.0D) return "hurt"; if (damage < 10000.0D) { return "harm"; } return "damage"; }



i don't know how hard this will be but i have done everything i can  to help.


flavour text suggestions:




deadly hard

insanly hard

godly hard


damages it

obliterates it

destorys it



Edited by JockII

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this