도적 불가침 기능 추가

This commit is contained in:
2026-06-21 15:28:27 +09:00
parent 34531b184f
commit 5b7f7bb69f
11 changed files with 65 additions and 10 deletions

View File

@@ -415,6 +415,9 @@ if self.PlayerBlock > 0 then
self.PlayerBlock = self.PlayerBlock - absorbed
dmg = dmg - absorbed
end
if dmg > 0 and self.PlayerIntangible ~= nil and self.PlayerIntangible > 0 and dmg > 1 then
dmg = 1
end
if dmg > 0 then
self.PlayerHp = self.PlayerHp - dmg
local reflect = self.PlayerThorns or 0