Changeset 374 for minimanager/scripts/pets.php
- Timestamp:
- Sep 11, 2008, 9:10:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/scripts/pets.php
r321 r374 4 4 $pet_ability = Array( 5 5 // Bite 6 6 17253 => array(17253,$lang_id_tab['PET_ABILITY_BITE_RANK_1'],'1','bite.jpg'), 7 7 17255 => array(17255,$lang_id_tab['PET_ABILITY_BITE_RANK_2'],'4','bite.jpg'), 8 17256 => array(17256,$lang_id_tab['PET_ABILITY_BITE_RANK_3'],'7','bite.jpg'), 9 17257 => array(17257,$lang_id_tab['PET_ABILITY_BITE_RANK_4'],'10','bite.jpg'), 10 17258 => array(17258,$lang_id_tab['PET_ABILITY_BITE_RANK_5'],'13','bite.jpg'), 11 17259 => array(17259,$lang_id_tab['PET_ABILITY_BITE_RANK_6'],'17','bite.jpg'), 12 17260 => array(17260,$lang_id_tab['PET_ABILITY_BITE_RANK_7'],'21','bite.jpg'), 13 17261 => array(17261,$lang_id_tab['PET_ABILITY_BITE_RANK_8'],'25','bite.jpg'), 14 27050 => array(27050,$lang_id_tab['PET_ABILITY_BITE_RANK_9'],'29','bite.jpg'), 15 // Claw 16 16827 => array(16827,$lang_id_tab['PET_ABILITY_CLAW_RANK_1'],'1','claw.jpg'), 17 16828 => array(16828,$lang_id_tab['PET_ABILITY_CLAW_RANK_2'],'4','claw.jpg'), 18 16829 => array(16829,$lang_id_tab['PET_ABILITY_CLAW_RANK_3'],'7','claw.jpg'), 19 16830 => array(16830,$lang_id_tab['PET_ABILITY_CLAW_RANK_4'],'10','claw.jpg'), 20 16831 => array(16831,$lang_id_tab['PET_ABILITY_CLAW_RANK_5'],'13','claw.jpg'), 21 16832 => array(16832,$lang_id_tab['PET_ABILITY_CLAW_RANK_6'],'17','claw.jpg'), 22 3010 => array(3010,$lang_id_tab['PET_ABILITY_CLAW_RANK_7'],'21','claw.jpg'), 23 3009 => array(3009,$lang_id_tab['PET_ABILITY_CLAW_RANK_8'],'25','claw.jpg'), 24 27049 => array(27049,$lang_id_tab['PET_ABILITY_CLAW_RANK_9'],'29','claw.jpg'), 25 // Cobra Reflexes 26 25076 => array(25076,$lang_id_tab['PET_ABILITY_COBRA_REFLEXES'],'15','cobrareflexes.jpg'), 27 // Cower 28 1742 => array(1742,$lang_id_tab['PET_ABILITY_COWER_RANK_1'],'8','cower.jpg'), 29 1753 => array(1753,$lang_id_tab['PET_ABILITY_COWER_RANK_2'],'10','cower.jpg'), 30 1754 => array(1754,$lang_id_tab['PET_ABILITY_COWER_RANK_3'],'12','cower.jpg'), 31 1755 => array(1755,$lang_id_tab['PET_ABILITY_COWER_RANK_4'],'14','cower.jpg'), 32 1756 => array(1756,$lang_id_tab['PET_ABILITY_COWER_RANK_5'],'16','cower.jpg'), 33 16697 => array(16697,$lang_id_tab['PET_ABILITY_COWER_RANK_6'],'18','cower.jpg'), 34 27048 => array(27048,$lang_id_tab['PET_ABILITY_COWER_RANK_7'],'21','cower.jpg'), 35 // Dash 36 23099 => array(23099,$lang_id_tab['PET_ABILITY_DASH_RANK_1'],'15','dash.jpg'), 37 23109 => array(23109,$lang_id_tab['PET_ABILITY_DASH_RANK_2'],'20','dash.jpg'), 38 23110 => array(23110,$lang_id_tab['PET_ABILITY_DASH_RANK_3'],'25','dash.jpg'), 39 // Dive 40 23146 => array(23146,$lang_id_tab['PET_ABILITY_DIVE_RANK_1'],'15','dive.jpg'), 41 23149 => array(23149,$lang_id_tab['PET_ABILITY_DIVE_RANK_2'],'20','dive.jpg'), 42 23150 => array(23150,$lang_id_tab['PET_ABILITY_DIVE_RANK_3'],'25','dive.jpg'), 43 // Firebreath 44 34889 => array(34889,$lang_id_tab['PET_ABILITY_FIRE_BREATH_RANK_1'],'5','firebreath.jpg'), 45 35323 => array(35323,$lang_id_tab['PET_ABILITY_FIRE_BREATH_RANK_2'],'25','firebreath.jpg'), 46 // Furious howl 47 24609 => array(24609,$lang_id_tab['PET_ABILITY_FURIOUS_HOWL_RANK_1'],'10','furioushowl.jpg'), 48 24608 => array(24608,$lang_id_tab['PET_ABILITY_FURIOUS_HOWL_RANK_2'],'15','furioushowl.jpg'), 49 24607 => array(24607,$lang_id_tab['PET_ABILITY_FURIOUS_HOWL_RANK_3'],'20','furioushowl.jpg'), 50 24599 => array(24599,$lang_id_tab['PET_ABILITY_FURIOUS_HOWL_RANK_4'],'25','furioushowl.jpg'), 51 // Gore 52 35290 => array(35290,$lang_id_tab['PET_ABILITY_GORE_RANK_1'],'1','gore.jpg'), 53 35291 => array(35291,$lang_id_tab['PET_ABILITY_GORE_RANK_2'],'4','gore.jpg'), 54 35292 => array(35292,$lang_id_tab['PET_ABILITY_GORE_RANK_3'],'7','gore.jpg'), 55 35293 => array(35293,$lang_id_tab['PET_ABILITY_GORE_RANK_4'],'10','gore.jpg'), 56 35294 => array(35294,$lang_id_tab['PET_ABILITY_GORE_RANK_5'],'13','gore.jpg'), 57 35295 => array(35295,$lang_id_tab['PET_ABILITY_GORE_RANK_6'],'17','gore.jpg'), 58 35296 => array(35296,$lang_id_tab['PET_ABILITY_GORE_RANK_7'],'21','gore.jpg'), 59 35297 => array(35297,$lang_id_tab['PET_ABILITY_GORE_RANK_8'],'25','gore.jpg'), 60 35298 => array(35298,$lang_id_tab['PET_ABILITY_GORE_RANK_9'],'29','gore.jpg'), 61 // Growl 62 2649 => array(2649,$lang_id_tab['PET_ABILITY_GROWL_RANK_1'],'0','growl.jpg'), 63 14916 => array(14916,$lang_id_tab['PET_ABILITY_GROWL_RANK_2'],'0','growl.jpg'), 64 14917 => array(14917,$lang_id_tab['PET_ABILITY_GROWL_RANK_3'],'0','growl.jpg'), 65 14918 => array(14918,$lang_id_tab['PET_ABILITY_GROWL_RANK_4'],'0','growl.jpg'), 66 14919 => array(14919,$lang_id_tab['PET_ABILITY_GROWL_RANK_5'],'0','growl.jpg'), 67 14920 => array(14920,$lang_id_tab['PET_ABILITY_GROWL_RANK_6'],'0','growl.jpg'), 68 14921 => array(14921,$lang_id_tab['PET_ABILITY_GROWL_RANK_7'],'0','growl.jpg'), 69 27047 => array(27047,$lang_id_tab['PET_ABILITY_GROWL_RANK_8'],'0','growl.jpg'), 70 // Lightning breath 71 24845 => array(24845,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_1'],'1','lightningbreath.jpg'), 72 25013 => array(25013,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_2'],'5','lightningbreath.jpg'), 73 25014 => array(25014,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_3'],'10','lightningbreath.jpg'), 74 25015 => array(25015,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_4'],'15','lightningbreath.jpg'), 75 25016 => array(25016,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_5'],'20','lightningbreath.jpg'), 76 25017 => array(25017,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_5'],'25','lightningbreath.jpg'), 77 // Poison Spit 78 35388 => array(35388,$lang_id_tab['PET_ABILITY_POISON_SPIT_RANK_1'],'5','poisonspit.jpg'), 79 35390 => array(35390,$lang_id_tab['PET_ABILITY_POISON_SPIT_RANK_2'],'20','poisonspit.jpg'), 80 35391 => array(35391,$lang_id_tab['PET_ABILITY_POISON_SPIT_RANK_3'],'25','poisonspit.jpg'), 81 // Prowl 82 24451 => array(24451,$lang_id_tab['PET_ABILITY_PROWL_RANK_1'],'15','prowl.jpg'), 83 24454 => array(24454,$lang_id_tab['PET_ABILITY_PROWL_RANK_2'],'20','prowl.jpg'), 84 24455 => array(24455,$lang_id_tab['PET_ABILITY_PROWL_RANK_3'],'25','prowl.jpg'), 85 // Scorpid Poison 86 24641 => array(24455,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_1'],'10','scorpidpoison.jpg'), 87 24584 => array(24584,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_2'],'15','scorpidpoison.jpg'), 88 24588 => array(24588,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_3'],'20','scorpidpoison.jpg'), 89 24589 => array(24589,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_4'],'25','scorpidpoison.jpg'), 90 27361 => array(27361,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_5'],'29','scorpidpoison.jpg'), 91 // Screech 92 24424 => array(24424,$lang_id_tab['PET_ABILITY_SCREECH_RANK_1'],'10','screech.jpg'), 93 24580 => array(24580,$lang_id_tab['PET_ABILITY_SCREECH_RANK_2'],'15','screech.jpg'), 94 24581 => array(24581,$lang_id_tab['PET_ABILITY_SCREECH_RANK_3'],'20','screech.jpg'), 95 24582 => array(24582,$lang_id_tab['PET_ABILITY_SCREECH_RANK_4'],'25','screech.jpg'), 96 27349 => array(27349,$lang_id_tab['PET_ABILITY_SCREECH_RANK_5'],'29','screech.jpg'), 97 // Shell Shield 98 26064 => array(26064,$lang_id_tab['PET_ABILITY_SHELL_SHIELD'],'15','shellshield.jpg'), 99 // Thunderstomp 100 26094 => array(26094,$lang_id_tab['PET_ABILITY_THUNDERSTOMP_RANK_1'],'15','thunderstomp.jpg'), 101 26189 => array(26189,$lang_id_tab['PET_ABILITY_THUNDERSTOMP_RANK_2'],'20','thunderstomp.jpg'), 102 26190 => array(26190,$lang_id_tab['PET_ABILITY_THUNDERSTOMP_RANK_3'],'25','thunderstomp.jpg'), 103 27366 => array(27366,$lang_id_tab['PET_ABILITY_THUNDERSTOMP_RANK_4'],'29','thunderstomp.jpg'), 104 // Warp 105 35348 => array(35348,$lang_id_tab['PET_ABILITY_WARP'],'1','warp.jpg'), 106 // Great Stamina 107 4195 => array(4195,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_1'],'5','greatstamina.jpg'), 108 4196 => array(4196,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_2'],'10','greatstamina.jpg'), 109 4197 => array(4197,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_3'],'15','greatstamina.jpg'), 110 4198 => array(4198,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_4'],'25','greatstamina.jpg'), 111 4199 => array(4199,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_5'],'50','greatstamina.jpg'), 112 4200 => array(4200,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_6'],'75','greatstamina.jpg'), 113 4201 => array(4201,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_7'],'100','greatstamina.jpg'), 114 4202 => array(4202,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_8'],'125','greatstamina.jpg'), 115 5048 => array(5048,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_9'],'150','greatstamina.jpg'), 116 5049 => array(5049,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_10'],'185','greatstamina.jpg'), 117 27364 => array(27364,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_11'],'215','greatstamina.jpg'), 118 // Natural Armor 119 24574 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_1'],'1','naturalarmor.jpg'), 120 24556 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_2'],'5','naturalarmor.jpg'), 121 24557 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_3'],'10','naturalarmor.jpg'), 122 24558 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_4'],'15','naturalarmor.jpg'), 123 24559 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_5'],'25','naturalarmor.jpg'), 124 24560 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_6'],'50','naturalarmor.jpg'), 125 24561 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_7'],'75','naturalarmor.jpg'), 126 24562 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_8'],'100','naturalarmor.jpg'), 127 24631 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_9'],'125','naturalarmor.jpg'), 128 24632 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_10'],'150','naturalarmor.jpg'), 129 27362 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_11'],'175','naturalarmor.jpg'), 130 // Arcane Resist 131 24495 => array(24495,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_1'],'5','arcaneresist.jpg'), 132 24508 => array(24508,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_2'],'15','arcaneresist.jpg'), 133 24509 => array(24509,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_3'],'45','arcaneresist.jpg'), 134 24510 => array(24510,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_4'],'90','arcaneresist.jpg'), 135 27350 => array(27350,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_5'],'105','arcaneresist.jpg'), 136 // Fire Resist 137 24440 => array(24440,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_1'],'5','fireresist.jpg'), 138 24441 => array(24441,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_2'],'15','fireresist.jpg'), 139 24463 => array(24463,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_3'],'45','fireresist.jpg'), 140 24464 => array(24464,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_4'],'90','fireresist.jpg'), 141 27351 => array(27351,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_5'],'105','fireresist.jpg'), 142 // Frost Resist 143 24475 => array(24475,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_1'],'5','frostresist.jpg'), 144 24476 => array(24476,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_2'],'15','frostresist.jpg'), 145 24477 => array(24477,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_3'],'45','frostresist.jpg'), 146 24478 => array(24478,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_4'],'90','frostresist.jpg'), 147 27352 => array(27352,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_5'],'105','frostresist.jpg'), 148 // Nature Resist 149 24494 => array(24494,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_1'],'5','natureresist.jpg'), 150 24511 => array(24511,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_2'],'15','natureresist.jpg'), 151 24512 => array(24512,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_3'],'45','natureresist.jpg'), 152 24513 => array(24513,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_4'],'90','natureresist.jpg'), 153 27354 => array(27354,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_5'],'105','natureresist.jpg'), 154 // Shadow Resist 155 24490 => array(24490,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_1'],'5','shadowresist.jpg'), 156 24514 => array(24514,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_2'],'15','shadowresist.jpg'), 157 24515 => array(24515,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_3'],'45','shadowresist.jpg'), 158 24516 => array(24516,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_4'],'90','shadowresist.jpg'), 159 27353 => array(27353,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_5'],'105','shadowresist.jpg'), 160 // Avoidance 161 35699 => array(35699,$lang_id_tab['PET_ABILITY_AVOIDANCE_RANK_1'],'15','avoidance.jpg'), 162 35700 => array(35700,$lang_id_tab['PET_ABILITY_AVOIDANCE_RANK_2'],'25','avoidance.jpg') 163 ); 164 165 function get_pet_ability_name($id){ 166 global $lang_pet_ability, $pet_ability; 167 if( isset($pet_ability[$id]) ) return $pet_ability[$id][1]; 168 else return "Unknown"; 169 } 170 function get_pet_ability_trainvalue($id){ 171 global $lang_pet_ability, $pet_ability; 172 if( isset($pet_ability[$id][2]) ) return $pet_ability[$id][2]; 173 else return 0; 174 } 175 176 function get_pet_ability_image($id){ 177 global $lang_pet_ability, $pet_ability; 178 if( isset($pet_ability[$id][3]) ) return $pet_ability[$id][3]; 179 else return 'missing.jpg'; 180 } 181 182 183 ?> 184 8 17256 => array(17256,$lang_id_tab['PET_ABILITY_BITE_RANK_3'],'7','bite.jpg'), 9 17257 => array(17257,$lang_id_tab['PET_ABILITY_BITE_RANK_4'],'10','bite.jpg'), 10 17258 => array(17258,$lang_id_tab['PET_ABILITY_BITE_RANK_5'],'13','bite.jpg'), 11 17259 => array(17259,$lang_id_tab['PET_ABILITY_BITE_RANK_6'],'17','bite.jpg'), 12 17260 => array(17260,$lang_id_tab['PET_ABILITY_BITE_RANK_7'],'21','bite.jpg'), 13 17261 => array(17261,$lang_id_tab['PET_ABILITY_BITE_RANK_8'],'25','bite.jpg'), 14 27050 => array(27050,$lang_id_tab['PET_ABILITY_BITE_RANK_9'],'29','bite.jpg'), 15 // Claw 16 16827 => array(16827,$lang_id_tab['PET_ABILITY_CLAW_RANK_1'],'1','claw.jpg'), 17 16828 => array(16828,$lang_id_tab['PET_ABILITY_CLAW_RANK_2'],'4','claw.jpg'), 18 16829 => array(16829,$lang_id_tab['PET_ABILITY_CLAW_RANK_3'],'7','claw.jpg'), 19 16830 => array(16830,$lang_id_tab['PET_ABILITY_CLAW_RANK_4'],'10','claw.jpg'), 20 16831 => array(16831,$lang_id_tab['PET_ABILITY_CLAW_RANK_5'],'13','claw.jpg'), 21 16832 => array(16832,$lang_id_tab['PET_ABILITY_CLAW_RANK_6'],'17','claw.jpg'), 22 3010 => array(3010,$lang_id_tab['PET_ABILITY_CLAW_RANK_7'],'21','claw.jpg'), 23 3009 => array(3009,$lang_id_tab['PET_ABILITY_CLAW_RANK_8'],'25','claw.jpg'), 24 27049 => array(27049,$lang_id_tab['PET_ABILITY_CLAW_RANK_9'],'29','claw.jpg'), 25 // Cobra Reflexes 26 25076 => array(25076,$lang_id_tab['PET_ABILITY_COBRA_REFLEXES'],'15','cobrareflexes.jpg'), 27 // Cower 28 1742 => array(1742,$lang_id_tab['PET_ABILITY_COWER_RANK_1'],'8','cower.jpg'), 29 1753 => array(1753,$lang_id_tab['PET_ABILITY_COWER_RANK_2'],'10','cower.jpg'), 30 1754 => array(1754,$lang_id_tab['PET_ABILITY_COWER_RANK_3'],'12','cower.jpg'), 31 1755 => array(1755,$lang_id_tab['PET_ABILITY_COWER_RANK_4'],'14','cower.jpg'), 32 1756 => array(1756,$lang_id_tab['PET_ABILITY_COWER_RANK_5'],'16','cower.jpg'), 33 16697 => array(16697,$lang_id_tab['PET_ABILITY_COWER_RANK_6'],'18','cower.jpg'), 34 27048 => array(27048,$lang_id_tab['PET_ABILITY_COWER_RANK_7'],'21','cower.jpg'), 35 // Dash 36 23099 => array(23099,$lang_id_tab['PET_ABILITY_DASH_RANK_1'],'15','dash.jpg'), 37 23109 => array(23109,$lang_id_tab['PET_ABILITY_DASH_RANK_2'],'20','dash.jpg'), 38 23110 => array(23110,$lang_id_tab['PET_ABILITY_DASH_RANK_3'],'25','dash.jpg'), 39 // Dive 40 23146 => array(23146,$lang_id_tab['PET_ABILITY_DIVE_RANK_1'],'15','dive.jpg'), 41 23149 => array(23149,$lang_id_tab['PET_ABILITY_DIVE_RANK_2'],'20','dive.jpg'), 42 23150 => array(23150,$lang_id_tab['PET_ABILITY_DIVE_RANK_3'],'25','dive.jpg'), 43 // Firebreath 44 34889 => array(34889,$lang_id_tab['PET_ABILITY_FIRE_BREATH_RANK_1'],'5','firebreath.jpg'), 45 35323 => array(35323,$lang_id_tab['PET_ABILITY_FIRE_BREATH_RANK_2'],'25','firebreath.jpg'), 46 // Furious howl 47 24609 => array(24609,$lang_id_tab['PET_ABILITY_FURIOUS_HOWL_RANK_1'],'10','furioushowl.jpg'), 48 24608 => array(24608,$lang_id_tab['PET_ABILITY_FURIOUS_HOWL_RANK_2'],'15','furioushowl.jpg'), 49 24607 => array(24607,$lang_id_tab['PET_ABILITY_FURIOUS_HOWL_RANK_3'],'20','furioushowl.jpg'), 50 24599 => array(24599,$lang_id_tab['PET_ABILITY_FURIOUS_HOWL_RANK_4'],'25','furioushowl.jpg'), 51 // Gore 52 35290 => array(35290,$lang_id_tab['PET_ABILITY_GORE_RANK_1'],'1','gore.jpg'), 53 35291 => array(35291,$lang_id_tab['PET_ABILITY_GORE_RANK_2'],'4','gore.jpg'), 54 35292 => array(35292,$lang_id_tab['PET_ABILITY_GORE_RANK_3'],'7','gore.jpg'), 55 35293 => array(35293,$lang_id_tab['PET_ABILITY_GORE_RANK_4'],'10','gore.jpg'), 56 35294 => array(35294,$lang_id_tab['PET_ABILITY_GORE_RANK_5'],'13','gore.jpg'), 57 35295 => array(35295,$lang_id_tab['PET_ABILITY_GORE_RANK_6'],'17','gore.jpg'), 58 35296 => array(35296,$lang_id_tab['PET_ABILITY_GORE_RANK_7'],'21','gore.jpg'), 59 35297 => array(35297,$lang_id_tab['PET_ABILITY_GORE_RANK_8'],'25','gore.jpg'), 60 35298 => array(35298,$lang_id_tab['PET_ABILITY_GORE_RANK_9'],'29','gore.jpg'), 61 // Growl 62 2649 => array(2649,$lang_id_tab['PET_ABILITY_GROWL_RANK_1'],'0','growl.jpg'), 63 14916 => array(14916,$lang_id_tab['PET_ABILITY_GROWL_RANK_2'],'0','growl.jpg'), 64 14917 => array(14917,$lang_id_tab['PET_ABILITY_GROWL_RANK_3'],'0','growl.jpg'), 65 14918 => array(14918,$lang_id_tab['PET_ABILITY_GROWL_RANK_4'],'0','growl.jpg'), 66 14919 => array(14919,$lang_id_tab['PET_ABILITY_GROWL_RANK_5'],'0','growl.jpg'), 67 14920 => array(14920,$lang_id_tab['PET_ABILITY_GROWL_RANK_6'],'0','growl.jpg'), 68 14921 => array(14921,$lang_id_tab['PET_ABILITY_GROWL_RANK_7'],'0','growl.jpg'), 69 27047 => array(27047,$lang_id_tab['PET_ABILITY_GROWL_RANK_8'],'0','growl.jpg'), 70 // Lightning breath 71 24845 => array(24845,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_1'],'1','lightningbreath.jpg'), 72 25013 => array(25013,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_2'],'5','lightningbreath.jpg'), 73 25014 => array(25014,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_3'],'10','lightningbreath.jpg'), 74 25015 => array(25015,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_4'],'15','lightningbreath.jpg'), 75 25016 => array(25016,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_5'],'20','lightningbreath.jpg'), 76 25017 => array(25017,$lang_id_tab['PET_ABILITY_LIGHTNING_BREATH_RANK_5'],'25','lightningbreath.jpg'), 77 // Poison Spit 78 35388 => array(35388,$lang_id_tab['PET_ABILITY_POISON_SPIT_RANK_1'],'5','poisonspit.jpg'), 79 35390 => array(35390,$lang_id_tab['PET_ABILITY_POISON_SPIT_RANK_2'],'20','poisonspit.jpg'), 80 35391 => array(35391,$lang_id_tab['PET_ABILITY_POISON_SPIT_RANK_3'],'25','poisonspit.jpg'), 81 // Prowl 82 24451 => array(24451,$lang_id_tab['PET_ABILITY_PROWL_RANK_1'],'15','prowl.jpg'), 83 24454 => array(24454,$lang_id_tab['PET_ABILITY_PROWL_RANK_2'],'20','prowl.jpg'), 84 24455 => array(24455,$lang_id_tab['PET_ABILITY_PROWL_RANK_3'],'25','prowl.jpg'), 85 // Scorpid Poison 86 24641 => array(24455,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_1'],'10','scorpidpoison.jpg'), 87 24584 => array(24584,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_2'],'15','scorpidpoison.jpg'), 88 24588 => array(24588,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_3'],'20','scorpidpoison.jpg'), 89 24589 => array(24589,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_4'],'25','scorpidpoison.jpg'), 90 27361 => array(27361,$lang_id_tab['PET_ABILITY_SCORPID_POISON_RANK_5'],'29','scorpidpoison.jpg'), 91 // Screech 92 24424 => array(24424,$lang_id_tab['PET_ABILITY_SCREECH_RANK_1'],'10','screech.jpg'), 93 24580 => array(24580,$lang_id_tab['PET_ABILITY_SCREECH_RANK_2'],'15','screech.jpg'), 94 24581 => array(24581,$lang_id_tab['PET_ABILITY_SCREECH_RANK_3'],'20','screech.jpg'), 95 24582 => array(24582,$lang_id_tab['PET_ABILITY_SCREECH_RANK_4'],'25','screech.jpg'), 96 27349 => array(27349,$lang_id_tab['PET_ABILITY_SCREECH_RANK_5'],'29','screech.jpg'), 97 // Shell Shield 98 26064 => array(26064,$lang_id_tab['PET_ABILITY_SHELL_SHIELD'],'15','shellshield.jpg'), 99 // Thunderstomp 100 26094 => array(26094,$lang_id_tab['PET_ABILITY_THUNDERSTOMP_RANK_1'],'15','thunderstomp.jpg'), 101 26189 => array(26189,$lang_id_tab['PET_ABILITY_THUNDERSTOMP_RANK_2'],'20','thunderstomp.jpg'), 102 26190 => array(26190,$lang_id_tab['PET_ABILITY_THUNDERSTOMP_RANK_3'],'25','thunderstomp.jpg'), 103 27366 => array(27366,$lang_id_tab['PET_ABILITY_THUNDERSTOMP_RANK_4'],'29','thunderstomp.jpg'), 104 // Warp 105 35348 => array(35348,$lang_id_tab['PET_ABILITY_WARP'],'1','warp.jpg'), 106 // Great Stamina 107 4195 => array(4195,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_1'],'5','greatstamina.jpg'), 108 4196 => array(4196,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_2'],'10','greatstamina.jpg'), 109 4197 => array(4197,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_3'],'15','greatstamina.jpg'), 110 4198 => array(4198,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_4'],'25','greatstamina.jpg'), 111 4199 => array(4199,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_5'],'50','greatstamina.jpg'), 112 4200 => array(4200,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_6'],'75','greatstamina.jpg'), 113 4201 => array(4201,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_7'],'100','greatstamina.jpg'), 114 4202 => array(4202,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_8'],'125','greatstamina.jpg'), 115 5048 => array(5048,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_9'],'150','greatstamina.jpg'), 116 5049 => array(5049,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_10'],'185','greatstamina.jpg'), 117 27364 => array(27364,$lang_id_tab['PET_ABILITY_GREAT_STAMINA_RANK_11'],'215','greatstamina.jpg'), 118 // Natural Armor 119 24574 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_1'],'1','naturalarmor.jpg'), 120 24556 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_2'],'5','naturalarmor.jpg'), 121 24557 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_3'],'10','naturalarmor.jpg'), 122 24558 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_4'],'15','naturalarmor.jpg'), 123 24559 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_5'],'25','naturalarmor.jpg'), 124 24560 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_6'],'50','naturalarmor.jpg'), 125 24561 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_7'],'75','naturalarmor.jpg'), 126 24562 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_8'],'100','naturalarmor.jpg'), 127 24631 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_9'],'125','naturalarmor.jpg'), 128 24632 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_10'],'150','naturalarmor.jpg'), 129 27362 => array(24574,$lang_id_tab['PET_ABILITY_NATURAL_ARMOR_RANK_11'],'175','naturalarmor.jpg'), 130 // Arcane Resist 131 24495 => array(24495,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_1'],'5','arcaneresist.jpg'), 132 24508 => array(24508,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_2'],'15','arcaneresist.jpg'), 133 24509 => array(24509,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_3'],'45','arcaneresist.jpg'), 134 24510 => array(24510,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_4'],'90','arcaneresist.jpg'), 135 27350 => array(27350,$lang_id_tab['PET_ABILITY_ARCANE_RESIST_RANK_5'],'105','arcaneresist.jpg'), 136 // Fire Resist 137 24440 => array(24440,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_1'],'5','fireresist.jpg'), 138 24441 => array(24441,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_2'],'15','fireresist.jpg'), 139 24463 => array(24463,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_3'],'45','fireresist.jpg'), 140 24464 => array(24464,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_4'],'90','fireresist.jpg'), 141 27351 => array(27351,$lang_id_tab['PET_ABILITY_FIRE_RESIST_RANK_5'],'105','fireresist.jpg'), 142 // Frost Resist 143 24475 => array(24475,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_1'],'5','frostresist.jpg'), 144 24476 => array(24476,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_2'],'15','frostresist.jpg'), 145 24477 => array(24477,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_3'],'45','frostresist.jpg'), 146 24478 => array(24478,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_4'],'90','frostresist.jpg'), 147 27352 => array(27352,$lang_id_tab['PET_ABILITY_FROST_RESIST_RANK_5'],'105','frostresist.jpg'), 148 // Nature Resist 149 24494 => array(24494,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_1'],'5','natureresist.jpg'), 150 24511 => array(24511,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_2'],'15','natureresist.jpg'), 151 24512 => array(24512,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_3'],'45','natureresist.jpg'), 152 24513 => array(24513,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_4'],'90','natureresist.jpg'), 153 27354 => array(27354,$lang_id_tab['PET_ABILITY_NATURE_RESIST_RANK_5'],'105','natureresist.jpg'), 154 // Shadow Resist 155 24490 => array(24490,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_1'],'5','shadowresist.jpg'), 156 24514 => array(24514,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_2'],'15','shadowresist.jpg'), 157 24515 => array(24515,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_3'],'45','shadowresist.jpg'), 158 24516 => array(24516,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_4'],'90','shadowresist.jpg'), 159 27353 => array(27353,$lang_id_tab['PET_ABILITY_SHADOW_RESIST_RANK_5'],'105','shadowresist.jpg'), 160 // Avoidance 161 35699 => array(35699,$lang_id_tab['PET_ABILITY_AVOIDANCE_RANK_1'],'15','avoidance.jpg'), 162 35700 => array(35700,$lang_id_tab['PET_ABILITY_AVOIDANCE_RANK_2'],'25','avoidance.jpg') 163 ); 164 165 function get_pet_ability_name($id){ 166 global $lang_pet_ability, $pet_ability; 167 if( isset($pet_ability[$id]) ) return $pet_ability[$id][1]; 168 else return "Unknown"; 169 } 170 function get_pet_ability_trainvalue($id){ 171 global $lang_pet_ability, $pet_ability; 172 if( isset($pet_ability[$id][2]) ) return $pet_ability[$id][2]; 173 else return 0; 174 } 175 176 function get_pet_ability_image($id){ 177 global $lang_pet_ability, $pet_ability; 178 if( isset($pet_ability[$id][3]) ) return $pet_ability[$id][3]; 179 else return 'missing.jpg'; 180 } 181 182 183 ?>
Note:
See TracChangeset
for help on using the changeset viewer.