Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import "std.zh"
- const int FLASH_GREEN = 143;
- hero script active
- {
- void run()
- {
- int clk;
- while(1)
- {
- if ( Hero->Action == LA_GOTHURTLAND && !clk )
- {
- clk = 100;
- }
- if ( clk )
- {
- --clk;
- Hero->Item[FLASH_GREEN] =( (clk % 4) ) ? true : false;
- }
- else Hero->Item[FLASH_GREEN] = false;
- Waitframe();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement