/
--1 = Land |
--2 = Flying |
--3 = Both |
function MountRandomMount:MountDataListFill() |
if ((MountRandomMount_MountDataList == nil) or (MountRandomMount_MountDataListVersion ~= "4.0.4")) then |
MountRandomMount_MountDataListVersion = "5.0.4"; |
if ((MountRandomMount_MountDataList == nil) or (MountRandomMount_MountDataListVersion ~= "5.0.5")) then |
MountRandomMount_MountDataListVersion = "5.0.5"; |
MountRandomMount_MountDataList= { |
["flying"] = { |
["source-achv"] = { |
46199, --X-51 Nether-Rocket X-TREME |
46197, --X-51 Nether-Rocket |
}, |
["source-vender"] = { |
["source-vendor"] = { |
63844, --Argent Hippogryph |
61229, --Armored Snowy Gryphon |
132117, --Ashen Pandaren Phoenix |
127154, --Onyx Cloud Serpent |
}, |
["source-none"] = { |
134573, --Swift Windsteed |
135416, --Grand Armored Gryphon |
135418, --Grand Armored Wyvern |
136163, --Grand Gryphon |
136164, --Grand Wyvern |
32345, --Peep the Phoenix Mount |
37015, --Swift Nether Drake |
44744, --Merciless Nether Drake |
97501, --Green Fire Hawk |
101282, --Vicious Gladiator's Twilight Drake |
133023, --Jade Pandaren Kite |
134573, --Swift Windsteed |
135416, --Grand Armored Gryphon |
135418, --Grand Armored Wyvern |
136163, --Grand Gryphon |
136164, --Grand Wyvern |
}, |
}, |
["ground"] = { |
129934, --Blue Shado-Pan Riding Tiger |
88748, --Brown Riding Camel |
130086, --Brown Riding Goat |
43927, --Cenarion War Hippogryph |
39315, --Cobalt Riding Talbuk |
34896, --Cobalt War Talbuk |
127176, --Golden Riding Crane |
65639, --Swift Red Hawkstrider |
65645, --White Skeletal Warhorse |
}, |
["source-vender"] = { |
["source-vendor"] = { |
63844, --Argent Hippogryph |
67466, --Argent Warhorse |
60114, --Armored Brown Bear |
61229, --Armored Snowy Gryphon |
22719, --Black Battlestrider |
127286, --Black Dragon Turtle |
48027, --Black War Elekk |
127290, --Red Dragon Turtle |
23510, --Stormpike Battle Charger |
63232, --Stormwind Steed |
32242, --Swift Blue Gryphon |
23238, --Swift Brown Ram |
23229, --Swift Brown Steed |
102346, --Swift Forest Strider |
23221, --Swift Frostsaber |
23239, --Swift Gray Ram |
32290, --Swift Green Gryphon |
23225, --Swift Green Mechanostrider |
102350, --Swift Lovebird |
23219, --Swift Mistsaber |
103196, --Swift Mountain Horse |
23227, --Swift Palomino |
32292, --Swift Purple Gryphon |
32289, --Swift Red Gryphon |
102349, --Swift Springstrider |
23338, --Swift Stormsaber |
23223, --Swift White Mechanostrider |
458, --Brown Horse |
6899, --Brown Ram |
6648, --Chestnut Mare |
32239, --Ebon Gryphon |
32235, --Golden Gryphon |
35710, --Gray Elekk |
18989, --Gray Kodo |
6777, --Gray Ram |
472, --Pinto |
35711, --Purple Elekk |
10873, --Red Mechanostrider |
32240, --Snowy Gryphon |
10789, --Spotted Frostsaber |
66847, --Striped Dawnsaber |
8394, --Striped Frostsaber |
10793, --Striped Nightsaber |
17454, --Unpainted Mechanostrider |
6898, --White Ram |
61230, --Armored Blue Wind Rider |
60116, --Armored Brown Bear |
22718, --Black War Kodo |
59788, --Black War Mammoth |
23250, --Swift Brown Wolf |
23252, --Swift Gray Wolf |
35025, --Swift Green Hawkstrider |
32295, --Swift Green Wind Rider |
23242, --Swift Olive Raptor |
23243, --Swift Orange Raptor |
33660, --Swift Pink Hawkstrider |
35027, --Swift Purple Hawkstrider |
32297, --Swift Purple Wind Rider |
32246, --Swift Red Wind Rider |
23251, --Swift Timber Wolf |
35028, --Swift Warstrider |
32296, --Swift Yellow Wind Rider |
63641, --Thunder Bluff Kodo |
61447, --Traveler's Tundra Mammoth |
59793, --Wooly Mammoth |
64658, --Black Wolf |
35020, --Blue Hawkstrider |
17463, --Blue Skeletal Horse |
32244, --Blue Wind Rider |
18990, --Brown Kodo |
17464, --Brown Skeletal Horse |
6654, --Brown Wolf |
6653, --Dire Wolf |
8395, --Emerald Raptor |
87090, --Goblin Trike |
32245, --Green Wind Rider |
35018, --Purple Hawkstrider |
34795, --Red Hawkstrider |
17462, --Red Skeletal Horse |
580, --Timber Wolf |
32243, --Tawny Wind Rider |
580, --Timber Wolf |
10796, --Turquoise Raptor |
10799, --Violet Raptor |
64657, --White Kodo |
L['source-quest'] = "Qu\195\170tes" |
L['source-store'] = "Blizz-store" |
L['source-tcg'] = "Trading-Card-Game" |
L['source-vendor'] = "Vendeur" |
L['source-vender'] = "Vendeur" |
L["Flying Mount"] = "Monture volante" |
L["Ground Mount"] = "Monture terrestre" |
$landFlyingMount = array(); |
$landFlyingMount[63844]=3;//Argent Hippogryph |
$landFlyingMount[66087]=3;//Silver Covenant Hippogryph |
$landFlyingMount[61230]=3;//Armored Blue Wind Rider |
$landFlyingMount[61229]=3;//Armored Snowy Gryphon |
$landFlyingMount[74856]=3;//Blazing Hippogryph |
$landFlyingMount[32244]=3;//Blue Wind Rider |
$landFlyingMount[75614]=3;//Celestial Steed |
$landFlyingMount[43927]=3;//Cenarion War Hippogryph |
$landFlyingMount[32239]=3;//Ebon Gryphon |
$landFlyingMount[32235]=3;//Golden Gryphon |
$landFlyingMount[135416]=3;//Grand Armored Gryphon |
$landFlyingMount[135418]=3;//Grand Armored Wyvern |
$landFlyingMount[136163]=3;//Grand Gryphon |
$landFlyingMount[136164]=3;//Grand Wyvern |
$landFlyingMount[32245]=3;//Green Wind Rider |
$landFlyingMount[32240]=3;//Snowy Gryphon |
$landFlyingMount[32242]=3;//Swift Blue Gryphon |
$landFlyingMount[32290]=3;//Swift Green Gryphon |
$landFlyingMount[32295]=3;//Swift Green Wind Rider |
$landFlyingMount[32292]=3;//Swift Purple Gryphon |
$landFlyingMount[32297]=3;//Swift Purple Wind Rider |
$landFlyingMount[32289]=3;//Swift Red Gryphon |
$landFlyingMount[32246]=3;//Swift Red Wind Rider |
$landFlyingMount[134573]=3;//Swift Windsteed |
$landFlyingMount[32296]=3;//Swift Yellow Wind Rider |
$landFlyingMount[32243]=3;//Tawny Wind Rider |
$landFlyingMount[66087]=3;//Silver Covenant Hippogryph |
$landFlyingMount[75973]=3;//X-53 Touring Rocket |
$landFlyingMount[72286]=3;//Invincible |
$landFlyingMount[75614]=3;//Celestial Steed |
$landFlyingMount[48025]=3;//Headless Horsemans Mount |
$landFlyingMount[71342]=3;//Big Love Rocket |
$landFlyingMount[61451]=3;//Flying Carpet |
"http://eu.battle.net/wow/en/character/chogall/Tomatan/mount"//horde |
); |
$landFlyingMount = array(); |
$landFlyingMount[63844]=3;//Argent Hippogryph |
$landFlyingMount[66087]=3;//Silver Covenant Hippogryph |
$landFlyingMount[74856]=3;// Blazing Hippogryph |
$landFlyingMount[75973]=3;//X-53 Touring Rocket |
$landFlyingMount[72286]=3;//Invincible |
$landFlyingMount[75614]=3;//Celestial Steed |
$landFlyingMount[48025]=3;//Headless Horsemans Mount |
$landFlyingMount[71342]=3;//Big Love Rocket |
$landFlyingMount[61451]=3;//Flying Carpet |
$landFlyingMount[61309]=3;//Magnificent Flying Carpet |
$landFlyingMount[75596]=3;//Frosty Flying Carpet |
$landFlyingMount[44151]=3;//Turbo-Charged Flying Machine |
$landFlyingMount[44153]=3;//Flying Machine |
$landFlyingMount[98727]=3; //Winged Guardian |
$landFlyingMount[97359]=3;// Flameward Hippogryph |
$landFlyingMount[102514]=3;//Corrupted Hippogryph |
$landFlyingMount[107203]=3;// Tyrael's (Space) Charger |
$landFlyingMount[110051]=3;//Heart of the Aspects |
$landFlyingMount[121820]=3;//Obsidian Nightwing |
$landFlyingMount[121839]=3;//Sunstone Panther (before it was Dawnstone Panther) |
$landFlyingMount[121837]=3;//Emerald Panther |
$landFlyingMount[124659]=3;//Imperial Quilen |
$landFlyingMount[120043]=3;//Jeweled Onyx Panther |
$landFlyingMount[130092]=3;//Red Flying Cloud |
$landFlyingMount[121838]=3;//Ruby Panther |
$landFlyingMount[121836]=3;//Sapphire Panther |
$nonetyped = array(); |
foreach($URLs as $URL){ |
$page = file_get_html($URL); |
foreach($allMountTypes as $mountSource => $allMountSources){ |
echo ' ["'.$mountSource.'"] = {<br />'; |
foreach($allMountSources as $mountId => $mountName){ |
$double = ''; |
if($mountId < 1000){ |
$double = ' '; |
} |
echo ' '.$mountId.','.$double.' --'.$mountName.'<br />'; |
echo ' '.$mountId.', --'.$mountName.'<br />'; |
} |
echo ' },<br />'; |
} |
## Interface: 50001 |
## Interface: 50100 |
## Title: MountRandomMount |
## Notes: Random mount addon. |
## Author: Dardack, Tomate |
## Version: 5.2a |
## Version: 5.2b |
## SavedVariables: MountRandomMount_MountDataList, MountRandomMount_MountDataListVersion |
## SavedVariablesPerCharacter: MountRandomMount_SavedTable |
## X-Embeds: Ace3 |