Just a fast test and :
// forgot ;set .equiprobability, 1set .map_job_exp_multiplier, 200
Also when both map + mob of the week enabled that give a strange multiplicator... dunno why
// forgot ;set .equiprobability, 1set .map_job_exp_multiplier, 200
Code:
// forgot bracketset $@specialmap$, getd(".maps_" + .@randarray + "$["+ .@randpos +"]";
Code:
// .mobs_X type integer not stringset .@randpos, rand(0, getarraysize(getd(".mobs_" + .@randarray + "$")) - 1);set $@specialmob, getd(".mobs_" + .@randarray + "$["+ .@randpos +"]"); // This black magic is supposed to draw a random mob from the poolset $@specialmob, getd(".mobs_" + .@i + "$["+ .@draw +"]");
Code:
// display the mob IDif ($@specialmob) announce $@specialmob + " has a x" + .mob_base_exp_multiplier/100 + "." + .mob_base_exp_multiplier0 + " base exp and a x" + .mob_job_exp_multiplier/100 + "." + .mob_job_exp_multiplier0 + " job exp multiplier for the weekend!",bc_self;
Code:
// must be under OnMon0000: or the config is deleted right after be loaddonpcevent strnpcinfo(3)+"::OnDelConfig"; //This way we save memory for the week at the cost of a bit of process
Code:
// @set .@jobexp, getmonsterinfo($@specialmob,4)*(.@mob_job_exp_multiplier - 100)/getbattleflag("quest_exp_rate");
Last edited by a moderator: