trozware / ZoneMount

Mount addon for World of Warcraft
1 stars 1 forks source link

English only #1

Open captnrexx opened 2 years ago

captnrexx commented 2 years ago

Your code work properly on english clients only, because i.e. GetZoneText gives the name of the zone in the wow client language so a

"if zone == 'Shadowmoon Valley' or zone == 'Frostfore Ridge' or zone == 'Ashran'"

could never be true in another language. In german i.e. it called "Schattenmondtal". "Frostfeuergrad", "Ashran"

captnrexx commented 2 years ago

Same problem with the source variable (and others). You check only the english words.

trozware commented 1 month ago

This is a good point. I used IDs for actual mounts, but I need to work out how to get an ID for the zones.