generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » Clans & Guilds
Home Search
 

OpenGun now supports Critical Hit damage -

Previous Thread :: Next Thread 
Harbynger is not online. Harbynger
Joined: 06 Jul 2008
Total Posts: 34677
06 Mar 2016 09:40 PM
http://www.roblox.com/games/377494040/OpenGun#!/game-instances


here's how the mechanics work:

The more health you have, the less damage will be applied with a critical hit. You will no matter what take the base damage. (by default 10)

The less health you have, the more damage you take at a random chance between two variables, critMin and critMax.
These are by default 1 and 10 respectively.
an RNG number is generated between critMin and critMax, and adds up another variable, critDamage that many times.

On top of this, it is scaled to your current health with the formula critScale / humanoid.Health.

By default the scale is 50. Raising it makes the damage at lower healths bigger, lowering it softens the critical blow.










hence, if you are at say 20 health, and the RNG number returns 6, and critDamage is 2, you take 10 damage (base damage) + 30 crit damage, for a total of 40 damage.

if you are at 60 health and it returns 6, critDamage is 2, you take 10 damage + 10 crit damage, for a total of 20.






you can of course tweak everything to your liking
it's all open source and the config handles this as well
Report Abuse
Harbynger is not online. Harbynger
Joined: 06 Jul 2008
Total Posts: 34677
06 Mar 2016 09:43 PM
you should you know see this bump
Report Abuse
Harbynger is not online. Harbynger
Joined: 06 Jul 2008
Total Posts: 34677
06 Mar 2016 09:44 PM
hail my mlg scripting
Report Abuse
Morikiyo is not online. Morikiyo
Joined: 04 Mar 2016
Total Posts: 2718
06 Mar 2016 09:46 PM
so basically what you're saying is, I should intentionally get low on HP so I can dump tons of crits at people

gotcha boss
Report Abuse
PerilousDanger is not online. PerilousDanger
Joined: 21 Aug 2012
Total Posts: 3773
06 Mar 2016 09:46 PM
hail
Report Abuse
Harbynger is not online. Harbynger
Joined: 06 Jul 2008
Total Posts: 34677
06 Mar 2016 10:06 PM
No no no no no

when YOU get hit when YOU are low on health

lol

Report Abuse
Harbynger is not online. Harbynger
Joined: 06 Jul 2008
Total Posts: 34677
06 Mar 2016 10:15 PM
fixed aftershooting
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image