Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Buff {
- public:
- void use(Mob& mob_passive) {
- thread threading(&Buff::apply_buff, mob_passive);
- }
- void apply_buff(Mob& mob_passive) {
- use_all_buffs(mob_passive);
- Sleep(seconds * 1000);
- complete(mob_passive);
- delete this;
- }
- ....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement