[Help] Reset charchter

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jul 9, 2006
Messages
63
Reaction score
0
Hi all...
I use Haste Files and MuWeb 0.6
When I reset a charechter (any Class)
Gives me a 25 points for Strenght, Agility,Vitality and Energy.
DeVaSouR - [Help] Reset charchter - RaGEZONE Forums

Hiw can i Do to give me Normal Stats :
Code:
/*  WIZ      'str'=>'18', 'agi'=>'18', 'vit'=>'15', 'eng'=>'30'
/* KNIG      'str'=>'28', 'agi'=>'20', 'vit'=>'25', 'eng'=>'10'
/* ELF        'str'=>'22', 'agi'=>'25', 'vit'=>'20', 'eng'=>'15'
/* MAGICGLAD 'str'=>'26', 'agi'=>'26', 'vit'=>'26', 'eng'=>'26'
/* DARKLORD   'str'=>'26', 'agi'=>'26', 'vit'=>'26', 'eng'=>'26'
 
Re: [Help]Reset charchter

ok man, it looks like you are using muweb sooo, go to the Admin Control Panel, under Website Settings and Select under reset Type "Keep Stats"
And you should be good man :P
 
Upvote 0
Re: [Help]Reset charchter

ok man, it looks like you are using muweb sooo, go to the Admin Control Panel, under Website Settings and Select under reset Type "Keep Stats"
And you should be good man :P

I don`t wont to Keep stats...
 
Upvote 0
Re: [Help]Reset charchter

mmmm you need some if as this
if($class='0'||$class='1'){
$str=18;
$agi=18;
$vit=20;
$ene=30;
}
if($class='16'||$class='17'){
$str=28;
$agi=20;
$vit=25;
$ene=10;
}
if($class='32'||$class='33'){
$str=22;
$agi=25;
$vit=20;
$ene=15;
}
if($class='48'){
$str=26;
$agi=26;
$vit=26;
$ene=26;
}
if($class='64'){
$str=26;
$agi=26;
$vit=26;
$ene=26;
}
 
Upvote 0
Re: [Help]Reset charchter

and update your db
$db->Execute(Update character set [strength]='$str',[dexterity]='$agi',[vitality]='$vit',[energy]='$ene' where name='$post_character' );
 
Upvote 0
Status
Not open for further replies.
Back