fensalirが好きさね for LataleWiki
ユーザ用ツール
ユーザー登録
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
全て展開する/折り畳む
バックリンク
最近の変更
メディアマネージャー
ユーザー登録
ログイン
>
最近の変更
メディアマネージャー
現在位置:
トップページ
»
javascript
»
enchant
javascript:enchant:index
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
<html> <script type="text/javascript"> function calc_total(){ success_rate = 0; for (i=0; i<document.calculator.length-1; i++){ if (document.calculator.elements[i].checked == true){ success_rate += parseInt(document.calculator.elements[i].value); } } document.calculator.total.value = success_rate + " %"; } function result_clear() { var ElementsCount = document.calculator.elements.length; for( j=0 ; j<ElementsCount ; j++ ) { document.calculator.elements[j].checked = false; } document.calculator.total.value = "0 %" } </script> <div class="enchant"> <form name="calculator"> <table> <tbody> <tr> <th rowspan=5>ベース成功率(選択)</th> <td><label><input type="radio" name="base_en" value="95" onclick="calc_total()">通常エンチャント(95%)</label></td> </tr> <tr> <td><label><input type="radio" name="base_en" value="80" onclick="calc_total()">シャドウウォーカー新特殊(80%)</label></td> </tr> <tr> <td><label><input type="radio" name="base_en" value="70" onclick="calc_total()">ジェム・特殊・11貼(70%)</label></td> </tr> <tr> <td><label><input type="radio" name="base_en" value="60" onclick="calc_total()">12貼り(60%)</label></td> </tr> <tr> <td><label><input type="radio" name="base_en" value="50" onclick="calc_total()">13以降(50%)</label></td> </tr> <tr> <th>消費A</th> <td><label><input type="checkbox" value="5" onclick="calc_total()">イベントポニーの祝福新薬(5%)</label></td> </tr> <tr> <th>消費B</th> <td><label><input type="checkbox" value="3" onclick="calc_total()">アイテムエンチャントの秘薬(3%)</label></td> </tr> <tr> <th>消費C</th> <td><label><input type="checkbox" value="2" onclick="calc_total()">アイテムエンチャントの妙薬(2%)</label></td> </tr> <tr> <th>消費D</th> <td><label><input type="checkbox" value="2" onclick="calc_total()">アイテムエンチャントの新薬(2%)</label></td> </tr> <tr> <th>ペット</th> <td><label><input type="checkbox" value="1" onclick="calc_total()">でかモッチー(1%)</label></td> </tr> <tr> <th>ファッション(メイク)</th> <td><label><input type="checkbox" value="2" onclick="calc_total()">エンチャント幸運のメイク(2%) </label></td> </tr> <tr> <th>ファッション(顔)</th> <td><label><input type="checkbox" value="2" onclick="calc_total()">エンチャント仮面(2%)</label></td> </tr> <tr> <th rowspan=2>タイトル(選択)</th> <td><label><input type="radio" name="title" value="2" onclick="calc_total()">匠の手(2%)</label></td> </tr> <tr> <td><label><input type="radio" name="title" value="3" onclick="calc_total()">ミダスの手(3%)</label></td> </tr> <tr> <th rowspan=2>ルーンワード(選択)</th> <td><label><input type="radio" name="rune" value="1" onclick="calc_total()">通常スロット(1%)</label></td> </tr> <tr> <td><label><input type="radio" name="rune" value="2" onclick="calc_total()">超越Lv2000スロット(2%)</label></td> </tr> <tr> <th rowspan=2>その他</th> <td><label><input type="checkbox" value="10" onclick="calc_total()">スーパーハンマー(10%)</label></td> </tr> <tr> <td><label><input type="checkbox" value="5" onclick="calc_total()">馬バフ(5%)</label></td> </tr> <tr> <th>成功率合計(%)</th> <td> <input type="text" name="total"> </td> </tr> </tbody> </table> <p><input type="button" value="クリア" onclick="result_clear();"></p> </form> </div> </html>
javascript/enchant/index.txt
· 最終更新: 2022/06/10 17:23 by
fensalir
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
全て展開する/折り畳む
文書の先頭へ