Player Resource Consortium

 

Author Topic: Question about a switch?  (Read 2509 times)

0 Members and 1 Guest are viewing this topic.

May 13, 2011, 10:16:08 PM

I am going through and setting my switches i came to the switch named PRC_EPIC_FAILURE_FRACTION_GOLD . what i was wondering is how do you turn this switch off ? will setting it to -1 work?


May 14, 2011, 02:18:24 AM
Reply #1
  • Hero Member
  • *****
  • Posts: 1439
  • Karma: +27/-0
  • Gender: Male
    • View Profile

Quote from: clansunstar

I am going through and setting my switches i came to the switch named PRC_EPIC_FAILURE_FRACTION_GOLD . what i was wondering is how do you turn this switch off ? will setting it to -1 work?


first you need to set PRC_EPIC_INGORE_DEFAULTS switch to 1 and set following switches (default values):
PRC_EPIC_XP_COSTS (TRUE)
PRC_EPIC_BACKLASH_DAMAGE (TRUE)
PRC_EPIC_FOCI_ADJUST_DC (TRUE)
PRC_EPIC_GOLD_MULTIPLIER (9000)
PRC_EPIC_XP_FRACTION (25)
PRC_EPIC_FAILURE_FRACTION_GOLD (2)
PRC_EPIC_BOOK_DESTRUCTION (50)

The amount of gold you spend after failed research is calculated by this formula:
gold = spell_research_DC * PRC_EPIC_GOLD_MULTIPLIER / PRC_EPIC_FAILURE_FRACTION_GOLD

so if you set PRC_EPIC_FAILURE_FRACTION_GOLD to be equal to PRC_EPIC_GOLD_MULTIPLIER, you will still have to pay spellDC (max 101) gp on failed research.

Edit: Not sure in SpendGP() works with negative values...
« Last Edit: May 14, 2011, 02:21:23 AM by xwarren »