SuperNoobCamper
King
Honestly i have no idea how are you able to maintain all of these mods and adjust them to VP changes.Always the bane of my existence, that unit, lol.
The lua broke after I tried to optimize it again. Testing it now.


Honestly i have no idea how are you able to maintain all of these mods and adjust them to VP changes.Always the bane of my existence, that unit, lol.
The lua broke after I tried to optimize it again. Testing it now.
-- adds XP to stacked unit and deals damage to adjacent enemy units
function OnExpendingGrantXPAndDealDmg(iPlayer, iUnit, iUnitType, iX, iY)
local pPlayer = Players[iPlayer]
if not (pPlayer and pPlayer:GetCivilizationType() == eCivilizationZulu) then return end
local pUnit = pPlayer:GetUnitByID(iUnit)
if not pUnit:IsHasPromotion(ePromotionIqawe) then return end
local pPlot = Map.GetPlot(iX, iY)
-- grants XP to adjacent units
for k = 0, pPlot:GetNumUnits() - 1, 1 do
local pStackedUnit = pPlot:GetUnit(k)
local eOwner = pStackedUnit:GetOwner()
if eOwner == iPlayer and pStackedUnit:IsCombatUnit() then
pStackedUnit:ChangeExperience(30)
end
end
end
In that regard it's not really a bug, however I'm not sure if the mod author intended all incan cities to become unrazeable with the new UB.
it’s possible to do that, but I didn’t want to just copy Indonesia.Isn't it possible to make it spawn like the flax building for egypt? so not on top of the capital but somewhere nearby
I played a game a while back where I conquered my Incan neighbor while using Indonesia; let's just say, I saw some interesting things happen when capturing some of his cities... It's all good though, it is what it is.it’s possible to do that, but I didn’t want to just copy Indonesia.
Sometimes city states will reward you experience points for capturing specific civ cities. This XP will apply to every single land unit you currently own. I think this could have been what happened.I played a game a while back where I conquered my Incan neighbor while using Indonesia; let's just say, I saw some interesting things happen when capturing some of his cities... It's all good though, it is what it is.
Sometimes city states will reward you experience points for capturing specific civ cities. This XP will apply to every single land unit you currently own. I think this could have been what happened.
I was referring to the fact that Indonesia spawns a resource when gaining a city, combined with the fact that Incan cities can't be razed and have a unique lux under them. I had nutmeg spawning on top of mountains and other funny occurrences, but that was quite some time ago so I can't recall all the weird things happening.Sometimes city states will reward you experience points for capturing specific civ cities. This XP will apply to every single land unit you currently own. I think this could have been what happened.