Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. class Buff {
  2. public:
  3. void use(Mob& mob_passive) {
  4. thread threading(&Buff::apply_buff, mob_passive);
  5. }
  6.  
  7. void apply_buff(Mob& mob_passive) {
  8. use_all_buffs(mob_passive);
  9. Sleep(seconds * 1000);
  10. complete(mob_passive);
  11.  
  12. delete this;
  13. }
  14. ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement