Diff
checker
텍스트
텍스트
이미지
문서
Excel
폴더
Legal
Enterprise
데스크톱
요금제
로그인
데스크톱 앱 다운로드
텍스트 비교
두 텍스트 파일의 차이점을 찾아보세요
도구
기록
실시간 편집
변경 없는 행 숨기기
줄바꿈 비활성화
레이아웃
나란히 보기
합쳐 보기
비교 단위
스마트
단어
글자
구문 강조
언어 선택
제외
텍스트 변환
첫 변경으로
수정
Diffchecker Desktop
가장 안전하게 Diffchecker를 사용하는 방법. 데스크톱 앱을 사용하면 비교 데이터가 외부로 전송되지 않습니다!
데스크톱 앱 받기
Untitled diff
생성일
10년 전
비교 결과 만료 없음
초기화
내보내기
공유
설명
4 삭제
행
총
삭제
글자
총
삭제
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
35 행
복사
4 추가
행
총
추가
글자
총
추가
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
35 행
복사
local cfg = {
local cfg = {
bless = { 1, 2, 3, 4, 5 }
bless = { 1, 2, 3, 4, 5 }
}
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
function onUse(cid, item, fromPosition, itemEx, toPosition)
복사
복사됨
복사
복사됨
if item.
aid
>
0
then
if item.
actionid
>
24354
then
if item.
aid
~= getPlayerGUID(cid) then
if item.
actionid
~= getPlayerGUID(cid) then
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
복사
복사됨
복사
복사됨
doPlayerSendCancel(cid, "Get your filthy hands off Master " .. getPlayerNameByGUID(item.
aid
) .. "'s Book you thief!")
doPlayerSendCancel(cid, "Get your filthy hands off Master " .. getPlayerNameByGUID(item.
actionid
) .. "'s Book you thief!")
return true
return true
end
end
end
end
for i = 1, table.maxn(cfg.bless) do
for i = 1, table.maxn(cfg.bless) do
if(getPlayerBlessing(cid, cfg.bless[i])) then
if(getPlayerBlessing(cid, cfg.bless[i])) then
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF)
doPlayerSendCancel(cid, "You have already recieved Blessings!")
doPlayerSendCancel(cid, "You have already recieved Blessings!")
return true
return true
end
end
end
end
local exstorage = 45001
local exstorage = 45001
if exhaustion.check(cid, exstorage) then
if exhaustion.check(cid, exstorage) then
doSendMagicEffect(getThingPos(cid), CONST_ME_POFF)
doSendMagicEffect(getThingPos(cid), CONST_ME_POFF)
doPlayerSendCancel(cid, "You are exhausted. Please wait awhile.")
doPlayerSendCancel(cid, "You are exhausted. Please wait awhile.")
return true
return true
end
end
exhaustion.set(cid, exstorage, 120)
exhaustion.set(cid, exstorage, 120)
for i = 1,5 do
for i = 1,5 do
doPlayerAddBlessing(cid, cfg.bless[i])
doPlayerAddBlessing(cid, cfg.bless[i])
end
end
doCreatureSetDropLoot(cid, false)
doCreatureSetDropLoot(cid, false)
doSetItemActionId(item.uid, getPlayerGUID(cid))
doSetItemActionId(item.uid, getPlayerGUID(cid))
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA)
doSendAnimatedText(getCreaturePosition(cid), "BLESSED!", TEXTCOLOR_RED)
doSendAnimatedText(getCreaturePosition(cid), "BLESSED!", TEXTCOLOR_RED)
doPlayerSendTextMessage(cid, 21, "You have recieved blessings by Ancient Book!")
doPlayerSendTextMessage(cid, 21, "You have recieved blessings by Ancient Book!")
return true
return true
end
end
저장된 비교 결과
원본
파일 열기
local cfg = { bless = { 1, 2, 3, 4, 5 } } function onUse(cid, item, fromPosition, itemEx, toPosition) if item.aid > 0 then if item.aid ~= getPlayerGUID(cid) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) doPlayerSendCancel(cid, "Get your filthy hands off Master " .. getPlayerNameByGUID(item.aid) .. "'s Book you thief!") return true end end for i = 1, table.maxn(cfg.bless) do if(getPlayerBlessing(cid, cfg.bless[i])) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) doPlayerSendCancel(cid, "You have already recieved Blessings!") return true end end local exstorage = 45001 if exhaustion.check(cid, exstorage) then doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) doPlayerSendCancel(cid, "You are exhausted. Please wait awhile.") return true end exhaustion.set(cid, exstorage, 120) for i = 1,5 do doPlayerAddBlessing(cid, cfg.bless[i]) end doCreatureSetDropLoot(cid, false) doSetItemActionId(item.uid, getPlayerGUID(cid)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA) doSendAnimatedText(getCreaturePosition(cid), "BLESSED!", TEXTCOLOR_RED) doPlayerSendTextMessage(cid, 21, "You have recieved blessings by Ancient Book!") return true end
수정본
파일 열기
local cfg = { bless = { 1, 2, 3, 4, 5 } } function onUse(cid, item, fromPosition, itemEx, toPosition) if item.actionid > 24354 then if item.actionid ~= getPlayerGUID(cid) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) doPlayerSendCancel(cid, "Get your filthy hands off Master " .. getPlayerNameByGUID(item.actionid) .. "'s Book you thief!") return true end end for i = 1, table.maxn(cfg.bless) do if(getPlayerBlessing(cid, cfg.bless[i])) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) doPlayerSendCancel(cid, "You have already recieved Blessings!") return true end end local exstorage = 45001 if exhaustion.check(cid, exstorage) then doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) doPlayerSendCancel(cid, "You are exhausted. Please wait awhile.") return true end exhaustion.set(cid, exstorage, 120) for i = 1,5 do doPlayerAddBlessing(cid, cfg.bless[i]) end doCreatureSetDropLoot(cid, false) doSetItemActionId(item.uid, getPlayerGUID(cid)) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA) doSendAnimatedText(getCreaturePosition(cid), "BLESSED!", TEXTCOLOR_RED) doPlayerSendTextMessage(cid, 21, "You have recieved blessings by Ancient Book!") return true end
비교하기