Merge branch 'wofsauge:master' into master
This commit is contained in:
32 files changed
+2998
-1164
No files matched your search
+2
-2
@@ -17,7 +17,7 @@ local game = Game()
|
||||
local birthrightDesc = EID:getDescriptionEntry("birthright", playerID+1)
|
||||
if birthrightDesc ~=nil then
|
||||
local playerName = birthrightDesc[1] or player:GetName()
|
||||
EID:appendToDescription(descObj, "{{CustomTransformation}} {{ColorGray}}"..playerName.."{{CR}}#"..birthrightDesc[3].."#")
|
||||
EID:appendToDescription(descObj, (EID:getIcon("Player"..playerID) ~= EID.InlineIcons["ERROR"] and "{{Player"..playerID.."}}" or "{{CustomTransformation}}").." {{ColorGray}}"..playerName.."{{CR}}#"..birthrightDesc[3].."#")
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -221,7 +221,7 @@ local game = Game()
|
||||
if multiplier == 2 then v = 16.5
|
||||
elseif multiplier == 3 then v = (1/6)*100 end -- convert 17% to 33% or 50%
|
||||
elseif v == 33 and (multiplier == 1.5 or multiplier == 3) then v = (1/3)*100 end -- convert 33% to 50% or 100%
|
||||
return "{{ColorGold}}" .. string.format("%.4g",v*multiplier) .. "{{ColorText}}"
|
||||
return "{{ColorGold}}" .. string.format("%.4g",v*multiplier) .. "{{CR}}"
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user