var a1, a2, opt1, opt2, opt3;\r
\r
if(kage.kShotai == kage.kMincho){ // mincho\r
- a1 = ta1 % 100;\r
+ a1 = ta1 % 1000;\r
a2 = ta2 % 100;\r
- opt1 = Math.floor((ta1 % 1000) / 100);\r
+ opt1 = Math.floor((ta1 % 10000) / 1000);\r
opt2 = Math.floor(ta2 / 100);\r
- opt3 = Math.floor(ta1 / 1000);\r
+ opt3 = Math.floor(ta1 / 10000);\r
\r
kMinWidthT = kage.kMinWidthT - opt1 / 2;\r
kMinWidthT2 = kage.kMinWidthT - opt3 / 2;\r
ty3 = y3;\r
\r
cdDrawLine(kage, polygons, x1, y1, tx1, ty1, a2, 1);\r
- cdDrawCurve(kage, polygons, tx1, ty1, x2, y2, tx2, ty2, 1 + (a2 - a2 % 100) * 10, 1);\r
+ cdDrawCurve(kage, polygons, tx1, ty1, x2, y2, tx2, ty2, 1 + (a2 - a2 % 1000) * 10, 1);\r
if(tx3 - tx2 > 0){ // for closer position\r
cdDrawLine(kage, polygons, tx2, ty2, tx3, ty3, 6, 5); // bolder by force\r
}\r
ty2 = y2 + kage.kMage * Math.sin(rad) * v;\r
}\r
cdDrawLine(kage, polygons, x1, y1, tx1, ty1, a2, 1);\r
- cdDrawCurve(kage, polygons, tx1, ty1, x2, y2, tx2, ty2, 1 + (a2 - a2 % 100) * 10, 1);\r
+ cdDrawCurve(kage, polygons, tx1, ty1, x2, y2, tx2, ty2, 1 + (a2 - a2 % 1000) * 10, 1);\r
cdDrawLine(kage, polygons, tx2, ty2, x3, y3, 6, a3); // bolder by force\r
}\r
break;\r
break;\r
case 7:\r
cdDrawLine(kage, polygons, x1, y1, x2, y2, a2, 1);\r
- cdDrawCurve(kage, polygons, x2, y2, x3, y3, x4, y4, 1 + (a2 - a2 % 100), a3);\r
+ cdDrawCurve(kage, polygons, x2, y2, x3, y3, x4, y4, 1 + (a2 - a2 % 1000), a3);\r
break;\r
case 9: // may not be exist ... no need\r
//kageCanvas[y1][x1] = 0;\r