Monsters

Click on a column to sort by that column; hold Shift to sort on multiple columns.

monster as $monster) { echo ''; } foreach ($monsterxml->monster as $monster) { switch ($monster->str) { case "1": $str_mod = "-5"; break; case "2": $str_mod = "-4"; break; case "3": $str_mod = "-4"; break; case "4": $str_mod = "-3"; break; case "5": $str_mod = "-3"; break; case "6": $str_mod = "-2"; break; case "7": $str_mod = "-2"; break; case "8": $str_mod = "-1"; break; case "9": $str_mod = "-1"; break; case "10": $str_mod = "0"; break; case "11": $str_mod = "0"; break; case "12": $str_mod = "+1"; break; case "13": $str_mod = "+1"; break; case "14": $str_mod = "+2"; break; case "15": $str_mod = "+2"; break; case "16": $str_mod = "+3"; break; case "17": $str_mod = "+3"; break; case "18": $str_mod = "+4"; break; case "19": $str_mod = "+4"; break; case "20": $str_mod = "+5"; break; case "21": $str_mod = "+5"; break; case "22": $str_mod = "+6"; break; case "23": $str_mod = "+6"; break; case "24": $str_mod = "+7"; break; case "25": $str_mod = "+7"; break; case "26": $str_mod = "+8"; break; case "27": $str_mod = "+8"; break; case "28": $str_mod = "+9"; break; case "29": $str_mod = "+9"; break; case "30": $str_mod = "+10"; break; } switch ($monster->dex) { case "1": $dex_mod = "-5"; break; case "2": $dex_mod = "-4"; break; case "3": $dex_mod = "-4"; break; case "4": $dex_mod = "-3"; break; case "5": $dex_mod = "-3"; break; case "6": $dex_mod = "-2"; break; case "7": $dex_mod = "-2"; break; case "8": $dex_mod = "-1"; break; case "9": $dex_mod = "-1"; break; case "10": $dex_mod = "0"; break; case "11": $dex_mod = "0"; break; case "12": $dex_mod = "+1"; break; case "13": $dex_mod = "+1"; break; case "14": $dex_mod = "+2"; break; case "15": $dex_mod = "+2"; break; case "16": $dex_mod = "+3"; break; case "17": $dex_mod = "+3"; break; case "18": $dex_mod = "+4"; break; case "19": $dex_mod = "+4"; break; case "20": $dex_mod = "+5"; break; case "21": $dex_mod = "+5"; break; case "22": $dex_mod = "+6"; break; case "23": $dex_mod = "+6"; break; case "24": $dex_mod = "+7"; break; case "25": $dex_mod = "+7"; break; case "26": $dex_mod = "+8"; break; case "27": $dex_mod = "+8"; break; case "28": $dex_mod = "+9"; break; case "29": $dex_mod = "+9"; break; case "30": $dex_mod = "+10"; break; } switch ($monster->con) { case "1": $con_mod = "-5"; break; case "2": $con_mod = "-4"; break; case "3": $con_mod = "-4"; break; case "4": $con_mod = "-3"; break; case "5": $con_mod = "-3"; break; case "6": $con_mod = "-2"; break; case "7": $con_mod = "-2"; break; case "8": $con_mod = "-1"; break; case "9": $con_mod = "-1"; break; case "10": $con_mod = "0"; break; case "11": $con_mod = "0"; break; case "12": $con_mod = "+1"; break; case "13": $con_mod = "+1"; break; case "14": $con_mod = "+2"; break; case "15": $con_mod = "+2"; break; case "16": $con_mod = "+3"; break; case "17": $con_mod = "+3"; break; case "18": $con_mod = "+4"; break; case "19": $con_mod = "+4"; break; case "20": $con_mod = "+5"; break; case "21": $con_mod = "+5"; break; case "22": $con_mod = "+6"; break; case "23": $con_mod = "+6"; break; case "24": $con_mod = "+7"; break; case "25": $con_mod = "+7"; break; case "26": $con_mod = "+8"; break; case "27": $con_mod = "+8"; break; case "28": $con_mod = "+9"; break; case "29": $con_mod = "+9"; break; case "30": $con_mod = "+10"; break; } switch ($monster->int) { case "1": $int_mod = "-5"; break; case "2": $int_mod = "-4"; break; case "3": $int_mod = "-4"; break; case "4": $int_mod = "-3"; break; case "5": $int_mod = "-3"; break; case "6": $int_mod = "-2"; break; case "7": $int_mod = "-2"; break; case "8": $int_mod = "-1"; break; case "9": $int_mod = "-1"; break; case "10": $int_mod = "0"; break; case "11": $int_mod = "0"; break; case "12": $int_mod = "+1"; break; case "13": $int_mod = "+1"; break; case "14": $int_mod = "+2"; break; case "15": $int_mod = "+2"; break; case "16": $int_mod = "+3"; break; case "17": $int_mod = "+3"; break; case "18": $int_mod = "+4"; break; case "19": $int_mod = "+4"; break; case "20": $int_mod = "+5"; break; case "21": $int_mod = "+5"; break; case "22": $int_mod = "+6"; break; case "23": $int_mod = "+6"; break; case "24": $int_mod = "+7"; break; case "25": $int_mod = "+7"; break; case "26": $int_mod = "+8"; break; case "27": $int_mod = "+8"; break; case "28": $int_mod = "+9"; break; case "29": $int_mod = "+9"; break; case "30": $int_mod = "+10"; break; } switch ($monster->wis) { case "1": $wis_mod = "-5"; break; case "2": $wis_mod = "-4"; break; case "3": $wis_mod = "-4"; break; case "4": $wis_mod = "-3"; break; case "5": $wis_mod = "-3"; break; case "6": $wis_mod = "-2"; break; case "7": $wis_mod = "-2"; break; case "8": $wis_mod = "-1"; break; case "9": $wis_mod = "-1"; break; case "10": $wis_mod = "0"; break; case "11": $wis_mod = "0"; break; case "12": $wis_mod = "+1"; break; case "13": $wis_mod = "+1"; break; case "14": $wis_mod = "+2"; break; case "15": $wis_mod = "+2"; break; case "16": $wis_mod = "+3"; break; case "17": $wis_mod = "+3"; break; case "18": $wis_mod = "+4"; break; case "19": $wis_mod = "+4"; break; case "20": $wis_mod = "+5"; break; case "21": $wis_mod = "+5"; break; case "22": $wis_mod = "+6"; break; case "23": $wis_mod = "+6"; break; case "24": $wis_mod = "+7"; break; case "25": $wis_mod = "+7"; break; case "26": $wis_mod = "+8"; break; case "27": $wis_mod = "+8"; break; case "28": $wis_mod = "+9"; break; case "29": $wis_mod = "+9"; break; case "30": $wis_mod = "+10"; break; } switch ($monster->cha) { case "1": $cha_mod = "-5"; break; case "2": $cha_mod = "-4"; break; case "3": $cha_mod = "-4"; break; case "4": $cha_mod = "-3"; break; case "5": $cha_mod = "-3"; break; case "6": $cha_mod = "-2"; break; case "7": $cha_mod = "-2"; break; case "8": $cha_mod = "-1"; break; case "9": $cha_mod = "-1"; break; case "10": $cha_mod = "0"; break; case "11": $cha_mod = "0"; break; case "12": $cha_mod = "+1"; break; case "13": $cha_mod = "+1"; break; case "14": $cha_mod = "+2"; break; case "15": $cha_mod = "+2"; break; case "16": $cha_mod = "+3"; break; case "17": $cha_mod = "+3"; break; case "18": $cha_mod = "+4"; break; case "19": $cha_mod = "+4"; break; case "20": $cha_mod = "+5"; break; case "21": $cha_mod = "+5"; break; case "22": $cha_mod = "+6"; break; case "23": $cha_mod = "+6"; break; case "24": $cha_mod = "+7"; break; case "25": $cha_mod = "+7"; break; case "26": $cha_mod = "+8"; break; case "27": $cha_mod = "+8"; break; case "28": $cha_mod = "+9"; break; case "29": $cha_mod = "+9"; break; case "30": $cha_mod = "+10"; break; } echo ''; echo ''; echo ''; } ?>
View Name Type Challenge
', $monster->name, '', $monster->type, '', $monster->cr, '