A great tutorial!
But I have a question: As I enter a code like this
if attacker.hasTrait(1): #Trait Agressive
attacker.changeGold(2)
(attacker is a PyPlayer instance)
in CvEventManager.py, I get an Error, when the event occcurs:
"an instance of PyPlayer has no Attribute "hasTrait"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.