wormtql / genshin_artifact

莫娜占卜铺 | 原神 | 圣遗物搭配 | 圣遗物潜力。多方向圣遗物自动搭配,多方向圣遗物潜力与评分, Genshin Impact artifacts assessment, artifacts auto combination, artifacts statistics, artifacts potential, and more.
https://www.mona-uranai.com/
MIT License
1.18k stars 111 forks source link

请求补完mona_dsl_book #211

Open 132conan opened 1 year ago

132conan commented 1 year ago

现在给的例子 dmg b = Ganyu.Charged3 result = b.normal.e 如果直接搬的话,默认唯此一心天赋是0%触发的,水平有限不明白怎么手动设置为60%触发这样 其他的也类似 不看这个book的话,应该从哪里找到用什么“单词”

panganqi commented 1 year ago

看源码,https://github.com/wormtql/genshin_artifact/blob/main/mona_core/src/character/characters/hydro/sangonomiya_kokomi.rs 然后看看里面跟config有关的

const CONFIG_SKILL: Option<&'static [ItemConfig]> = Some(&[ ItemConfig { name: "after_q", title: "c30", config: ItemConfigType::Bool { default: true } } ]);

如果是那种在网页里看得到的天赋,就直接在网页里拉一下,就会按照你网页里拉的算。不需要在代码里加

gabor1252 commented 1 year ago

看源码,https://github.com/wormtql/genshin_artifact/blob/main/mona_core/src/character/characters/hydro/sangonomiya_kokomi.rs 然后看看里面跟config有关的

const CONFIG_SKILL: Option<&'static [ItemConfig]> = Some(&[ ItemConfig { name: "after_q", title: "c30", config: ItemConfigType::Bool { default: true } } ]);

如果是那种在网页里看得到的天赋,就直接在网页里拉一下,就会按照你网页里拉的算。不需要在代码里加

大佬,请问一下,我在计算器MONA-DSL里面写了dmg e = YaeMiko.E3 result =e.aggravate.e + e.normal.e * 2,点击开始计算后,结果就是以result为最佳吗(只是没显示出来),我看右边还是显示的正常E3的伤害,未显示我定义的result,故有此疑惑,望解答

panganqi commented 1 year ago

看源码,https://github.com/wormtql/genshin_artifact/blob/main/mona_core/src/character/characters/hydro/sangonomiya_kokomi.rs 然后看看里面跟config有关的 const CONFIG_SKILL: Option<&'static [ItemConfig]> = Some(&[ ItemConfig { name: "after_q", title: "c30", config: ItemConfigType::Bool { default: true } } ]); 如果是那种在网页里看得到的天赋,就直接在网页里拉一下,就会按照你网页里拉的算。不需要在代码里加

大佬,请问一下,我在计算器MONA-DSL里面写了dmg e = YaeMiko.E3 result =e.aggravate.e + e.normal.e * 2,点击开始计算后,结果就是以result为最佳吗(只是没显示出来),我看右边还是显示的正常E3的伤害,未显示我定义的result,故有此疑惑,望解答

对,是按照你result优化的。优化下面不是有个100/xxx吗,那个xxx就是你result的伤害数值

gabor1252 commented 1 year ago

看源码,https://github.com/wormtql/genshin_artifact/blob/main/mona_core/src/character/characters/hydro/sangonomiya_kokomi.rs 然后看看里面跟config有关的 const CONFIG_SKILL: Option<&'static [ItemConfig]> = Some(&[ ItemConfig { name: "after_q", title: "c30", config: ItemConfigType::Bool { default: true } } ]); 如果是那种在网页里看得到的天赋,就直接在网页里拉一下,就会按照你网页里拉的算。不需要在代码里加

大佬,请问一下,我在计算器MONA-DSL里面写了dmg e = YaeMiko.E3 result =e.aggravate.e + e.normal.e * 2,点击开始计算后,结果就是以result为最佳吗(只是没显示出来),我看右边还是显示的正常E3的伤害,未显示我定义的result,故有此疑惑,望解答

对,是按照你result优化的。优化下面不是有个100/xxx吗,那个xxx就是你result的伤害数值

谢谢大佬,看到了