留言

Amon · 2025-02-16 15:17:32

求問大大這是甚麼問題463x NameplateSCT/NameplateSCT.lua:930: attempt to perform arithmetic on local 'amount' (a string value)
[string "@NameplateSCT/NameplateSCT.lua"]:930: in function `DamageEvent'
[string "@NameplateSCT/NameplateSCT.lua"]:776: in function <NameplateSCT/NameplateSCT.lua:745>
[string "=(tail call)"]: ?
[string "@!!!EaseAddonController/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...ler/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@!!!EaseAddonController/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ler/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@!!!EaseAddonController/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@!!!EaseAddonController/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...seAddonController/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:
self = <table> {
 modules = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 baseName = "NameplateSCT"
 name = "NameplateSCT"
 orderedModules = <table> {
 }
 db = <table> {
 }
 enabledState = true
 defaultModuleState = true
 frame = Frame {
 }
}
guid = "Player-6116-0126754A"
spellName = "懲戒光環"
amount = "RESIST"
overkill = false
school = 0
crit = nil
spellId = 8990
absorbed = nil
amount = "RESIST"
absorbed = 0
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'amount' (a string value)"
playerGUID = "Player-6116-0126754A"
guidToUnit = <table> {
 Creature-0-5840-329-1705-10426-0002A391A4 = "nameplate4"
 Creature-0-5840-329-1705-10426-00032391A4 = "nameplate3"
 Creature-0-5840-329-1705-10424-0004A391A4 = "nameplate2"
 Creature-0-5840-329-1705-10424-00052391A4 = "nameplate1"
}
NameplateSCT = <table> {
 modules = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 baseName = "NameplateSCT"
 name = "NameplateSCT"
 orderedModules = <table> {
 }
 db = <table> {
 }
 enabledState = true
 defaultModuleState = true
 frame = Frame {
 }
}
L = <table> {
 Y Variance = "垂直變化"
 X Variance = "水平變化"
 Truncate Method:

Western:
  1000=>1K,
  1000K=>1M
Asia East:
  10000=>1w = "縮寫規則:

西方:
  1000=>1K,
  1000K=>1M

Amon · 2025-02-19 00:15:45

帳號共通的設定檔案 跟 角色專用的設定檔案 似乎都沒有NameplateSCT...

Dololo · 2025-02-19 00:46:37

它在 WTF\Account\帳號編號\SavedVariables 裡面

Amon · 2025-02-19 21:06:12

感謝您的幫助!