#pragma once
#include "EntityState.h"
extern const int ES_STATENAME_GOLDBUFF;
//°ÔÌåÐ§¹û
class EntityStateGoldBuff :
    public EntityState
{
public:
    EntityStateGoldBuff();
    void State() override;
    bool Hurt(std::weak_ptr<Entity> src, int* pGetDamage, float* pAngle, bool* pTakedown, int* pElemType, 
        float* pShockForce, float* pHeavy, int* outRealDamage, bool* outRetVal) override;
    void ResetCounter();
    //°ÔÌå
    float goldbuff_alpha_counter = 0;
    float goldbuff_alpha_counter_max = 10;
};

