Skip to content

Commit

Permalink
スクワイアのメンテスキル変更対応.
Browse files Browse the repository at this point in the history
  • Loading branch information
weizlogy committed Sep 10, 2018
1 parent 45aec3f commit 5ceb608
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
4 changes: 2 additions & 2 deletions addons.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,10 @@
"name" : "Show Buff-Seller Type",
"file" : "showbuffsellertype",
"extension" : "ipf",
"fileVersion" : "v1.0.0",
"fileVersion" : "v1.1.0",
"releaseTag" : "showbuffsellertype",
"unicode" : "📖",
"description" : "商店のフキダシに商店名を付けて紛らわしさを回避します。(主に武器メンテ、防具メンテ、修理の区別)",
"description" : "商店のフキダシに商店名を付けて紛らわしさを回避します。(主に装備メンテ、修理の区別)",
"tags" : [
"buffseller"
]
Expand Down
20 changes: 15 additions & 5 deletions showbuffsellertype/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
## Latest Release Note.
# Release Note.

### v1.0.0
## v1.1.0

#### 新規作成
### 何をするもの?

商店のフキダシに商店名を付けて紛らわしさを回避します。(主に武器メンテ、防具メンテ、修理の区別)
商店のフキダシに商店名を付けて紛らわしさを回避します。(主に装備メンテ、修理の区別)

see [http://www.weizlogy.gq/tos/addon/showbuffsellertype/](http://www.weizlogy.gq/tos/addon/showbuffsellertype/)
### どうすれば?

ipfファイルをインストールするだけです。

### いつ動くの?

- バフ屋バルーンフレーム処理発生時

### 注意事項

ないよ!
11 changes: 6 additions & 5 deletions showbuffsellertype/showbuffsellertype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ function g.new(self)
elseif sellType == AUTO_SELL_GEM_ROASTING then
sellerTypeName = 'ジェムロースト'
elseif sellType == AUTO_SELL_SQUIRE_BUFF then
if skillID == 10701 then
sellerTypeName = '武器メンテ'
elseif skillID == 10702 then
sellerTypeName = '防具メンテ'
elseif skillID == 10703 then
local skillName = GetClassByType("Skill", skillID).ClassName
if "Squire_EquipmentTouchUp" == skillName then
sellerTypeName = '装備メンテ'
elseif "Squire_Repair" == skillName then
sellerTypeName = '修理'
end
elseif sellType == AUTO_SELL_OBLATION then
Expand All @@ -37,6 +36,8 @@ function g.new(self)
sellerTypeName = '鑑定'
elseif sellType == AUTO_SELL_PORTAL then
sellerTypeName = 'ポータル'
elseif sellType == AUTO_SELL_AWAKENING then
sellerTypeName = '覚醒'
end
return sellerTypeName
end
Expand Down

0 comments on commit 5ceb608

Please sign in to comment.