game2006/server/gameserver/frag_mitask.h
aozhiwei 797b9f2fbd 1
2022-12-23 17:52:11 +08:00

23 lines
441 B
C++

#pragma once
#include "microtask.h"
class Room;
class Player;
class FragMiTask : public MicroTask
{
public:
Room* room = nullptr;
Position bomb_pos;
CreatureWeakPtr sender;
CreatureWeakPtr follow_target;
CreatureWeakPtr force_target;
const mt::Equip* gun_meta = nullptr;
const mt::Equip* meta = nullptr;
float explosion_range = 1;
float atk = 0;
void Done();
float GetAtk() { return atk; }
};