Skip to content

Instantly share code, notes, and snippets.

@Johannestegner
Created February 14, 2017 16:25
Show Gist options
  • Save Johannestegner/121670dc75827343c9af546ca31e41a2 to your computer and use it in GitHub Desktop.
Save Johannestegner/121670dc75827343c9af546ca31e41a2 to your computer and use it in GitHub Desktop.
Character Properties from charinfo.
$meleeMasteries = array(
1 => "Unarmed Weapons",
2 => "Swords",
3 => "Axes",
4 => "Maces",
5 => "Spears",
6 => "Daggers",
7 => "Staves",
11 => "Twohanded Weapons"
);
$missileMasteries = array(
8 => "Bows",
9 => "Crossbows",
12 => "Magical Spells"
);
$summonMasteries = array(
1 => "Primalist",
2 => "Necromancer",
3 => "Naturalist"
);
$races = array(
1 => "Aluvian",
2 => "Gharundim",
3 => "Sho",
4 => "Viamontian",
5 => "Umbraen",
6 => "Gearknight",
7 => "Tumerok",
8 => "Lugian",
9 => "Empyrean",
10 => "Penumbraen",
11 => "Undead",
12 => "Olthoi Warrior",
13 => "Olthoi Spitter"
);
$skills = array(
6 => "Melee Defense",
7 => "Missile Defense",
14 => "Arcane Lore",
15 => "Magic Defense",
16 => "Mana Conversion",
18 => "Item Tinkering",
19 => "Assess Person",
20 => "Deception",
21 => "Healing",
22 => "Jump",
23 => "Lockpick",
24 => "Run",
27 => "Assess Creature",
28 => "Weapon Tinkering",
29 => "Armor Tinkering",
30 => "Magic Item Tinkering",
31 => "Creature Enchantment",
32 => "Item Enchantment",
33 => "Life Magic",
34 => "War Magic",
35 => "Leadership",
36 => "Loyalty",
37 => "Fletching",
38 => "Alchemy",
39 => "Cooking",
40 => "Salvaging",
41 => "Two Handed Combat",
43 => "Void Magic",
44 => "Heavy Weapons",
45 => "Light Weapons",
46 => "Finesse Weapons",
47 => "Missile Weapons",
48 => "Shield",
49 => "Dual Wield",
50 => "Recklessness",
51 => "Sneak Attack",
52 => "Dirty Fighting",
54 => "Summoning"
);
$formulas = array(
6 => '($quickness + $coordination) / 3',
7 => '($quickness + $coordination) / 5',
14 => '$focus / 3',
15 => '($self + $focus) / 7',
16 => '($focus + $self) / 6',
18 => '($focus + $coordination) / 2',
19 => '0',
20 => '0',
21 => '($focus + $coordination) / 3',
22 => '($strength + $coordination) / 2',
23 => '($coordination + $focus) / 3',
24 => '$quickness',
27 => '0',
28 => '($focus + $strength) / 2',
29 => '($focus + $endurance) / 2',
30 => '$focus',
31 => '($focus + $self) / 4',
32 => '($focus + $self) / 4',
33 => '($focus + $self) / 4',
34 => '($focus + $self) / 4',
35 => '0',
36 => '0',
37 => '($coordination + $focus) / 3',
38 => '($coordination + $focus) / 3',
39 => '($coordination + $focus) / 3',
40 => '0',
41 => '($strength + $coordination) / 3',
43 => '($focus + $self) / 4',
44 => '($strength + $coordination) / 3',
45 => '($strength + $coordination) / 3',
46 => '($quickness + $coordination) / 3',
47 => '$coordination / 2',
48 => '($strength + $coordination) / 2',
49 => '($strength + $coordination) / 3',
50 => '($strength + $quickness) / 3',
51 => '($quickness + $coordination) / 3',
52 => '($strength + $coordination) / 3',
54 => '($endurance + $self) / 3'
);
$ranks = array(
'Initiate' => [0, 100],
'Adept' => [101, 300],
'Knight' => [301, 600],
'Lord' => [601, 1000],
'Master' => [1001, PHP_INT_MAX]
);
$societies = array(
'Celestial Hand',
'Radiant Blood',
'Eldrytch Web'
);
$augs = array(
0xDA => "Reinforcement of the Lugians",
0xDB => "Bleeargh's Fortitude",
0xDC => "Oswald's Enhancement",
0xDD => "Siraluun's Blessing",
0xDE => "Enduring Calm",
0xDF => "Steadfast Will",
0xE0 => "Ciandra's Essence",
0xE1 => "Yoshi's Essence",
0xE2 => "Jibril's Essence",
0xE3 => "Celdiseth's Essence",
0xE4 => "Koga's Essence",
0xE5 => "Shadow of the Seventh Mule",
0xE6 => "Might of the Seventh Mule",
0xE7 => "Clutch of the Miser",
0xE8 => "Enduring Enchantment",
0xE9 => "Critical Protection",
0xEA => "Quick Learner",
0xEB => "Ciandra's Fortune",
0xEC => "Charmed Smith",
0xED => "Innate Renewal",
0xEE => "Archmage's Endurance",
0xF0 => "Enchancement of the Blade Turner",
0xF1 => "Enchancement of the Arrow Turner",
0xF2 => "Enchancement of the Mace Turner",
0xF3 => "Caustic Enhancement",
0xF4 => "Fiery Enchancement",
0xF5 => "Icy Enchancement",
0xF6 => "Storm's Enhancement",
0x125 => "Tristra's Essence",
0x126 => "Infused Creature",
0x127 => "Infused Item",
0x128 => "Infused Life",
0x129 => "Infused War",
0x12A => "Eye of the Remorseless",
0x12B => "Hand of the Remorseless",
0x12C => "Master of the Steel Circle",
0x12D => "Master of the Focused Eye",
0x12E => "Master of the Four Fold Path",
0x135 => "Frenzy of the Slayer",
0x136 => "Iron Skin of the Invincible",
326 => "Jack of All Trades"
);
$lum = array(
0x14d => "Aura of Valor",
0x14e => "Aura of Protection",
0x14f => "Aura of Glory",
0x150 => "Aura of Temperance",
0x152 => "Aura of Aetheric Vision",
0x153 => "Aura of Mana Flow",
0x156 => "Aura of Purity",
0x157 => "Aura of the Craftsman",
0x158 => "Aura of Specialization",
0x16d => "Aura of the World"
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment