Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122406621
PhabricatorBadgesLootContextFreeGrammar.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jul 17, 17:24
Size
2 KB
Mime Type
text/x-php
Expires
Sat, Jul 19, 17:24 (2 d)
Engine
blob
Format
Raw Data
Handle
27411919
Attached To
rPH Phabricator
PhabricatorBadgesLootContextFreeGrammar.php
View Options
<?php
final
class
PhabricatorBadgesLootContextFreeGrammar
extends
PhutilContextFreeGrammar
{
protected
function
getRules
()
{
return
array
(
'start'
=>
array
(
'[jewelry]'
,
),
'jewelry'
=>
array
(
'Ring [jewelry-suffix]'
,
'Ring [jewelry-suffix]'
,
'[jewelry-prefix] Ring'
,
'[jewelry-prefix] Ring'
,
'Amulet [jewelry-suffix]'
,
'Amulet [jewelry-suffix]'
,
'[jewelry-prefix] Amulet'
,
'[jewelry-prefix] Amulet'
,
'[jewelry-prefix] Ring [jewelry-suffix]'
,
'[jewelry-prefix] Amulet [jewelry-suffix]'
,
'[unique-jewelry]'
,
),
'jewelry-prefix'
=>
array
(
'[mana-prefix]'
,
),
'jewelry-suffix'
=>
array
(
'[dexterity-suffix]'
,
'[dexterity-suffix-jewelry]'
,
),
'mana-prefix'
=>
array
(
'Hyena
\'
s (-<11-25> Mana)'
,
'Frog
\'
s (-<1-10> Mana)'
,
'Spider
\'
s (+<10-15> Mana)'
,
'Raven
\'
s (+<15-20> Mana)'
,
'Snake
\'
s (+<21-30> Mana)'
,
'Serpent
\'
s (+<31-40> Mana)'
,
'Drake
\'
s (+<41-50> Mana)'
,
'Dragon
\'
s (+<51-60> Mana)'
,
),
'dexterity-suffix'
=>
array
(
'of Paralysis (-<6-10> Dexterity)'
,
'of Atrophy (-<1-5> Dexterity)'
,
'of Dexterity (+<1-5> Dexterity)'
,
'of Skill (+<6-10> Dexterity)'
,
'of Accuracy (+<11-15> Dexterity)'
,
'of Precision (+<16-20> Dexterity)'
,
),
'dexterity-suffix-jewelry'
=>
array
(
'[dexterity-suffix]'
,
'[dexterity-suffix]'
,
'[dexterity-suffix]'
,
'[dexterity-suffix]'
,
'[dexterity-suffix]'
,
'[dexterity-suffix]'
,
'[dexterity-suffix]'
,
'[dexterity-suffix]'
,
'[dexterity-suffix]'
,
'of Perfection (+<21-30> Dexterity)'
,
),
'unique-jewelry'
=>
array
(
'[jewelry]'
,
'[jewelry]'
,
'[jewelry]'
,
'[jewelry]'
,
'[jewelry]'
,
'[jewelry]'
,
'[jewelry]'
,
'[jewelry]'
,
'[unique-ring]'
,
'[unique-amulet]'
,
),
'unique-ring'
=>
array
(
'The Bleeder'
,
'The Bramble'
,
'Constricting Ring'
,
'Empyrean Band'
,
'Ring of Engagement'
,
'Ring of Regha'
,
),
'unique-amulet'
=>
array
(
'Optic Amulet'
,
),
);
}
}
Event Timeline
Log In to Comment