Created
February 27, 2012 01:07
-
-
Save elricstorm/1920326 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
def dwarf | |
dwarf = Race.find(2) | |
gon.dwarf_con_min = (gon.constitution + dwarf.bon_con) - 10 | |
gon.dwarf_con_val = gon.constitution + dwarf.bon_con | |
gon.dwarf_dex_min = (gon.dexterity + dwarf.bon_dex) - 10 | |
gon.dwarf_dex_val = gon.dexterity + dwarf.bon_dex | |
gon.dwarf_div_min = (gon.divinity + dwarf.bon_div) - 10 | |
gon.dwarf_div_val = gon.divinity + dwarf.bon_div | |
gon.dwarf_int_min = (gon.intellect + dwarf.bon_int) - 10 | |
gon.dwarf_int_val = gon.intellect + dwarf.bon_int | |
gon.dwarf_luc_min = (gon.luck + dwarf.bon_luc) - 10 | |
gon.dwarf_luc_val = gon.luck + dwarf.bon_luc | |
gon.dwarf_str_min = (gon.strength + dwarf.bon_str) - 10 | |
gon.dwarf_str_val = gon.strength + dwarf.bon_str | |
gon.dwarf_wis_min = (gon.wisdom + dwarf.bon_wis) - 10 | |
gon.dwarf_wis_val = gon.wisdom + dwarf.bon_wis | |
end | |
def elf | |
elf = Race.find(3) | |
gon.elf_con_min = (gon.constitution + elf.bon_con) - 10 | |
gon.elf_con_val = gon.constitution + elf.bon_con | |
gon.elf_dex_min = (gon.dexterity + elf.bon_dex) - 10 | |
gon.elf_dex_val = gon.dexterity + elf.bon_dex | |
gon.elf_div_min = (gon.divinity + elf.bon_div) - 10 | |
gon.elf_div_val = gon.divinity + elf.bon_div | |
gon.elf_int_min = (gon.intellect + elf.bon_int) - 10 | |
gon.elf_int_val = gon.intellect + elf.bon_int | |
gon.elf_luc_min = (gon.luck + elf.bon_luc) - 10 | |
gon.elf_luc_val = gon.luck + elf.bon_luc | |
gon.elf_str_min = (gon.strength + elf.bon_str) - 10 | |
gon.elf_str_val = gon.strength + elf.bon_str | |
gon.elf_wis_min = (gon.wisdom + elf.bon_wis) - 10 | |
gon.elf_wis_val = gon.wisdom + elf.bon_wis | |
end | |
def faelkin | |
faelkin = Race.find(4) | |
gon.faelkin_con_min = (gon.constitution + faelkin.bon_con) - 10 | |
gon.faelkin_con_val = gon.constitution + faelkin.bon_con | |
gon.faelkin_dex_min = (gon.dexterity + faelkin.bon_dex) - 10 | |
gon.faelkin_dex_val = gon.dexterity + faelkin.bon_dex | |
gon.faelkin_div_min = (gon.divinity + faelkin.bon_div) - 10 | |
gon.faelkin_div_val = gon.divinity + faelkin.bon_div | |
gon.faelkin_int_min = (gon.intellect + faelkin.bon_int) - 10 | |
gon.faelkin_int_val = gon.intellect + faelkin.bon_int | |
gon.faelkin_luc_min = (gon.luck + faelkin.bon_luc) - 10 | |
gon.faelkin_luc_val = gon.luck + faelkin.bon_luc | |
gon.faelkin_str_min = (gon.strength + faelkin.bon_str) - 10 | |
gon.faelkin_str_val = gon.strength + faelkin.bon_str | |
gon.faelkin_wis_min = (gon.wisdom + faelkin.bon_wis) - 10 | |
gon.faelkin_wis_val = gon.wisdom + faelkin.bon_wis | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment