Zikoziz Posted November 21, 2016 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 208 Reputation: 16 Joined: 12/19/13 Last Seen: 19 hours ago Share Posted November 21, 2016 (edited) Greetings, I need your help to fix the message "Rates" I want you to tell me well the rates.NOTA; Normal Rates 100x Base / 100x Job - script LizardRates RATES_NPC,{ OnInit: OnMinute01: set $@brate,rand(10000,19999); set $@jrate,rand(10000,19999); setbattleflag("base_exp_rate",$@brate); setbattleflag("job_exp_rate",$@jrate); announce "Evento Rates, Nuevos Rates: +1"+ (getbattleflag("base_exp_rate") - 10000) +" | Job Exp: +1"+ (getbattleflag("job_exp_rate") - 10000) +" !!",bc_all,0x00FFFF; end; OnMinute02: atcommand "@reloadbattleconf"; announce "Rates Establecidos a la normalidad",bc_all,0xFF6060; end; } Edited November 21, 2016 by Zikoziz Quote Link to comment Share on other sites More sharing options...
0 Zikoziz Posted November 21, 2016 Group: Members Topic Count: 61 Topics Per Day: 0.01 Content Count: 208 Reputation: 16 Joined: 12/19/13 Last Seen: 19 hours ago Author Share Posted November 21, 2016 Fixed with a / 100 replacing - 1000 Close Topic =B Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted November 22, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 23 hours ago Share Posted November 22, 2016 4 hours ago, Zikoziz said: getbattleflag("base_exp_rate") - 10000 change to (getbattleflag("base_exp_rate") / 100 Quote Link to comment Share on other sites More sharing options...
Question
Zikoziz
Greetings, I need your help to fix the message "Rates" I want you to tell me well the rates.
NOTA; Normal Rates 100x Base / 100x Job
- script LizardRates RATES_NPC,{ OnInit: OnMinute01: set $@brate,rand(10000,19999); set $@jrate,rand(10000,19999); setbattleflag("base_exp_rate",$@brate); setbattleflag("job_exp_rate",$@jrate); announce "Evento Rates, Nuevos Rates: +1"+ (getbattleflag("base_exp_rate") - 10000) +" | Job Exp: +1"+ (getbattleflag("job_exp_rate") - 10000) +" !!",bc_all,0x00FFFF; end; OnMinute02: atcommand "@reloadbattleconf"; announce "Rates Establecidos a la normalidad",bc_all,0xFF6060; end; }
Edited by ZikozizLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.