From tony at metracom.com Fri Sep 16 11:49:35 2016 From: tony at metracom.com (Tony) Date: Fri, 16 Sep 2016 11:49:35 -0700 Subject: [Oc-pm] OC Perl meeting September 26th @ 7pm Message-ID: OC Perl Mongers. Our monthly meeting is scheduled on 26th @ 7pm. As always are we are needing a volunteer speaker. Let me know if you have something to share with the group. The July Perl challenge has been updated. Please bring you code to the meeting. http://oc.pm.org See you on the 26th. Tony From tony at metracom.com Mon Sep 26 11:00:57 2016 From: tony at metracom.com (Tony) Date: Mon, 26 Sep 2016 11:00:57 -0700 Subject: [Oc-pm] Todays Perl meeting has been canceled. Message-ID: <7a22bf6e-3502-b01c-c9d5-5d3b186a2a8d@metracom.com> Sorry for the late notice. Todays Perl meeting has been canceled. See you all next month. http://oc.pm.org -Tony From bobmath11 at icloud.com Wed Sep 28 10:23:49 2016 From: bobmath11 at icloud.com (Bob Mathews) Date: Wed, 28 Sep 2016 10:23:49 -0700 Subject: [Oc-pm] pokemon Message-ID: <9000D29D-F537-46DA-89BD-DB404D9F2AD1@icloud.com> Since I?m sure you?re all wondering, here are the formulas for calculating Combat Power (CP) in Pokemon Go: $cp = $attack * sqrt($defense * $stamina) * $mult; $attack = $attack_base + int(rand 16); $defense = $defense_base + int(rand 16); $stamina = $stamina_base + int(rand 16); $mult = $lvl < 10 ? 0.00188522509 * $lvl - 0.00100162557 : $lvl < 20 ? 0.00178380524 * $lvl + 0.00001257208 : $lvl < 30 ? 0.00178498135 * $lvl - 0.00001095185 : 0.00089189216 * $lvl + 0.02678172352; Where $lvl is the pokemon level (which can be up to player level + 1.5), *_base are the species base stats, and $attack, $defense, and $stamina are the individual stats (not visible in the game). Have a nice month! -bob -------------- next part -------------- An HTML attachment was scrubbed... URL: