Fixed "The Stars?" modifier not working correctly for jacob & Esau

This commit is contained in:
Wofsauge committed 2024-07-17 19:34:25 +02:00
1 parent 7bede51e7d
commit 09c80f9d97
1 file changed
+8 -6
+8 -6
View File
@@ -1762,14 +1762,16 @@ function EID:getPlayerID(entityPlayer, lazarusAdjust)
if GetPtrHash(player) == GetPtrHash(entityPlayer) then
-- Dead Tainted Lazarus exceptions
if lazarusAdjust and EID.isRepentance then
-- Check for Birthright to make the ghostly form use the same base ID as the main form
if player:GetMainTwin() then
if GetPtrHash(player:GetMainTwin()) ~= GetPtrHash(player) then
i = EID:getPlayerID(player:GetMainTwin())
if player:GetPlayerType() == 38 then
-- Check for Birthright to make the ghostly form use the same base ID as the main form
if player:GetMainTwin() then
if GetPtrHash(player:GetMainTwin()) ~= GetPtrHash(player) then
i = EID:getPlayerID(player:GetMainTwin())
end
end
-- Increase the ID by 666 if Dead Tainted Lazarus
i = i + 666
end
-- Increase the ID by 666 if Dead Tainted Lazarus
if player:GetPlayerType() == 38 then i = i + 666 end
end
return i
end