馬上測出你的「制塔」進度! - 神魔之塔

By Emma
at 2018-06-14T01:15
at 2018-06-14T01:15
Table of Contents
懶人包
Let a_n:{0,1,2,3,4,5,6,7,8,9,10} → S be an increasing sequence
where S = {0, 3.12, 12.68, 20.98, 30.53, 36.84, 43.21
, 65.41, 82.96, 91.22, 100}
Then for any n€[0,9], m€[1,850], both natural numbers,
a summoner passing seal n with rank m has the following score:
score = a_n + (a_(n+1) - a_n) * (m/850)
---------------------------------------------------------------------
首先,看原始碼,抓到這列code
user_persentage = (chapter_percent + (upper_chapter_percentage -
chapter_percent) * level_percent).toFixed(2)
再去看 chapter_percent = chapter_persentage[user_chapter]
(進度百分比a_n) (進度n)
所以 chapter_persentage是list之類的東西
果不其然
chapter_persentage = [0, 3.12, 12.68, 20.98, 30.53, 36.84, 43.21, 65.41,
82.96, 91.22, 100]
接著看 upper_chapter_percentage
= chapter_persentage[parseInt(user_chapter) + 1]
其中parseInt(user_chapter)應該跟user_chapter一模一樣,應該怕你輸入非正整數
最後看 level_percent 調出 user_percentage = (level / max_level)
所以就拼湊出公式拉!(‧^ω^‧)
=================================================
乾你媽的無用頁面
--
Let a_n:{0,1,2,3,4,5,6,7,8,9,10} → S be an increasing sequence
where S = {0, 3.12, 12.68, 20.98, 30.53, 36.84, 43.21
, 65.41, 82.96, 91.22, 100}
Then for any n€[0,9], m€[1,850], both natural numbers,
a summoner passing seal n with rank m has the following score:
score = a_n + (a_(n+1) - a_n) * (m/850)
---------------------------------------------------------------------
首先,看原始碼,抓到這列code
user_persentage = (chapter_percent + (upper_chapter_percentage -
chapter_percent) * level_percent).toFixed(2)
再去看 chapter_percent = chapter_persentage[user_chapter]
(進度百分比a_n) (進度n)
所以 chapter_persentage是list之類的東西
果不其然
chapter_persentage = [0, 3.12, 12.68, 20.98, 30.53, 36.84, 43.21, 65.41,
82.96, 91.22, 100]
接著看 upper_chapter_percentage
= chapter_persentage[parseInt(user_chapter) + 1]
其中parseInt(user_chapter)應該跟user_chapter一模一樣,應該怕你輸入非正整數
最後看 level_percent 調出 user_percentage = (level / max_level)
所以就拼湊出公式拉!(‧^ω^‧)
=================================================
乾你媽的無用頁面
--
Tags:
神魔之塔
All Comments

By Belly
at 2018-06-18T16:31
at 2018-06-18T16:31

By Faithe
at 2018-06-20T06:28
at 2018-06-20T06:28

By Ivy
at 2018-06-24T02:56
at 2018-06-24T02:56

By Isla
at 2018-06-24T04:54
at 2018-06-24T04:54

By Freda
at 2018-06-28T07:01
at 2018-06-28T07:01

By Bennie
at 2018-06-28T11:36
at 2018-06-28T11:36

By Liam
at 2018-07-02T13:45
at 2018-07-02T13:45

By Genevieve
at 2018-07-05T06:42
at 2018-07-05T06:42

By Anonymous
at 2018-07-05T15:39
at 2018-07-05T15:39

By Skylar Davis
at 2018-07-06T14:09
at 2018-07-06T14:09

By Oscar
at 2018-07-07T04:58
at 2018-07-07T04:58

By Joe
at 2018-07-10T01:28
at 2018-07-10T01:28

By Caitlin
at 2018-07-14T20:44
at 2018-07-14T20:44

By John
at 2018-07-15T00:19
at 2018-07-15T00:19

By Queena
at 2018-07-18T07:49
at 2018-07-18T07:49

By Tristan Cohan
at 2018-07-23T01:38
at 2018-07-23T01:38

By Joseph
at 2018-07-27T11:49
at 2018-07-27T11:49

By Hedwig
at 2018-07-28T19:27
at 2018-07-28T19:27

By Liam
at 2018-08-02T03:41
at 2018-08-02T03:41

By Hardy
at 2018-08-02T10:17
at 2018-08-02T10:17

By Quintina
at 2018-08-05T03:42
at 2018-08-05T03:42

By Olivia
at 2018-08-05T14:40
at 2018-08-05T14:40

By Poppy
at 2018-08-10T03:07
at 2018-08-10T03:07

By Oscar
at 2018-08-12T04:34
at 2018-08-12T04:34

By John
at 2018-08-13T02:01
at 2018-08-13T02:01

By Frederica
at 2018-08-17T17:24
at 2018-08-17T17:24

By Odelette
at 2018-08-19T15:43
at 2018-08-19T15:43

By Isabella
at 2018-08-22T17:58
at 2018-08-22T17:58

By Zanna
at 2018-08-27T16:52
at 2018-08-27T16:52

By Kristin
at 2018-09-01T13:02
at 2018-09-01T13:02

By Mia
at 2018-09-05T00:52
at 2018-09-05T00:52

By Lily
at 2018-09-06T03:34
at 2018-09-06T03:34

By Thomas
at 2018-09-07T22:05
at 2018-09-07T22:05

By William
at 2018-09-11T01:36
at 2018-09-11T01:36

By Adele
at 2018-09-13T16:26
at 2018-09-13T16:26

By Skylar Davis
at 2018-09-16T01:58
at 2018-09-16T01:58

By Joe
at 2018-09-18T21:51
at 2018-09-18T21:51

By Kama
at 2018-09-21T10:04
at 2018-09-21T10:04

By Michael
at 2018-09-23T09:51
at 2018-09-23T09:51

By Wallis
at 2018-09-23T13:15
at 2018-09-23T13:15

By Yuri
at 2018-09-24T20:57
at 2018-09-24T20:57

By Rosalind
at 2018-09-28T01:39
at 2018-09-28T01:39

By Ida
at 2018-10-02T09:09
at 2018-10-02T09:09
Related Posts
20180613(?) 新增召喚獸/字串

By Elvira
at 2018-06-13T22:14
at 2018-06-13T22:14
討伐戰出會長?

By Faithe
at 2018-06-13T21:49
at 2018-06-13T21:49
【嵌合蟻的王】關卡成就

By Ivy
at 2018-06-13T19:09
at 2018-06-13T19:09
尼飛彼多再開

By Faithe
at 2018-06-13T17:29
at 2018-06-13T17:29
神魔角色組合縮寫,你知多少個?

By Gary
at 2018-06-13T15:00
at 2018-06-13T15:00