Have you compiled DLL?
Thanks, edead!
OK, I've got tools now so I can keep asking questions how to complete my evil plan. Where is number of soldiers count (the one from statistics page)? And how can I change power of unit in combat, depending on stability of owner?
if (getStability() < -20) return (m_iPower * 90 / 100);
if (getStability() > 20) return (m_iPower * 110 / 100);
return m_iPower;
OK, but that was the easy oneThanks anyway. But now how to increase power of unit in combat?
Is this for future reference or do I have to find something for this particular caseYou can find these signatures by looking into the C++ code or using the modiki.
No, it makes no sense whatsoever. You'd honestly be better off letting someone else do your coding for you.Im a bit confused; does this code make sense.
self.foundCity(iIndependent2, lWarsaw, "Warszawa", iGameTurn, 3, con.iCrossbowman, 3)
if iGameTurn >= getTurnForYear(860):
pCity = gc.getMap().plot(65, 52).getPlotCity()
if pCity:
pCity.changeCulture(iIndependent2, 100, True)
A quick explanation of what's going on here:Thanks Baldyr, It work now. I appreciate everybody's help.
It's pretty funny that what i couldn't do in an hour was done in less then five minutes
2*(condition)