Harvesting percentages not loading correctly
Posted: Sun May 07, 2017 9:49 pm
using the defualt tables with imbue 1% rare .7% and harvest10 .3%
with debugging on the following printout has the wrong percentages so an imbue and a singe rare do not seem to be hit
here is the log entry
although it should be 0,0,0,70.00,20.00,8.00,1.00, 0.70, 0.30, 0
it looks like
harvest imbue is getting .70 instead of 1.00
harvest rare is getting .30 instead of .70
and harvest10 is getting 1.00 instead of .30
i could not find where these values get loaded into the select table
with debugging on the following printout has the wrong percentages so an imbue and a singe rare do not seem to be hit
Code: Select all
LogWrite(GROUNDSPAWN__DEBUG, 3, "GSpawn", "Using Table: %i, %i, %i, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %i",
selected_table->min_skill_level,
selected_table->min_adventure_level,
selected_table->bonus_table,
selected_table->harvest1,
selected_table->harvest3,
selected_table->harvest5,
selected_table->harvest_imbue,
selected_table->harvest_rare,
selected_table->harvest10,
selected_table->harvest_coin);it looks like
harvest imbue is getting .70 instead of 1.00
harvest rare is getting .30 instead of .70
and harvest10 is getting 1.00 instead of .30
i could not find where these values get loaded into the select table