Update weighteffect.py

Added the stat_modder function