Hello guys,
I want to confirm.. Do we can do this thing on rAthena?
1. Player eat apple (example item)
2. Player will get 10% EXP for 10 mins and shows the remaining time at buff/status on right screen.
I think I saw something like this before..
After searching doc script_commands.. Found something like this :
Status_icon: See "Status Icon" section in 'src/map/script_constants.h'. Default is SI_BLANK (-1).
Example:
// Apple gives you +5 Str bonus for 1 minute when it's consumed.
512,Apple,Apple,0,15,,20,,,,,0xFFFFFFFF,63,2,,,,,,{ bonus_script "{ bonus bStr,5; }",60; },{},{}
How can I use like example Vitata 500 status icon?
12436,Vitata500,Vitata 500,0,10,,10,,,,,0xFFFFFFFF,63,2,,,,,,{ sc_start2 SC_VITATA_500,500000,20,5; itemheal 0,200; },{},{}
on scripts_constants.hpp :
export_constant(SC_VITATA_500);
Thank you in advance..