bachvugx
-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by bachvugx
-
-
Thank for help !
But i want drop rate base on mvp exp and monster exp
Help me !!
-
ITEM BOX:
29056,Auto_Attack_Box,Auto Attack Box,18,20,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ rentitem 29002,604800; },{},{}
ITEM AUTO
29002,autoatk_Card,Auto Attack Card,11,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{},{ callfunc "command__"; set @at,1;},{ callfunc "command__"; set @at,0;}
FUNCTION ATCOMMAND
function script command__ { atcommand "@autoattack"; return;}
FUNCTION CHECK
- script fixautoattack -1,{ OnPCLogoutEvent: if (@at == 1) { atcommand "@autoattack"; set @at,0;}; end; }
Before TEST plz unequip ITEM AUTO and turn off auto attack.
Sr ! My English is very very very BAD
- 1
-
- script fixautoattack -1,{ OnPCLoginEvent: if (@at == 0 && (getequipid(<equipment slot>) == 29002 )) {end;} else if (@at == 1 && (getequipid(<equipment slot>) == 29002 )) { atcommand "@autoattack"; set @at,0;}; end;}
Try this
-
bonus bCastrate to bonus bVariableCastrate
-
id,Weapon,Weapon,4,20,,3500,200,,1,1,0x000xxx,2,2,34,4,55,1,3,{ if(readparam(bDex) == 140) bonus bCastrate,-100; },{},{}
-
try this
30001,Auto_Attack_Card,Auto Attack,11,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{},{ callfunc "command__"; set @at,1;},{ callfunc "command__"; set @at,0;}
function script command__ { attachnpctimer getcharid(3); if atcommand "@autoattack"; initnpctimer; return;
and
- script fixautoattack { OnPCLoginEvent: if (@at == 0) {end;} else { atcommand "@autoattack"; set @at,0;}; end;
-
I want to drop coinid by monster & mvp.
monster (monster's baseexp / monster's jobexp) * (monster's baselevel / 100)
and mvp (mvp's baseexp + mvp's jobexp)/(mvp's mvpexp)
my english very bad (
Help me, plz !! Thank
- script Coinlevel -,{ OnNPCKillEvent: if (getmonsterinfo(killedrid,22) == 0) { set @coindropnum, 1; if (getmonsterinfo(killedrid,3) < getmonsterinfo(killedrid,4)) { set @ratedropcoin, getmonsterinfo(killedrid,4) / getmonsterinfo(killedrid,3); } else { set @ratedropcoin, getmonsterinfo(killedrid,3) / getmonsterinfo(killedrid,4); } set @ratedropcoin, @ratedropcoin * getmonsterinfo(killedrid,2) * 10; } else { set @coindropnum, 20; set @ratedropcoin, getmonsterinfo(killedrid,3) + getmonsterinfo(killedrid,4); set @ratedropcoin, @ratedropcoin * 2 * 1000 / getmonsterinfo(killedrid,22); }; set @possibilty, rand(0,100000); if (@possibilty <= @ratedropcoin) { getitem @coinid,@coindropnum; end; }; end; }
Homun can't up level
in General Support
Posted
check your db/re/exp_homun.txt & conf/battle/exp.txt