Diff
checker
文本
文本
图像
文档
Excel
文件夹
Legal
Enterprise
桌面版
定价
登录
下载 Diffchecker 桌面版
比较文本
查找两个文本文件之间的差异
工具
历史
显示
视图
拆分
统一
实时编辑器
隐藏空白更改
折叠未更改行
关闭换行
比对精度
智能
语法
无
更改外观
处理
忽略
文本转换
转到第一个差异
编辑输入
Diffchecker Desktop
运行Diffchecker最安全的方式。获取Diffchecker桌面应用:您的差异永远不会离开您的电脑!
获取桌面版
Untitled diff
创建于
10年前
差异永不过期
清除
导出
分享
解释
22 删除
行
总计
删除
字符
总计
删除
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
48 行
全部复制
5 添加
行
总计
添加
字符
总计
添加
要继续使用此功能,请升级到
Diff
checker
Pro
查看价格
34 行
全部复制
function(event, ...)
function(event, ...)
local timeStamp, subevent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellId, spellName, spellSchool, extraSpellID, extraSpellName, extraSchool = ...
local timeStamp, subevent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellId, spellName, spellSchool, extraSpellID, extraSpellName, extraSchool = ...
复制
已复制
复制
已复制
if event == "ENCOUNTER_START" then
aura_env
.shackles
=
{}
local
aura_env
=
aura_env
end
if subevent == "SPELL_CAST_SUCCESS" and spellName == "Устроенный хаос" then
if subevent == "SPELL_CAST_SUCCESS" and spellName == "Устроенный хаос" then
return true
return true
end
end
if spellName == "Скованное страдание" then
if spellName == "Скованное страдание" then
if subevent == "SPELL_AURA_APPLIED" then
if subevent == "SPELL_AURA_APPLIED" then
复制
已复制
复制
已复制
destName = select(6, GetPlayerInfoByGUID(destGUID))
local x, y = UnitPosition(destName)
local x, y = UnitPosition(destName)
复制
已复制
复制
已复制
destName = destName:gsub("-.*", "")
--aura_env.shackles = aura_env.shackles or {}
--table.insert(aura_env.shackles, {["name"]=destName, ["x"]=x, ["y"]=y})
--table.insert(aura_env.shackles, {["name"]=destName, ["x"]=x, ["y"]=y})
aura_env.shackles[destName] = {["x"]=x, ["y"]=y}
aura_env.shackles[destName] = {["x"]=x, ["y"]=y}
return true
return true
end
end
end
end
end
end
复制
已复制
复制
已复制
已保存差异
原始文本
打开文件
function(event, ...) local timeStamp, subevent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellId, spellName, spellSchool, extraSpellID, extraSpellName, extraSchool = ... if event == "ENCOUNTER_START" then aura_env.shackles = {} end if subevent == "SPELL_CAST_SUCCESS" and spellName == "Устроенный хаос" then return true end if spellName == "Скованное страдание" then if subevent == "SPELL_AURA_APPLIED" then destName = select(6, GetPlayerInfoByGUID(destGUID)) local x, y = UnitPosition(destName) --table.insert(aura_env.shackles, {["name"]=destName, ["x"]=x, ["y"]=y}) aura_env.shackles[destName] = {["x"]=x, ["y"]=y} return true end end end
更改后文本
打开文件
function(event, ...) local timeStamp, subevent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellId, spellName, spellSchool, extraSpellID, extraSpellName, extraSchool = ... local aura_env = aura_env if subevent == "SPELL_CAST_SUCCESS" and spellName == "Устроенный хаос" then return true end if spellName == "Скованное страдание" then if subevent == "SPELL_AURA_APPLIED" then local x, y = UnitPosition(destName) destName = destName:gsub("-.*", "") --aura_env.shackles = aura_env.shackles or {} --table.insert(aura_env.shackles, {["name"]=destName, ["x"]=x, ["y"]=y}) aura_env.shackles[destName] = {["x"]=x, ["y"]=y} return true end end end
查找差异