PDA

View Full Version : RPG Monster Editor?


Dorign
03-23-2005, 04:51 PM
Was there one that was supposed to be included? I'd like to adjust the EXP won per monster, unless that doesn't work.. :P

I'd also like to buff the monsters up.

Revan
03-23-2005, 05:16 PM
mmm I forgot to include the instructions for new admincp/index.php edits.
Give us a sec and I'll have it ready

Under construct_nav_group($vbphrase['rpg_battle'], '<hr />');
}
// ***

Add if (can_administer('canadminrpg'))
{
$printhr = true;
construct_nav_option($vbphrase['rpg_view_monster_battles'], 'monsteradmin.php?do=viewbattles', '<br />');
construct_nav_option($vbphrase['edit_options'], 'options.php?dogroup=rpg_battle', '<br />');
construct_nav_option($vbphrase['rpg_add_monster'], 'monsteradmin.php?do=addmonster', '<br />');
construct_nav_option($vbphrase['rpg_edit_delete_monster'], 'monsteradmin.php?do=editmonsters', '<br />');
construct_nav_group($vbphrase['rpg_monster_arena'], '<hr />');
}
// ***

Dorign
03-23-2005, 07:14 PM
Sweet. :D Do you by chance know the formula for the EXP? For example, right now, my "power level" or whatever, on a setting between 1 and 5, is on the default, which is 2. So how much EXP, at power level 2, would a monster need to be "level 10." And so on?

Revan
03-23-2005, 07:52 PM
pow(log10($experience), $exprate);

Dorign
03-24-2005, 06:14 PM
I'm stupid and I don't know what that means.. :F

Revan
03-24-2005, 06:49 PM
the logarithm of [users experience] is given the power of [experience rate].
For instance, if the user has 100 EXP, the log10() would be 2. As 10 to the power of 2 is 100.
Then, if the EXP rate is 3, the equation would be 2 to the power of 3, which is 8. Because 2*2*2=8.
Hence, an user with 100 EXP in EXP Rate 3 is at level 8.

twoseven
03-24-2005, 06:54 PM
any reason why you chose base 10?

Revan
03-24-2005, 07:47 PM
As good a number as any...? :P