About This File
Refer:
http://rathena.org/board/files/file/2551-autoattack/
http://rathena.org/board/files/file/2826-autopots/
Preview:
https://www.facebook.com/photo.php?v=774591642560012
https://www.facebook.com/fanen.goddameit/posts/774573372561839
https://www.facebook.com/fanen.goddameit/posts/773655365986973
Info:
This system will make player auto-attack when they active this SC.
Player can put some skill and item to their hotkeys for controlling something,
for example, if I put fly wing to my F1, and it will use it for teleporting.
Hotkeys:
F1 ---> Fly wing
F2 ---> Teleport (Skill)
F3 ~ F7 ---> buff skill for yourself
F8 ---> Main attacking skill
F9 ---> Second chosen skill
Line 2 1st ---> Item for HP (Lower 80%)
Line 2 2nd ---> Item for SP (Lower 80%)
http://i.imgur.com/v3rBXjc.jpg
Active:
sc_start4 SC_BOT,<Duration>,<Use Normal Attack>,0,0,0;
Forced End:
sc_end SC_BOT;
Sample for ON\OFF:
@boton ---> start@botoff \ @botend ---> end
PS:
If everything is right, but BOT still not working, check your SC_BOT definition in db/const.txt and status.h, both must be same value.
Update:
v.3: Fixed and change SC to SC_BOT
v.2: New variable @SP_BOT_LTICK will record your left time after you use @sak or sc_end
What's New in Version v.3 See changelog
Released
- v.1: complete basic system
- v.2: add @SP_BOT_LTICK for recording how long you left after sc_end. modify something.
- v.3: Fixed and change SC to SC_BOT