game2006/server/gameserver/frag_mitask.h
aozhiwei cbeed93374 1
2023-03-02 18:31:11 +08:00

22 lines
415 B
C++

#pragma once
#include "microtask.h"
class Room;
class Player;
class FragMiTask : public MicroTask
{
public:
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; }
};