game2005/server/gameserver/frag_mitask.h
aozhiwei 1562212376 1
2021-07-06 13:15:46 +08:00

28 lines
466 B
C++

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