Okay found the fix for it., It should be :
###---Added by Expansion---### Ank BugFix v4 elif player.race.find("Halfkin") >= 0: for i in globals.state.reputation: globals.state.reputation[i] += 15 ###---End Expansion---###