MCPcopy Index your code
hub / github.com/codecombat/codecombat / level

Method level

app/models/User.js:425–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

423 }
424
425 level () {
426 let totalPoint = this.get('points')
427 if (this.isInGodMode()) { totalPoint = totalPoint + 1000000 }
428 return User.levelFromExp(totalPoint)
429 }
430
431 tier () {
432 return User.tierFromLevel(this.level())

Callers 14

tierMethod · 0.95
User.spec.jsFile · 0.80
blocklyUtils.jsFile · 0.80
calculateDataMethod · 0.80
onMembersSyncMethod · 0.80
onLoadedMethod · 0.80
getRenderDataMethod · 0.80
shouldShowMethod · 0.80
sortItemMethod · 0.80
constructorMethod · 0.80
renderMethod · 0.80
isSilhouettedItemMethod · 0.80

Calls 3

getMethod · 0.95
isInGodModeMethod · 0.95
levelFromExpMethod · 0.80

Tested by

no test coverage detected