Skip to content

Instantly share code, notes, and snippets.

@reireias
Last active March 17, 2018 04:19
Show Gist options
  • Save reireias/88735d5d11259f03a7eb7ae70561dfb3 to your computer and use it in GitHub Desktop.
Save reireias/88735d5d11259f03a7eb7ae70561dfb3 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"from mhw import Condition, calculate, generate_targets, generate_skill_patterns, motionlist, skill_rank, to_label\n",
"import pandas\n",
"from collections import defaultdict\n",
"from copy import deepcopy"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 条件\n",
"- 爪、護符あり\n",
"- 鬼人薬G、猫飯大\n",
"- 怪力の種、鬼人の粉塵\n",
"- 達人の円筒なし、その他装衣なし\n",
"- 乱舞で比較"
]
},
{
"cell_type": "code",
"execution_count": 61,
"metadata": {},
"outputs": [],
"source": [
"def highlight_max(s):\n",
" if s.dtype == object:\n",
" return ['text-align: left' for v in s]\n",
" is_max = s == s.max()\n",
" return ['color: green' if v and s.dtype is not object else '' for v in is_max]\n",
"\n",
"# conditions = [(condition, label, elem_index)...]\n",
"def get_datas(targets, target_labels, motion, conditions):\n",
" columns = ['スキル']\n",
" columns.extend(target_labels)\n",
" data = []\n",
" condition_labels = []\n",
" for condition, label, index in conditions:\n",
" dmgs = [to_label(condition.skills)]\n",
" condition_labels.append(label)\n",
" for target in targets:\n",
" target = (target[0], target[index])\n",
" dmgs.append(round(calculate(target, motion, condition), 1))\n",
" data.append(dmgs)\n",
" df = pandas.DataFrame(data, columns=columns, index=condition_labels)\n",
" return df\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# ヴァルハザク\n",
"- 瘴気耐性3, ランナー2, 剛刃研磨1前提\n",
"- ブロスは匠4\n",
"- 爪は剛刃研磨なし"
]
},
{
"cell_type": "code",
"execution_count": 62,
"metadata": {},
"outputs": [],
"source": [
"target_labels = ['頭', '頭(破壊)', '首', '胸部', '腹部', '腹部(破壊)', '前足']\n",
"# 物理, 火, 龍\n",
"targets = [(50, 25, 0), (70, 25, 25), (45, 15, 15), (50, 15, 15), (50, 20, 0), (60, 25, 25), (45, 20, 5)]\n",
"labels = []\n",
"for label, target in zip(target_labels, targets):\n",
" labels.append('%s(%d,%d,%d)' % (label, target[0], target[1], target[2]))\n",
"motion = motionlist.DUAL_BLADE_BLADE_DANCE"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 武器 * スキルによる比較"
]
},
{
"cell_type": "code",
"execution_count": 63,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
" <style type=\"text/css\" >\n",
" \n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row0_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row0_col1 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row0_col5 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row0_col6 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row0_col7 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row1_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row2_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row3_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row3_col3 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row4_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row4_col2 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row4_col4 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row5_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row6_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row7_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f15128da_2997_11e8_b918_0242ac110002row8_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" </style>\n",
"\n",
" <table id=\"T_f15128da_2997_11e8_b918_0242ac110002\" None>\n",
" \n",
"\n",
" <thead>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th class=\"blank level0\" >\n",
" \n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col0\" colspan=1>\n",
" スキル\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col1\" colspan=1>\n",
" 頭(50,25,0)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col2\" colspan=1>\n",
" 頭(破壊)(70,25,25)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col3\" colspan=1>\n",
" 首(45,15,15)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col4\" colspan=1>\n",
" 胸部(50,15,15)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col5\" colspan=1>\n",
" 腹部(50,20,0)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col6\" colspan=1>\n",
" 腹部(破壊)(60,25,25)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col7\" colspan=1>\n",
" 前足(45,20,5)\n",
" \n",
" \n",
" </tr>\n",
" \n",
" </thead>\n",
" <tbody>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row0\" rowspan=1>\n",
" ジャナフ1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row0_col0\"\n",
" class=\"data row0 col0\" >\n",
" 攻撃5,弱特3,超会心2,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row0_col1\"\n",
" class=\"data row0 col1\" >\n",
" 461.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row0_col2\"\n",
" class=\"data row0 col2\" >\n",
" 591.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row0_col3\"\n",
" class=\"data row0 col3\" >\n",
" 380.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row0_col4\"\n",
" class=\"data row0 col4\" >\n",
" 413.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row0_col5\"\n",
" class=\"data row0 col5\" >\n",
" 445.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row0_col6\"\n",
" class=\"data row0 col6\" >\n",
" 525.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row0_col7\"\n",
" class=\"data row0 col7\" >\n",
" 412.6\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row1\" rowspan=1>\n",
" ジャナフ2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row1_col0\"\n",
" class=\"data row1 col0\" >\n",
" 攻撃6,弱特3,超会心1,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row1_col1\"\n",
" class=\"data row1 col1\" >\n",
" 457.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row1_col2\"\n",
" class=\"data row1 col2\" >\n",
" 592.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row1_col3\"\n",
" class=\"data row1 col3\" >\n",
" 376.7\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row1_col4\"\n",
" class=\"data row1 col4\" >\n",
" 409.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row1_col5\"\n",
" class=\"data row1 col5\" >\n",
" 441.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row1_col6\"\n",
" class=\"data row1 col6\" >\n",
" 524.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row1_col7\"\n",
" class=\"data row1 col7\" >\n",
" 408.7\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row2\" rowspan=1>\n",
" ジャナフ3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row2_col0\"\n",
" class=\"data row2 col0\" >\n",
" 攻撃4,弱特3,見切1,超会心2,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row2_col1\"\n",
" class=\"data row2 col1\" >\n",
" 458.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row2_col2\"\n",
" class=\"data row2 col2\" >\n",
" 591.7\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row2_col3\"\n",
" class=\"data row2 col3\" >\n",
" 379.7\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row2_col4\"\n",
" class=\"data row2 col4\" >\n",
" 410.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row2_col5\"\n",
" class=\"data row2 col5\" >\n",
" 442.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row2_col6\"\n",
" class=\"data row2 col6\" >\n",
" 524.7\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row2_col7\"\n",
" class=\"data row2 col7\" >\n",
" 411.7\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row3\" rowspan=1>\n",
" ブロス1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row3_col0\"\n",
" class=\"data row3 col0\" >\n",
" 攻撃5,弱特3,超会心1,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row3_col1\"\n",
" class=\"data row3 col1\" >\n",
" 425.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row3_col2\"\n",
" class=\"data row3 col2\" >\n",
" 595.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row3_col3\"\n",
" class=\"data row3 col3\" >\n",
" 384.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row3_col4\"\n",
" class=\"data row3 col4\" >\n",
" 425.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row3_col5\"\n",
" class=\"data row3 col5\" >\n",
" 425.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row3_col6\"\n",
" class=\"data row3 col6\" >\n",
" 509.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row3_col7\"\n",
" class=\"data row3 col7\" >\n",
" 384.2\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row4\" rowspan=1>\n",
" ブロス2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row4_col0\"\n",
" class=\"data row4 col0\" >\n",
" 攻撃4,弱特3,見切1,超会心1,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row4_col1\"\n",
" class=\"data row4 col1\" >\n",
" 425.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row4_col2\"\n",
" class=\"data row4 col2\" >\n",
" 598.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row4_col3\"\n",
" class=\"data row4 col3\" >\n",
" 381\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row4_col4\"\n",
" class=\"data row4 col4\" >\n",
" 425.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row4_col5\"\n",
" class=\"data row4 col5\" >\n",
" 425.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row4_col6\"\n",
" class=\"data row4 col6\" >\n",
" 510.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row4_col7\"\n",
" class=\"data row4 col7\" >\n",
" 381\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row5\" rowspan=1>\n",
" ブロス3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row5_col0\"\n",
" class=\"data row5 col0\" >\n",
" 弱特3,見切5,超会心1,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row5_col1\"\n",
" class=\"data row5 col1\" >\n",
" 422.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row5_col2\"\n",
" class=\"data row5 col2\" >\n",
" 592.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row5_col3\"\n",
" class=\"data row5 col3\" >\n",
" 381.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row5_col4\"\n",
" class=\"data row5 col4\" >\n",
" 422.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row5_col5\"\n",
" class=\"data row5 col5\" >\n",
" 422.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row5_col6\"\n",
" class=\"data row5 col6\" >\n",
" 506.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row5_col7\"\n",
" class=\"data row5 col7\" >\n",
" 381.4\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row6\" rowspan=1>\n",
" ブロス4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row6_col0\"\n",
" class=\"data row6 col0\" >\n",
" 攻撃3,弱特3,超会心2,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row6_col1\"\n",
" class=\"data row6 col1\" >\n",
" 420.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row6_col2\"\n",
" class=\"data row6 col2\" >\n",
" 589.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row6_col3\"\n",
" class=\"data row6 col3\" >\n",
" 377.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row6_col4\"\n",
" class=\"data row6 col4\" >\n",
" 420.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row6_col5\"\n",
" class=\"data row6 col5\" >\n",
" 420.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row6_col6\"\n",
" class=\"data row6 col6\" >\n",
" 505\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row6_col7\"\n",
" class=\"data row6 col7\" >\n",
" 377.4\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row7\" rowspan=1>\n",
" ブロス5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row7_col0\"\n",
" class=\"data row7 col0\" >\n",
" 弱特3,見切3,超会心2,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row7_col1\"\n",
" class=\"data row7 col1\" >\n",
" 420.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row7_col2\"\n",
" class=\"data row7 col2\" >\n",
" 590.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row7_col3\"\n",
" class=\"data row7 col3\" >\n",
" 377.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row7_col4\"\n",
" class=\"data row7 col4\" >\n",
" 420.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row7_col5\"\n",
" class=\"data row7 col5\" >\n",
" 420.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row7_col6\"\n",
" class=\"data row7 col6\" >\n",
" 504.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row7_col7\"\n",
" class=\"data row7 col7\" >\n",
" 377.5\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f15128da_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row8\" rowspan=1>\n",
" 爪1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row8_col0\"\n",
" class=\"data row8 col0\" >\n",
" 攻撃7,弱特3,見切4,超会心1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row8_col1\"\n",
" class=\"data row8 col1\" >\n",
" 364.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row8_col2\"\n",
" class=\"data row8 col2\" >\n",
" 559.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row8_col3\"\n",
" class=\"data row8 col3\" >\n",
" 358.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row8_col4\"\n",
" class=\"data row8 col4\" >\n",
" 396.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row8_col5\"\n",
" class=\"data row8 col5\" >\n",
" 364.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row8_col6\"\n",
" class=\"data row8 col6\" >\n",
" 486.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_f15128da_2997_11e8_b918_0242ac110002row8_col7\"\n",
" class=\"data row8 col7\" >\n",
" 342.6\n",
" \n",
" \n",
" </tr>\n",
" \n",
" </tbody>\n",
" </table>\n",
" "
],
"text/plain": [
"<pandas.formats.style.Styler at 0x7fcf69d0dcf8>"
]
},
"execution_count": 63,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"conditions = []\n",
"\n",
"# ジャナフサイクロンⅢ\n",
"weapon = (210, 21, -20, 'blue')\n",
"\n",
"con1 = Condition()\n",
"con1.weapon = weapon\n",
"con1.skills.update({'attack': 5, 'weakness': 3, 'critical_boost': 2, 'elemental': 2, 'elemental_critical': 1})\n",
"conditions.append((con1, 'ジャナフ1', 1))\n",
"\n",
"con2 = deepcopy(con1)\n",
"con2.skills.update({'attack': 6, 'critical_boost': 1})\n",
"conditions.append((con2, 'ジャナフ2', 1))\n",
"\n",
"con3 = deepcopy(con1)\n",
"con3.skills.update({'attack': 4, 'critical_boost': 2, 'critical_eye': 1})\n",
"conditions.append((con3, 'ジャナフ3', 1))\n",
"\n",
"# ブロスクラブⅡ\n",
"weapon = (230, 0, -10, 'white')\n",
"\n",
"con4 = Condition()\n",
"con4.weapon = weapon\n",
"con4.skills.update({'attack': 5, 'weakness': 3, 'critical_boost': 1, 'non_elemental': 1})\n",
"conditions.append((con4, 'ブロス1', 1))\n",
"\n",
"con5 = deepcopy(con4)\n",
"con5.skills.update({'attack': 4, 'weakness': 3, 'critical_eye': 1, 'critical_boost': 1, 'non_elemental': 1})\n",
"conditions.append((con5, 'ブロス2', 1))\n",
"\n",
"con6 = deepcopy(con5)\n",
"con6.skills.update({'attack': 0, 'weakness': 3, 'critical_eye': 5, 'critical_boost': 1, 'non_elemental': 1})\n",
"conditions.append((con6, 'ブロス3', 1))\n",
"\n",
"con7 = deepcopy(con6)\n",
"con7.skills.update({'attack': 3, 'weakness': 3, 'critical_eye': 0, 'critical_boost': 2, 'non_elemental': 1})\n",
"conditions.append((con7, 'ブロス4', 1))\n",
"\n",
"con8 = deepcopy(con7)\n",
"con8.skills.update({'attack': 0, 'weakness': 3, 'critical_eye': 3, 'critical_boost': 2, 'non_elemental': 1})\n",
"conditions.append((con8, 'ブロス5', 1))\n",
"\n",
"# 殲滅の爪\n",
"weapon = (210, 12, 0, 'blue')\n",
"con9 = Condition()\n",
"con9.weapon = weapon\n",
"con9.skills.update({'attack': 7, 'weakness': 3, 'critical_eye': 4, 'critical_boost': 1, 'element_critical': 1})\n",
"conditions.append((con9, '爪1', 2))\n",
"\n",
"df = get_datas(targets, labels, motion, conditions)\n",
"df.style.apply(highlight_max)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## カスタム強化比較"
]
},
{
"cell_type": "code",
"execution_count": 64,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
" <style type=\"text/css\" >\n",
" \n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row0_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row1_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row2_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row3_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row4_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row5_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row6_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row6_col5 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row6_col7 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row7_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row8_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row8_col1 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row8_col2 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row8_col6 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row9_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row10_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row11_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row12_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row13_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row14_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row15_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row16_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row16_col3 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row16_col4 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_f31aaf42_2997_11e8_b918_0242ac110002row17_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" </style>\n",
"\n",
" <table id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\" None>\n",
" \n",
"\n",
" <thead>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th class=\"blank level0\" >\n",
" \n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col0\" colspan=1>\n",
" スキル\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col1\" colspan=1>\n",
" 頭(50,25,0)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col2\" colspan=1>\n",
" 頭(破壊)(70,25,25)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col3\" colspan=1>\n",
" 首(45,15,15)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col4\" colspan=1>\n",
" 胸部(50,15,15)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col5\" colspan=1>\n",
" 腹部(50,20,0)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col6\" colspan=1>\n",
" 腹部(破壊)(60,25,25)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col7\" colspan=1>\n",
" 前足(45,20,5)\n",
" \n",
" \n",
" </tr>\n",
" \n",
" </thead>\n",
" <tbody>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row0\" rowspan=1>\n",
" ジャナフ攻撃攻撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row0_col0\"\n",
" class=\"data row0 col0\" >\n",
" 攻撃5,弱特3,超会心2,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row0_col1\"\n",
" class=\"data row0 col1\" >\n",
" 473\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row0_col2\"\n",
" class=\"data row0 col2\" >\n",
" 610.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row0_col3\"\n",
" class=\"data row0 col3\" >\n",
" 388.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row0_col4\"\n",
" class=\"data row0 col4\" >\n",
" 425\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row0_col5\"\n",
" class=\"data row0 col5\" >\n",
" 457\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row0_col6\"\n",
" class=\"data row0 col6\" >\n",
" 541.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row0_col7\"\n",
" class=\"data row0 col7\" >\n",
" 420.9\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row1\" rowspan=1>\n",
" ジャナフ攻撃攻撃2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row1_col0\"\n",
" class=\"data row1 col0\" >\n",
" 攻撃6,弱特3,超会心1,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row1_col1\"\n",
" class=\"data row1 col1\" >\n",
" 470.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row1_col2\"\n",
" class=\"data row1 col2\" >\n",
" 606.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row1_col3\"\n",
" class=\"data row1 col3\" >\n",
" 388.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row1_col4\"\n",
" class=\"data row1 col4\" >\n",
" 422.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row1_col5\"\n",
" class=\"data row1 col5\" >\n",
" 454.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row1_col6\"\n",
" class=\"data row1 col6\" >\n",
" 537.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row1_col7\"\n",
" class=\"data row1 col7\" >\n",
" 420.4\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row2\" rowspan=1>\n",
" ジャナフ攻撃攻撃3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row2_col0\"\n",
" class=\"data row2 col0\" >\n",
" 攻撃4,弱特3,見切1,超会心2,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row2_col1\"\n",
" class=\"data row2 col1\" >\n",
" 471.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row2_col2\"\n",
" class=\"data row2 col2\" >\n",
" 609.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row2_col3\"\n",
" class=\"data row2 col3\" >\n",
" 390.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row2_col4\"\n",
" class=\"data row2 col4\" >\n",
" 423.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row2_col5\"\n",
" class=\"data row2 col5\" >\n",
" 455.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row2_col6\"\n",
" class=\"data row2 col6\" >\n",
" 541.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row2_col7\"\n",
" class=\"data row2 col7\" >\n",
" 422.1\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row3\" rowspan=1>\n",
" ジャナフ攻撃会心1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row3_col0\"\n",
" class=\"data row3 col0\" >\n",
" 攻撃5,弱特3,超会心2,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row3_col1\"\n",
" class=\"data row3 col1\" >\n",
" 475.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row3_col2\"\n",
" class=\"data row3 col2\" >\n",
" 617.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row3_col3\"\n",
" class=\"data row3 col3\" >\n",
" 394.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row3_col4\"\n",
" class=\"data row3 col4\" >\n",
" 427.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row3_col5\"\n",
" class=\"data row3 col5\" >\n",
" 459.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row3_col6\"\n",
" class=\"data row3 col6\" >\n",
" 547.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row3_col7\"\n",
" class=\"data row3 col7\" >\n",
" 426.5\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row4\" rowspan=1>\n",
" ジャナフ攻撃会心2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row4_col0\"\n",
" class=\"data row4 col0\" >\n",
" 攻撃6,弱特3,超会心1,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row4_col1\"\n",
" class=\"data row4 col1\" >\n",
" 473.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row4_col2\"\n",
" class=\"data row4 col2\" >\n",
" 612.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row4_col3\"\n",
" class=\"data row4 col3\" >\n",
" 389.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row4_col4\"\n",
" class=\"data row4 col4\" >\n",
" 425.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row4_col5\"\n",
" class=\"data row4 col5\" >\n",
" 457.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row4_col6\"\n",
" class=\"data row4 col6\" >\n",
" 542.7\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row4_col7\"\n",
" class=\"data row4 col7\" >\n",
" 421.6\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row5\" rowspan=1>\n",
" ジャナフ攻撃会心3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row5_col0\"\n",
" class=\"data row5 col0\" >\n",
" 攻撃4,弱特3,見切1,超会心2,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row5_col1\"\n",
" class=\"data row5 col1\" >\n",
" 475.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row5_col2\"\n",
" class=\"data row5 col2\" >\n",
" 615.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row5_col3\"\n",
" class=\"data row5 col3\" >\n",
" 393.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row5_col4\"\n",
" class=\"data row5 col4\" >\n",
" 427.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row5_col5\"\n",
" class=\"data row5 col5\" >\n",
" 459.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row5_col6\"\n",
" class=\"data row5 col6\" >\n",
" 544.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row5_col7\"\n",
" class=\"data row5 col7\" >\n",
" 425.6\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row6\" rowspan=1>\n",
" ジャナフ会心会心1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row6_col0\"\n",
" class=\"data row6 col0\" >\n",
" 攻撃5,弱特3,超会心2,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row6_col1\"\n",
" class=\"data row6 col1\" >\n",
" 477\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row6_col2\"\n",
" class=\"data row6 col2\" >\n",
" 613\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row6_col3\"\n",
" class=\"data row6 col3\" >\n",
" 395\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row6_col4\"\n",
" class=\"data row6 col4\" >\n",
" 429\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row6_col5\"\n",
" class=\"data row6 col5\" >\n",
" 461\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row6_col6\"\n",
" class=\"data row6 col6\" >\n",
" 544.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row6_col7\"\n",
" class=\"data row6 col7\" >\n",
" 427\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row7\" rowspan=1>\n",
" ジャナフ会心会心2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row7_col0\"\n",
" class=\"data row7 col0\" >\n",
" 攻撃6,弱特3,超会心1,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row7_col1\"\n",
" class=\"data row7 col1\" >\n",
" 471\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row7_col2\"\n",
" class=\"data row7 col2\" >\n",
" 610.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row7_col3\"\n",
" class=\"data row7 col3\" >\n",
" 389\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row7_col4\"\n",
" class=\"data row7 col4\" >\n",
" 423\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row7_col5\"\n",
" class=\"data row7 col5\" >\n",
" 455\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row7_col6\"\n",
" class=\"data row7 col6\" >\n",
" 540.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row7_col7\"\n",
" class=\"data row7 col7\" >\n",
" 421\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row8\" rowspan=1>\n",
" ジャナフ会心会心3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row8_col0\"\n",
" class=\"data row8 col0\" >\n",
" 攻撃4,弱特3,見切1,超会心2,属性2,属会1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row8_col1\"\n",
" class=\"data row8 col1\" >\n",
" 490.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row8_col2\"\n",
" class=\"data row8 col2\" >\n",
" 629.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row8_col3\"\n",
" class=\"data row8 col3\" >\n",
" 392.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row8_col4\"\n",
" class=\"data row8 col4\" >\n",
" 426.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row8_col5\"\n",
" class=\"data row8 col5\" >\n",
" 458.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row8_col6\"\n",
" class=\"data row8 col6\" >\n",
" 559.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row8_col7\"\n",
" class=\"data row8 col7\" >\n",
" 424.6\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row9\" rowspan=1>\n",
" ジャナフ回復会心1 \n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row9_col0\"\n",
" class=\"data row9 col0\" >\n",
" 攻撃2,弱特3,フルチャ3,超会心2,属性2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row9_col1\"\n",
" class=\"data row9 col1\" >\n",
" 462.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row9_col2\"\n",
" class=\"data row9 col2\" >\n",
" 603.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row9_col3\"\n",
" class=\"data row9 col3\" >\n",
" 377.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row9_col4\"\n",
" class=\"data row9 col4\" >\n",
" 414.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row9_col5\"\n",
" class=\"data row9 col5\" >\n",
" 446.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row9_col6\"\n",
" class=\"data row9 col6\" >\n",
" 532.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row9_col7\"\n",
" class=\"data row9 col7\" >\n",
" 409.8\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row10\" rowspan=1>\n",
" ジャナフ回復会心2 \n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row10_col0\"\n",
" class=\"data row10 col0\" >\n",
" 弱特3,見切2,フルチャ3,超会心2,属性2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row10_col1\"\n",
" class=\"data row10 col1\" >\n",
" 460.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row10_col2\"\n",
" class=\"data row10 col2\" >\n",
" 602.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row10_col3\"\n",
" class=\"data row10 col3\" >\n",
" 379.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row10_col4\"\n",
" class=\"data row10 col4\" >\n",
" 412.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row10_col5\"\n",
" class=\"data row10 col5\" >\n",
" 444.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row10_col6\"\n",
" class=\"data row10 col6\" >\n",
" 532.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row10_col7\"\n",
" class=\"data row10 col7\" >\n",
" 411.5\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row11\" rowspan=1>\n",
" ブロス攻撃会心1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row11_col0\"\n",
" class=\"data row11 col0\" >\n",
" 攻撃5,弱特3,超会心1,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row11_col1\"\n",
" class=\"data row11 col1\" >\n",
" 443.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row11_col2\"\n",
" class=\"data row11 col2\" >\n",
" 622.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row11_col3\"\n",
" class=\"data row11 col3\" >\n",
" 400.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row11_col4\"\n",
" class=\"data row11 col4\" >\n",
" 443.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row11_col5\"\n",
" class=\"data row11 col5\" >\n",
" 443.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row11_col6\"\n",
" class=\"data row11 col6\" >\n",
" 533.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row11_col7\"\n",
" class=\"data row11 col7\" >\n",
" 400.9\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row12\" rowspan=1>\n",
" ブロス攻撃会心2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row12_col0\"\n",
" class=\"data row12 col0\" >\n",
" 攻撃4,弱特3,見切1,超会心1,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row12_col1\"\n",
" class=\"data row12 col1\" >\n",
" 444.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row12_col2\"\n",
" class=\"data row12 col2\" >\n",
" 618.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row12_col3\"\n",
" class=\"data row12 col3\" >\n",
" 398.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row12_col4\"\n",
" class=\"data row12 col4\" >\n",
" 444.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row12_col5\"\n",
" class=\"data row12 col5\" >\n",
" 444.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row12_col6\"\n",
" class=\"data row12 col6\" >\n",
" 530.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row12_col7\"\n",
" class=\"data row12 col7\" >\n",
" 398.5\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row13\" rowspan=1>\n",
" ブロス攻撃会心3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row13_col0\"\n",
" class=\"data row13 col0\" >\n",
" 弱特3,見切5,超会心1,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row13_col1\"\n",
" class=\"data row13 col1\" >\n",
" 439.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row13_col2\"\n",
" class=\"data row13 col2\" >\n",
" 615.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row13_col3\"\n",
" class=\"data row13 col3\" >\n",
" 396.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row13_col4\"\n",
" class=\"data row13 col4\" >\n",
" 439.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row13_col5\"\n",
" class=\"data row13 col5\" >\n",
" 439.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row13_col6\"\n",
" class=\"data row13 col6\" >\n",
" 526.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row13_col7\"\n",
" class=\"data row13 col7\" >\n",
" 396.6\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row14\" rowspan=1>\n",
" ブロス攻撃会心4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row14_col0\"\n",
" class=\"data row14 col0\" >\n",
" 攻撃3,弱特3,超会心2,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row14_col1\"\n",
" class=\"data row14 col1\" >\n",
" 440\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row14_col2\"\n",
" class=\"data row14 col2\" >\n",
" 614\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row14_col3\"\n",
" class=\"data row14 col3\" >\n",
" 394.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row14_col4\"\n",
" class=\"data row14 col4\" >\n",
" 440\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row14_col5\"\n",
" class=\"data row14 col5\" >\n",
" 440\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row14_col6\"\n",
" class=\"data row14 col6\" >\n",
" 528\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row14_col7\"\n",
" class=\"data row14 col7\" >\n",
" 394.5\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row15\" rowspan=1>\n",
" ブロス攻撃会心5\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row15_col0\"\n",
" class=\"data row15 col0\" >\n",
" 弱特3,見切3,超会心2,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row15_col1\"\n",
" class=\"data row15 col1\" >\n",
" 441.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row15_col2\"\n",
" class=\"data row15 col2\" >\n",
" 614.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row15_col3\"\n",
" class=\"data row15 col3\" >\n",
" 397\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row15_col4\"\n",
" class=\"data row15 col4\" >\n",
" 441.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row15_col5\"\n",
" class=\"data row15 col5\" >\n",
" 441.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row15_col6\"\n",
" class=\"data row15 col6\" >\n",
" 525.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row15_col7\"\n",
" class=\"data row15 col7\" >\n",
" 397\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row16\" rowspan=1>\n",
" ブロス会心回復\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row16_col0\"\n",
" class=\"data row16 col0\" >\n",
" 弱特3,見切2,フルチャ3,超会心1,無撃1\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row16_col1\"\n",
" class=\"data row16 col1\" >\n",
" 444.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row16_col2\"\n",
" class=\"data row16 col2\" >\n",
" 624.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row16_col3\"\n",
" class=\"data row16 col3\" >\n",
" 401.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row16_col4\"\n",
" class=\"data row16 col4\" >\n",
" 444.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row16_col5\"\n",
" class=\"data row16 col5\" >\n",
" 444.6\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row16_col6\"\n",
" class=\"data row16 col6\" >\n",
" 535.3\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row16_col7\"\n",
" class=\"data row16 col7\" >\n",
" 401.9\n",
" \n",
" \n",
" </tr>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_f31aaf42_2997_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row17\" rowspan=1>\n",
" 爪回復\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row17_col0\"\n",
" class=\"data row17 col0\" >\n",
" 攻撃7,弱特3,フルチャ3,超会心2\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row17_col1\"\n",
" class=\"data row17 col1\" >\n",
" 383\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row17_col2\"\n",
" class=\"data row17 col2\" >\n",
" 585.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row17_col3\"\n",
" class=\"data row17 col3\" >\n",
" 378\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row17_col4\"\n",
" class=\"data row17 col4\" >\n",
" 415\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row17_col5\"\n",
" class=\"data row17 col5\" >\n",
" 383\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row17_col6\"\n",
" class=\"data row17 col6\" >\n",
" 511.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_f31aaf42_2997_11e8_b918_0242ac110002row17_col7\"\n",
" class=\"data row17 col7\" >\n",
" 362\n",
" \n",
" \n",
" </tr>\n",
" \n",
" </tbody>\n",
" </table>\n",
" "
],
"text/plain": [
"<pandas.formats.style.Styler at 0x7fcf69d0def0>"
]
},
"execution_count": 64,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"conditions = []\n",
"\n",
"# カスタム強化でループ\n",
"for atk, aff, name in [(10, 0, '攻撃攻撃'), (5, 10, '攻撃会心'), (0, 15, '会心会心')]:\n",
" # ジャナフサイクロンⅢ\n",
" weapon = (210 + atk, 21, -20 + aff, 'blue')\n",
"\n",
" con1 = Condition()\n",
" con1.weapon = weapon\n",
" con1.skills.update({'attack': 5, 'weakness': 3, 'critical_boost': 2, 'elemental': 2, 'elemental_critical': 1})\n",
" conditions.append((con1, 'ジャナフ%s1' % (name), 1))\n",
"\n",
" con2 = deepcopy(con1)\n",
" con2.skills.update({'attack': 6, 'critical_boost': 1})\n",
" conditions.append((con2, 'ジャナフ%s2' % (name), 1))\n",
"\n",
" con3 = deepcopy(con1)\n",
" con3.skills.update({'attack': 4, 'critical_boost': 2, 'critical_eye': 1})\n",
" conditions.append((con3, 'ジャナフ%s3' % (name), 1))\n",
" \n",
"# 回復会心カスタム + フルチャ\n",
"weapon = (210, 21, -10, 'blue')\n",
"con1 = Condition()\n",
"con1.weapon = weapon\n",
"con1.skills.update({'attack': 2, 'weakness': 3, 'critical_boost': 2, 'elemental': 2, 'full_charge': 3})\n",
"conditions.append((con1, 'ジャナフ回復会心1 ', 1))\n",
"\n",
"con2 = deepcopy(con1)\n",
"con2.skills.update({'attack': 0, 'critical_eye': 2})\n",
"conditions.append((con2, 'ジャナフ回復会心2 ', 1))\n",
"\n",
"# ブロスクラブⅡ\n",
"weapon = (235, 0, 0, 'white')\n",
"\n",
"con4 = Condition()\n",
"con4.weapon = weapon\n",
"con4.skills.update({'attack': 5, 'weakness': 3, 'critical_boost': 1, 'non_elemental': 1})\n",
"conditions.append((con4, 'ブロス攻撃会心1', 1))\n",
"\n",
"con5 = deepcopy(con4)\n",
"con5.skills.update({'attack': 4, 'weakness': 3, 'critical_eye': 1, 'critical_boost': 1, 'non_elemental': 1})\n",
"conditions.append((con5, 'ブロス攻撃会心2', 1))\n",
"\n",
"con6 = deepcopy(con5)\n",
"con6.skills.update({'attack': 0, 'weakness': 3, 'critical_eye': 5, 'critical_boost': 1, 'non_elemental': 1})\n",
"conditions.append((con6, 'ブロス攻撃会心3', 1))\n",
"\n",
"con7 = deepcopy(con6)\n",
"con7.skills.update({'attack': 3, 'weakness': 3, 'critical_eye': 0, 'critical_boost': 2, 'non_elemental': 1})\n",
"conditions.append((con7, 'ブロス攻撃会心4', 1))\n",
"\n",
"con8 = deepcopy(con7)\n",
"con8.skills.update({'attack': 0, 'weakness': 3, 'critical_eye': 3, 'critical_boost': 2, 'non_elemental': 1})\n",
"conditions.append((con8, 'ブロス攻撃会心5', 1))\n",
"\n",
"# 会心回復 + フルチャージ\n",
"con9 = deepcopy(con8)\n",
"con9.weapon = (230, 0, 0, 'white')\n",
"con9.skills.update({'attack': 0, 'weakness': 3, 'critical_eye': 2, 'critical_boost': 1, 'non_elemental': 1, 'full_charge': 3})\n",
"conditions.append((con9, 'ブロス会心回復', 1))\n",
"\n",
"# 殲滅の爪\n",
"# 回復+フルチャージ\n",
"weapon = (210, 12, 0, 'blue')\n",
"con10 = Condition()\n",
"con10.weapon = weapon\n",
"con10.skills.update({'attack': 7, 'weakness': 3, 'critical_boost': 2, 'element_critical': 1, 'full_charge': 3})\n",
"conditions.append((con10, '爪回復', 2))\n",
"\n",
"df = get_datas(targets, labels, motion, conditions)\n",
"df.style.apply(highlight_max)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# ネルギガンテ\n",
"- ランナー2, 剛刃1\n",
"- 白ゲ出るまで匠"
]
},
{
"cell_type": "code",
"execution_count": 66,
"metadata": {},
"outputs": [],
"source": [
"target_labels = ['頭', '頭(白)', '頭(黒)', '角', '前足', '前足(白)', '前足(黒)', '尻尾', '尻尾(白)', '尻尾(黒)']\n",
"# 物理, 雷, 龍\n",
"targets = [(45, 15, 5), (75, 15, 5), (20, 20, 10), (20, 20, 10), (50, 15, 5), (70, 15, 5), (10, 20, 10), (60, 10, 5), (65, 15, 10), (25, 20, 15)]\n",
"labels = []\n",
"for label, target in zip(target_labels, targets):\n",
" labels.append('%s(%d,%d,%d)' % (label, target[0], target[1], target[2]))\n",
"motion = motionlist.DUAL_BLADE_BLADE_DANCE"
]
},
{
"cell_type": "code",
"execution_count": 69,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
" <style type=\"text/css\" >\n",
" \n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col0 {\n",
" \n",
" text-align: left;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col1 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col2 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col3 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col4 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col5 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col6 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col7 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col8 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col9 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" #T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col10 {\n",
" \n",
" color: green;\n",
" \n",
" }\n",
" \n",
" </style>\n",
"\n",
" <table id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002\" None>\n",
" \n",
"\n",
" <thead>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th class=\"blank level0\" >\n",
" \n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col0\" colspan=1>\n",
" スキル\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col1\" colspan=1>\n",
" 頭(45,15,5)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col2\" colspan=1>\n",
" 頭(白)(75,15,5)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col3\" colspan=1>\n",
" 頭(黒)(20,20,10)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col4\" colspan=1>\n",
" 角(20,20,10)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col5\" colspan=1>\n",
" 前足(50,15,5)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col6\" colspan=1>\n",
" 前足(白)(70,15,5)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col7\" colspan=1>\n",
" 前足(黒)(10,20,10)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col8\" colspan=1>\n",
" 尻尾(60,10,5)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col9\" colspan=1>\n",
" 尻尾(白)(65,15,10)\n",
" \n",
" \n",
" \n",
" <th class=\"col_heading level0 col10\" colspan=1>\n",
" 尻尾(黒)(25,20,15)\n",
" \n",
" \n",
" </tr>\n",
" \n",
" </thead>\n",
" <tbody>\n",
" \n",
" <tr>\n",
" \n",
" \n",
" <th id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002\"\n",
" class=\"row_heading level0 row0\" rowspan=1>\n",
" カガチ1\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col0\"\n",
" class=\"data row0 col0\" >\n",
" 攻撃7,弱特3,超会心2\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col1\"\n",
" class=\"data row0 col1\" >\n",
" 377.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col2\"\n",
" class=\"data row0 col2\" >\n",
" 596.4\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col3\"\n",
" class=\"data row0 col3\" >\n",
" 173.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col4\"\n",
" class=\"data row0 col4\" >\n",
" 173.1\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col5\"\n",
" class=\"data row0 col5\" >\n",
" 414.2\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col6\"\n",
" class=\"data row0 col6\" >\n",
" 559.9\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col7\"\n",
" class=\"data row0 col7\" >\n",
" 110.5\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col8\"\n",
" class=\"data row0 col8\" >\n",
" 470.8\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col9\"\n",
" class=\"data row0 col9\" >\n",
" 524.7\n",
" \n",
" \n",
" \n",
" <td id=\"T_dfdc51ae_2999_11e8_b918_0242ac110002row0_col10\"\n",
" class=\"data row0 col10\" >\n",
" 204.8\n",
" \n",
" \n",
" </tr>\n",
" \n",
" </tbody>\n",
" </table>\n",
" "
],
"text/plain": [
"<pandas.formats.style.Styler at 0x7fcf69d23710>"
]
},
"execution_count": 69,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"conditions = []\n",
"# カガチノツメⅢ\n",
"weapon = (180, 15, 10, 'white')\n",
"\n",
"con1 = Condition()\n",
"con1.weapon = weapon\n",
"con1.skills.update({'attack': 7, 'weakness': 3, 'critical_boost': 2, 'element': 2, 'element_critical': 1})\n",
"conditions.append((con1, 'カガチ1', 1))\n",
"\n",
"# ブロスクラブⅡ\n",
"weapon = (230, 0, -10, 'white')\n",
"con2 = Condition()\n",
"con2.weapon = weapon\n",
"con2.skills.update({'attack': 7, 'weakness': 3, 'critical_boost': 2, 'critical_eye': 1, 'non_elemental': 1})\n",
"conditions.append((con2, 'ブロス1', 1))\n",
"\n",
"df = get_datas(targets, labels, motion, conditions)\n",
"df.style.apply(highlight_max)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment