public override float GetProperty(BuffProperty property) { if (property == BuffProperty.speed) { return(GameConst.JUMP_FORCE * val); } return(0); }
public override float GetProperty(BuffProperty property) { if (property == BuffProperty.hurt) { return 1; } return 0; }
public virtual float GetProperty(BuffProperty property) { return(0f); }