Created
November 7, 2013 02:45
-
-
Save topnotcher/7348088 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($rps{$u}{level} >= 25 && rand(40) < 1) { | |
$ulevel = 50+int(rand(25)); | |
if ($ulevel >= $level && $ulevel > int($rps{$u}{item}{helm})) { | |
notice("The light of the gods shines down upon you! You have ". | |
"found the level $ulevel Mattt's Omniscience Grand Crown! ". | |
"Your enemies fall before you as you anticipate their ". | |
"every move.",$rps{$u}{nick}); | |
$rps{$u}{item}{helm} = $ulevel."a"; | |
return; | |
} | |
} | |
elsif ($rps{$u}{level} >= 25 && rand(40) < 1) { | |
$ulevel = 50+int(rand(25)); | |
if ($ulevel >= $level && $ulevel > int($rps{$u}{item}{ring})) { | |
notice("The light of the gods shines down upon you! You have ". | |
"found the level $ulevel Juliet's Glorious Ring of ". | |
"Sparkliness! You enemies are blinded by both its glory ". | |
"and their greed as you bring desolation upon them.", | |
$rps{$u}{nick}); | |
$rps{$u}{item}{ring} = $ulevel."h"; | |
return; | |
} | |
} | |
elsif ($rps{$u}{level} >= 30 && rand(40) < 1) { | |
$ulevel = 75+int(rand(25)); | |
if ($ulevel >= $level && $ulevel > int($rps{$u}{item}{tunic})) { | |
notice("The light of the gods shines down upon you! You have ". | |
"found the level $ulevel Res0's Protectorate Plate Mail! ". | |
"Your enemies cower in fear as their attacks have no ". | |
"effect on you.",$rps{$u}{nick}); | |
$rps{$u}{item}{tunic} = $ulevel."b"; | |
return; | |
} | |
} | |
elsif ($rps{$u}{level} >= 35 && rand(40) < 1) { | |
$ulevel = 100+int(rand(25)); | |
if ($ulevel >= $level && $ulevel > int($rps{$u}{item}{amulet})) { | |
notice("The light of the gods shines down upon you! You have ". | |
"found the level $ulevel Dwyn's Storm Magic Amulet! Your ". | |
"enemies are swept away by an elemental fury before the ". | |
"war has even begun",$rps{$u}{nick}); | |
$rps{$u}{item}{amulet} = $ulevel."c"; | |
return; | |
} | |
} | |
elsif ($rps{$u}{level} >= 40 && rand(40) < 1) { | |
$ulevel = 150+int(rand(25)); | |
if ($ulevel >= $level && $ulevel > int($rps{$u}{item}{weapon})) { | |
notice("The light of the gods shines down upon you! You have ". | |
"found the level $ulevel Jotun's Fury Colossal Sword! Your ". | |
"enemies' hatred is brought to a quick end as you arc your ". | |
"wrist, dealing the crushing blow.",$rps{$u}{nick}); | |
$rps{$u}{item}{weapon} = $ulevel."d"; | |
return; | |
} | |
} | |
elsif ($rps{$u}{level} >= 45 && rand(40) < 1) { | |
$ulevel = 175+int(rand(26)); | |
if ($ulevel >= $level && $ulevel > int($rps{$u}{item}{weapon})) { | |
notice("The light of the gods shines down upon you! You have ". | |
"found the level $ulevel Drdink's Cane of Blind Rage! Your ". | |
"enemies are tossed aside as you blindly swing your arm ". | |
"around hitting stuff.",$rps{$u}{nick}); | |
$rps{$u}{item}{weapon} = $ulevel."e"; | |
return; | |
} | |
} | |
elsif ($rps{$u}{level} >= 48 && rand(40) < 1) { | |
$ulevel = 250+int(rand(51)); | |
if ($ulevel >= $level && $ulevel > | |
int($rps{$u}{item}{"pair of boots"})) { | |
notice("The light of the gods shines down upon you! You have ". | |
"found the level $ulevel Mrquick's Magical Boots of ". | |
"Swiftness! Your enemies are left choking on your dust as ". | |
"you run from them very, very quickly.",$rps{$u}{nick}); | |
$rps{$u}{item}{"pair of boots"} = $ulevel."f"; | |
return; | |
} | |
} | |
elsif ($rps{$u}{level} >= 52 && rand(40) < 1) { | |
$ulevel = 300+int(rand(51)); | |
if ($ulevel >= $level && $ulevel > int($rps{$u}{item}{weapon})) { | |
notice("The light of the gods shines down upon you! You have ". | |
"found the level $ulevel Jeff's Cluehammer of Doom! Your ". | |
"enemies are left with a sudden and intense clarity of ". | |
"mind... even as you relieve them of it.",$rps{$u}{nick}); | |
$rps{$u}{item}{weapon} = $ulevel."g"; | |
return; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment