kurosuki Posted July 24, 2015 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 10/31/14 Last Seen: June 16, 2016 Share Posted July 24, 2015 prontera,100,100,5 script hourlypoints 139,8,11,{end;OnTouch: dispbottom "Stay here to get afk hourly points."; attachnpctimer(); startnpctimer(); end;OnTimer3600000: getmapxy(.@map$,.@x,.@y,0); if( distance(.x,.y,.@x,.@y)<=11 && .@map$==.map$ ) { if( checkidle() ) { set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt; dispbottom "You received "+.point_amt+" Kafrapoints by staying afk ingame for 1 hour"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; set @consecutive_hour, @consecutive_hour + 1; //Check for 3 hours consecutive if(@consecutive_hour == 3) { set @consecutive_hour,0; set #KAFRAPOINTS, #KAFRAPOINTS + .cpoint_amt; dispbottom "You receive "+.cpoint_amt+" Kafrapoints in afking for 3 consecutive hours"; dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints"; } } attachnpctimer(); initnpctimer(); } else { dispbottom "You left the afk area and will no longer receive Kafrapoints."; stopnpctimer(); } end;OnInit: getmapxy(.map$,.x,.y,1); set .cpoint_amt, 50; //Points gained for consecutive time online. set .point_amt, 10; //Normal points gained.} Is it possible to remove Kafrapoint System and add 200% HP Recovery 200% SP Recovery As Long ur 11x11 Around The Npc? Quote Link to comment Share on other sites More sharing options...
Stolao Posted July 24, 2015 Group: Developer Topic Count: 48 Topics Per Day: 0.01 Content Count: 1443 Reputation: 344 Joined: 10/17/12 Last Seen: Sunday at 01:58 PM Share Posted July 24, 2015 (edited) https://github.com/Stolao/Npc_Request/blob/Satan/Regenerator/Regenerator.txt think i got the sc_start4 right but not positive no details in https://github.com/rathena/rathena/blob/master/doc/status_change.txt Edited July 24, 2015 by Stolao Quote Link to comment Share on other sites More sharing options...
Question
kurosuki
prontera,100,100,5 script hourlypoints 139,8,11,{
end;
OnTouch:
dispbottom "Stay here to get afk hourly points.";
attachnpctimer();
startnpctimer();
end;
OnTimer3600000:
getmapxy(.@map$,.@x,.@y,0);
if( distance(.x,.y,.@x,.@y)<=11
&& .@map$==.map$ ) {
if( checkidle() ) {
set #KAFRAPOINTS, #KAFRAPOINTS + .point_amt;
dispbottom "You received "+.point_amt+" Kafrapoints by staying afk ingame for 1 hour";
dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints";
set @consecutive_hour, @consecutive_hour + 1;
//Check for 3 hours consecutive
if(@consecutive_hour == 3) {
set @consecutive_hour,0;
set #KAFRAPOINTS, #KAFRAPOINTS + .cpoint_amt;
dispbottom "You receive "+.cpoint_amt+" Kafrapoints in afking for 3 consecutive hours";
dispbottom "Current Balance = "+#KAFRAPOINTS+" Kafrapoints";
}
}
attachnpctimer();
initnpctimer();
} else {
dispbottom "You left the afk area and will no longer receive Kafrapoints.";
stopnpctimer();
}
end;
OnInit:
getmapxy(.map$,.x,.y,1);
set .cpoint_amt, 50; //Points gained for consecutive time online.
set .point_amt, 10; //Normal points gained.
}
Is it possible to remove Kafrapoint System and add
200% HP Recovery
200% SP Recovery
As Long ur 11x11 Around The Npc?
Link to comment
Share on other sites
1 answer 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.