else if( !strcmp( name, "war" ) ) self->pChar->setWar( PyObject_IsTrue( value ) );
int wpChar_setAttr( wpChar *self, char *name, PyObject *value ){	setStrProperty( "name", pChar->name )	else if( !strcmp( "follow", name ) )	{		P_CHAR pChar = getWpChar( value );		if( pChar )			self->pChar->setFtarg( pChar->serial );		else			self->pChar->setFtarg( INVALID_SERIAL );	}	else if ( !strcmp( "owner", name ) )		self->pChar->setOwner( getWpChar( value ) );	else if ( !strcmp( "tamed", name ) )		self->pChar->setTamed( PyObject_IsTrue( value ) );	else if ( !strcmp( "destination", name ) )		self->pChar->setPtarg( getWpCoord( value ) );	else if ( !strcmp( "orgname", name) )		self->pChar->setOrgname( PyString_AS_STRING( value ) );	else if ( !strcmp( "title", name) )		self->pChar->setTitle( PyString_AS_STRING( value ) );	else setIntProperty( "serial", pChar->serial )	else if( !strcmp( "body", name ) )		self->pChar->setId( PyInt_AS_LONG( value ) );	else if ( !strcmp("xbody", name ) )		self->pChar->setXid(PyInt_AS_LONG( value ) );			else if ( !strcmp( "skin", name ) )		self->pChar->setSkin( PyInt_AS_LONG(value ) );	else if ( !strcmp( "xskin", name ) )		self->pChar->setXSkin( PyInt_AS_LONG(value ) );	else if ( !strcmp( "health", name ) )		self->pChar->setHp( PyInt_AS_LONG( value ) );	else if ( !strcmp( "stamina", name ) )		self->pChar->setStm( PyInt_AS_LONG( value ) );	else if ( !strcmp( "mana", name ) )		self->pChar->setMn( PyInt_AS_LONG( value ) );	else if ( !strcmp( "strength", name ) )		self->pChar->setSt( PyInt_AS_LONG( value ) );	else if ( !strcmp( "dexterity", name ) )		self->pChar->setDex( PyInt_AS_LONG( value ) );	else if ( !strcmp( "intelligence", name ) )		self->pChar->setIn( PyInt_AS_LONG( value ) );	else if( !strcmp("direction", name ) )		self->pChar->setDir( PyInt_AS_LONG( value ) );	else if( !strcmp("flags2", name ) )		self->pChar->setPriv2( PyInt_AS_LONG( value ) );	else if( !strcmp("hidamage", name ) )		self->pChar->setHiDamage( PyInt_AS_LONG( value ) );	else if( !strcmp("lodamage", name ) )		self->pChar->setLoDamage( PyInt_AS_LONG( value ) );	else if( !strcmp("objectdelay", name ) )		self->pChar->setObjectDelay( PyInt_AS_LONG( value ) );	else if( !strcmp( name, "pos" ) && checkWpCoord( value ) )		self->pChar->moveTo( getWpCoord( value ) );	else if( !strcmp( name, "karma" ) )		self->pChar->setKarma( PyInt_AS_LONG( value ) );	else if( !strcmp( name, "fame" ) )		self->pChar->setFame( PyInt_AS_LONG( value ) );	return 0;}