function getWeaponInfo($id, $class)
{
//Declares the names for each level weapon for each class
$warriors = array(1 => "Sword", 2 => "Reinforced Sword", 3 => "Steel Sword", 4 => "(Word) Sword", 5 => "(Word) Sword");
$mages = array(1 => "Staff", 2 => "Reinforced Staff", 3 => "Holy Staff", 4 => "(Word) Staff", 5 => "(Word) Staff");
$theives = array(1 => "Dagger", 2 => "Reinforced Dagger", 3 => "Steel Dagger", 4 => "(Word) Dagger", 5 => "(Word) Dagger)");
$archers = array(1 => "Bow", 2 => "Reinforced Bow", 3 => "Steel Bow", 4 => "(Word) Bow", 5 => "(Word) Bow");
//defines bonus arrays and etc
$weapName = array(1 => $warriors, 2 => $mages, 3 => $theives, 4 => $archers);
$weaplvl = array(1,2,3,4,5);
$bonus = array(1,2,4,7,11);
$cost = array(250,450,800,1325,2000);
$lvl = array(0,3,7,12,18);
print_r($weapName); $weapName[1][1]; die;
echo "popup('
| Weapon Name: | |
| Current Power: | - |
| Bonus Per Power: | - |
| Total Bonus: | - |
| Cost For Power: | - |
| Cost For Upgrade: | - |
', 'black')";
}
function getArmorInfo($id, $race)
{
//Declares the names for each level armor for each class
$humans = array(1 => "Medium", 2 => "Better Weapon Name", 3 => "Better Weapon Name", 4 => "Better Weapon Name", 5 => "Best Weapon Name");
$elfs = array(1 => "Light", 2 => "Better Weapon Name", 3 => "Better Weapon Name", 4 => "Better Weapon Name", 5 => "Best Weapon Name");
$orcs = array(1 => "Heavy", 2 => "Better Weapon Name", 3 => "Better Weapon Name", 4 => "Better Weapon Name", 5 => "Best Weapon Name");
//defines bonus arrays and etc
$armName = array(1 => $humans, 2 => $elfs, 3 => $orcs);
$armlvl = array(1,2,3,4,5);
$bonus = array(1,2,4,7,11);
$cost = array(250,450,800,1325,2000);
$lvl = array(0,3,7,12,18);
print_r($armName);$armName[1][1]; die;
echo "popup('| Weapon Name: | |
| Current Power: | - |
| Bonus Per Power: | - |
| Total Bonus: | - |
| Cost For Power: | - |
| Cost For Upgrade: | - |
', 'black')";
}