Skip to content

Instantly share code, notes, and snippets.

@F3st
Created August 22, 2012 13:44
Show Gist options
  • Save F3st/3425724 to your computer and use it in GitHub Desktop.
Save F3st/3425724 to your computer and use it in GitHub Desktop.
scaling->Id : 66
scaling->castTimeMin : 3500
caster->getLevel() : 15
scaling->castTimeMax : 3200
scaling->castScalingMaxLevel : 20
(gdb) print scaling->castTimeMin + (caster->getLevel() - 1) * (scaling->castTimeMax - scaling->castTimeMin) / (scaling->castScalingMaxLevel - 1)
$13 = 226054189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment