-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
277 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
<html> | ||
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | ||
<script> | ||
if (typeof module === "object" && module.exports) { | ||
window.$ = window.jQuery = module.exports; | ||
module.exports = {}; | ||
} | ||
const { ipcRenderer } = require("electron") | ||
$(() => { | ||
// $("#item_recipe").on({ | ||
// mouseenter: () => { $("#recipe").css({'display':'block'}) }, | ||
// mouseleave: () => { $("#recipe").css({'display':'none'}) }, | ||
// }); | ||
// $("#recipe").on({ | ||
// mouseenter: () => { $("#recipe").css({'display':'block'}) }, | ||
// mouseleave: () => { $("#recipe").css({'display':'none'}) }, | ||
// }); | ||
// $('.item').on({ | ||
// mouseenter: () => { ipcRenderer.send('resize', 480, 480); }, | ||
// mouseleave: () => { ipcRenderer.send('resize', 480, 120); } | ||
// }); | ||
$("#item_recipe").on("click", function () { | ||
var _click = $(this).data("click"); | ||
if (_click == "close") { | ||
ipcRenderer.send('resize', 500, 378); | ||
$(this).data("click", "open"); | ||
$("#recipe").css({ 'display': 'block' }); | ||
} else { | ||
ipcRenderer.send('resize', 84, 42); | ||
$(this).data("click", "close"); | ||
$("#recipe").css({ 'display': 'none' }); | ||
} | ||
}); | ||
}); | ||
var recipe_list = { | ||
"BF": [ | ||
["BF","infinity_edge","クリティカルダメージ+100%"], | ||
["Rod","hextech_gunblade","与えたダメージの25%を回復する"], | ||
["Bow","sword_of_the_divine","毎秒5%の確率でクリティカル率が100%"], | ||
["Tear","spear_of_shojin","通常攻撃で+15%のマナを回復する"], | ||
["Vest","guardian_angel","倒されたチャンピオンはHP500で1度だけ復活する"], | ||
["Cape","bloodthirster","通常攻撃ダメージの50%を回復する"], | ||
["Belt","zekes_herald","周囲のチャンピオンの攻撃速度+10%"], | ||
["Spatula","youmuus_ghostblade","アサシンを付与する"], | ||
], | ||
"Rod": [ | ||
["BF","hextech_gunblade","与えたダメージの25%を回復する"], | ||
["Rod","rabadons_deathcap","スキルダメージ+50%"], | ||
["Bow","guinsoos_rageblade","通常攻撃するたびに攻撃速度が3%上昇する(スタック無制限)"], | ||
["Tear","ludens_echo","スキルダメージにより200ダメージを周囲のチャンピオンに与える"], | ||
["Vest","locket_of_the_iron_solari","戦闘開始時、周囲のチャンピオンに200のシールドを付与する"], | ||
["Cape","ionic_spark","スキルを発動した相手は200ダメージを受ける"], | ||
["Belt","morellonomicon","スキルダメージが毎秒相手の最大体力の5%の燃焼ダメージを与える"], | ||
["Spatula","yuumi","ソーサラーを付与する"], | ||
], | ||
"Bow": [ | ||
["BF","sword_of_the_divine","毎秒5%の確率でクリティカル率が100%"], | ||
["Rod","guinsoos_rageblade","通常攻撃するたびに攻撃速度が3%上昇する(スタック無制限)"], | ||
["Bow","rapid_firecannon","通常攻撃の射程が2倍になり、避けられなくなる"], | ||
["Tear","statikk_shiv","通常攻撃3回ごとに100の範囲ダメージを与える"], | ||
["Vest","phantom_dancer","クリティカルダメージを回避する"], | ||
["Cape","cursed_blade","通常攻撃により低確率で相手チャンピオンのレベルを下げる"], | ||
["Belt","titanic_hydra","通常攻撃が最大体力の10%にあたる範囲ダメージを与える"], | ||
["Spatula","blade_of_the_ruined_king","ブレードマスターを付与する"], | ||
], | ||
"Tear": [ | ||
["BF","spear_of_shojin","通常攻撃で+15%のマナを回復する"], | ||
["Rod","ludens_echo","スキルダメージにより200ダメージを周囲のチャンピオンに与える"], | ||
["Bow","statikk_shiv","通常攻撃3回ごとに100の範囲ダメージを与える"], | ||
["Tear","seraphs_embrace","スキルを発動するたび最大マナの20%を回復する"], | ||
["Vest","frozen_heart","周囲の敵の攻撃速度を20%低下させる"], | ||
["Cape","hush","通常攻撃により高確率で相手をサイレンスにする"], | ||
["Belt","redemption","倒されたとき、周囲のチャンピオンを1000回復する"], | ||
["Spatula","darkin","デーモンを付与する"], | ||
], | ||
"Vest": [ | ||
["BF","guardian_angel","倒されたチャンピオンはHP500で1度だけ復活する"], | ||
["Rod","locket_of_the_iron_solari","戦闘開始時、周囲のチャンピオンに200のシールドを付与する"], | ||
["Bow","phantom_dancer","クリティカルダメージを回避する"], | ||
["Tear","frozen_heart","周囲の敵の攻撃速度を20%低下させる"], | ||
["Vest","thornmail","通常攻撃ダメージを35%反射する"], | ||
["Cape","sword_breaker","通常攻撃により一定確率で装備を解除する"], | ||
["Belt","red_buff","通常攻撃で2.5%の燃焼ダメージを与える"], | ||
["Spatula","knights_vow","ナイトを付与する"], | ||
], | ||
"Cape": [ | ||
["BF","bloodthirster","通常攻撃ダメージの50%を回復する"], | ||
["Rod","ionic_spark","スキルを発動した相手は200ダメージを受ける"], | ||
["Bow","cursed_blade","通常攻撃により低確率で相手チャンピオンのレベルを下げる"], | ||
["Tear","hush","通常攻撃により高確率で相手をサイレンスにする"], | ||
["Vest","sword_breaker","通常攻撃により一定確率で装備を解除する"], | ||
["Cape","dragons_claw","スキルダメージを83%カットする"], | ||
["Belt","zephyr","戦闘開始時、敵1体を5秒間行動不能にする"], | ||
["Spatula","runaans_hurricane","通常攻撃の50%のダメージを追加で2体のチャンピオンに与える"], | ||
], | ||
"Belt": [ | ||
["BF","zekes_herald","周囲のチャンピオンの攻撃速度+10%"], | ||
["Rod","morellonomicon","スキルダメージが毎秒相手の最大体力の5%の燃焼ダメージを与える"], | ||
["Bow","titanic_hydra","通常攻撃が最大体力の10%にあたる範囲ダメージを与える"], | ||
["Tear","redemption","倒されたとき、周囲のチャンピオンを1000回復する"], | ||
["Vest","red_buff","通常攻撃で2.5%の燃焼ダメージを与える"], | ||
["Cape","zephyr","戦闘開始時、敵1体を5秒間行動不能にする"], | ||
["Belt","warmogs_armor","毎秒最大体力の3%を回復する"], | ||
["Spatula","frozen_mallet","グレイシャルを付与する"], | ||
], | ||
"Spatula": [ | ||
["BF","youmuus_ghostblade","アサシンを付与する"], | ||
["Rod","yuumi","ソーサラーを付与する"], | ||
["Bow","blade_of_the_ruined_king","ブレードマスターを付与する"], | ||
["Tear","darkin","デーモンを付与する"], | ||
["Vest","knights_vow","ナイトを付与する"], | ||
["Cape","runaans_hurricane","通常攻撃の50%のダメージを追加で2体のチャンピオンに与える"], | ||
["Belt","frozen_mallet","グレイシャルを付与する"], | ||
["Spatula","force_of_nature","チームサイズを1追加する"], | ||
], | ||
} | ||
function recipe_img_change(id) { | ||
$('[id=recipe_img]').attr("src", "Images/item/" + id + ".png"); | ||
for(let v of recipe_list[id]) { | ||
$("#"+v[0]+".completed.item").attr("src", "Images/item/" + v[1] + ".png"); | ||
$("#"+v[0]+".completed.text").text(v[2]); | ||
console.log(v[0], v[1], v[2]); | ||
} | ||
} | ||
</script> | ||
|
||
<body> | ||
<div id="bar"> | ||
<img src="Images/item/Spatula.png" id="item_recipe" class="item" data-click="close"> | ||
<!-- <img src="Images/item/Rod.png" id="Rod" class="item"> | ||
<img src="Images/item/Bow.png" id="Bow" class="item"> | ||
<img src="Images/item/Tear.png" id="Tear" class="item"> | ||
<img src="Images/item/Vest.png" id="Vest" class="item"> | ||
<img src="Images/item/Cape.png" id="Cape" class="item"> | ||
<img src="Images/item/Belt.png" id="Belt" class="item"> | ||
<img src="Images/item/Spatula.png" id="Spatula" class="item"> | ||
<img src="Images/item/Spatula.png" id="Spatula" class="drag item"> --> | ||
</div> | ||
<div id="recipe"> | ||
<div> | ||
<img src="Images/item/BF.png" id="BF" class="item" onclick="recipe_img_change(this.id)"> | ||
<span class="text">+</span> | ||
<img src="Images/item/BF.png" id="recipe_img" class="item_small"> | ||
<span class="text">=</span> | ||
<img src="Images/item/infinity_edge.png" id="BF" class="item completed"> | ||
<span id="BF" class="text completed">クリティカルダメージ+100%</span> | ||
</div> | ||
<div> | ||
<img src="Images/item/Rod.png" id="Rod" class="item" onclick="recipe_img_change(this.id)"> | ||
<span class="text">+</span> | ||
<img src="Images/item/BF.png" id="recipe_img" class="item_small"> | ||
<span class="text">=</span> | ||
<img src="Images/item/hextech_gunblade.png" id="Rod" class="item completed"> | ||
<span id="Rod" class="text completed">与えたダメージの25%を回復する</span> | ||
</div> | ||
<div> | ||
<img src="Images/item/Bow.png" id="Bow" class="item" onclick="recipe_img_change(this.id)"> | ||
<span class="text">+</span> | ||
<img src="Images/item/BF.png" id="recipe_img" class="item_small"> | ||
<span class="text">=</span> | ||
<img src="Images/item/sword_of_the_divine.png" id="Bow" class="item completed"> | ||
<span id="Bow" class="text completed">毎秒5%の確率でクリティカル率が100%</span> | ||
</div> | ||
<div> | ||
<img src="Images/item/Tear.png" id="Tear" class="item" onclick="recipe_img_change(this.id)"> | ||
<span class="text">+</span> | ||
<img src="Images/item/BF.png" id="recipe_img" class="item_small"> | ||
<span class="text">=</span> | ||
<img src="Images/item/spear_of_shojin.png" id="Tear" class="item completed"> | ||
<span id="Tear" class="text completed">通常攻撃で+15%のマナを回復する</span> | ||
</div> | ||
<div> | ||
<img src="Images/item/Vest.png" id="Vest" class="item" onclick="recipe_img_change(this.id)"> | ||
<span class="text">+</span> | ||
<img src="Images/item/BF.png" id="recipe_img" class="item_small"> | ||
<span class="text">=</span> | ||
<img src="Images/item/guardian_angel.png" id="Vest" class="item completed"> | ||
<span id="Vest" class="text completed">倒されたチャンピオンはHP500で1度だけ復活する</span> | ||
</div> | ||
<div> | ||
<img src="Images/item/Cape.png" id="Cape" class="item" onclick="recipe_img_change(this.id)"> | ||
<span class="text">+</span> | ||
<img src="Images/item/BF.png" id="recipe_img" class="item_small"> | ||
<span class="text">=</span> | ||
<img src="Images/item/bloodthirster.png" id="Cape" class="item completed"> | ||
<span id="Cape" class="text completed">通常攻撃ダメージの50%を回復する</span> | ||
</div> | ||
<div> | ||
<img src="Images/item/Belt.png" id="Belt" class="item" onclick="recipe_img_change(this.id)"> | ||
<span class="text">+</span> | ||
<img src="Images/item/BF.png" id="recipe_img" class="item_small"> | ||
<span class="text">=</span> | ||
<img src="Images/item/zekes_herald.png" id="Belt" class="item completed"> | ||
<span id="Belt" class="text completed"> 周囲のチャンピオンの攻撃速度+10%</span> | ||
</div> | ||
<div> | ||
<img src="Images/item/Spatula.png" id="Spatula" class="item" onclick="recipe_img_change(this.id)"> | ||
<span class="text">+</span> | ||
<img src="Images/item/BF.png" id="recipe_img" class="item_small"> | ||
<span class="text">=</span> | ||
<img src="Images/item/youmuus_ghostblade.png" id="Spatula" class="item completed"> | ||
<span id="Spatula" class="text completed">アサシンを付与する</span> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> | ||
<style> | ||
html, | ||
body { | ||
width: 100%; | ||
height: 100%; | ||
margin: 0; | ||
font-size: 0%; | ||
background: rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
#bar { | ||
-webkit-app-region: drag; | ||
} | ||
|
||
img.item { | ||
width: 42px; | ||
vertical-align: bottom; | ||
-webkit-app-region: no-drag; | ||
} | ||
img.item_small { | ||
width: 21px; | ||
vertical-align: bottom; | ||
padding-bottom: 10.5px; | ||
} | ||
|
||
#recipe { | ||
display: none; | ||
} | ||
|
||
.text { | ||
font-size: 12px !important; | ||
color: white; | ||
vertical-align: middle; | ||
line-height: 42px; | ||
margin: 1.9px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const { app, BrowserWindow, shell, ipcMain } = require("electron") | ||
var path = require('path') | ||
|
||
|
||
app.on("ready", () => { | ||
let win = new BrowserWindow({ | ||
width: 84, | ||
height: 42, | ||
transparent: true, | ||
frame: false, | ||
titleBarStyle: "hidden", | ||
fullscreenable: false, | ||
fullscreen: false, | ||
}) | ||
win.loadURL(`file://${__dirname}/index.html`) | ||
win.setAlwaysOnTop(true); | ||
win.setIgnoreMouseEvents(false); | ||
win.on('closed', () => { win = null; }) | ||
ipcMain.on('resize', (e, x, y) => { | ||
win.setSize(x, y) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "lol-tft-tool", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
"license": "ISC" | ||
} |