package fishing

import "time"

const BULLETLIMIT = 2048
const WINDOW_SIZE = 10

// 玩家的炮台类型
const (
	NormalPowerType = iota // 普通炮台
	FreePowerType          // 免费炮台
	BitPowerType           // 钻头贝炮台
)

// 玩家数据索引
const (
	GDATAS_HPFISHING_PRANA     int = iota //聚能炮能量
	GDATAS_HPFISHING_ALLBET               //总下注
	GDATAS_HPFISHING_ALLBET64             //总下注 高字节
	GDATAS_HPFISHING_CHANGEBET            //每一局 金币变动总额
	GDATAS_FISHING_SELVIP                 //VIP 炮等级
	GDATAS_HPFISHING_MAX
)
const (
	FishDrop_Rate = 10000
	CountSaveNums = 300
)

const (
	FishingSceneAniTimeout = time.Second * 3
	FishArrayInterval      = time.Second * 60 * 5 //鱼阵每五分钟直行一次
	PlayerLongTimeNoOp     = time.Minute * 5      //玩家5分钟未发炮 踢出房间
)
const (
	FishingSceneStateStart int = iota
	FishingSceneStateClear
	FishingSceneStateMax
)
const (
	FishingPlayerOpFire         int = iota // 开炮
	FishingPlayerOpHitFish                 // 命中
	FishingPlayerOpSetPower                // 设置炮台倍率
	FishingPlayerOpSelVip                  // 设置vip炮台
	FishingPlayerOpRobotFire               // 机器人开炮
	FishingPlayerOpRobotHitFish            // 机器人命中
	FishingPlayerOpLeave                   //
	FishingPlayerOpEnter                   //
	FishingPlayerOpAuto                    // 自动
	FishingPlayerOpSelTarget               // 瞄准
	FishingPlayerOpFireRate                // 开炮频率
	FishingRobotOpAuto                     // 机器人自动
	FishingRobotOpSetPower                 // 机器人设置炮台倍率
	FishingPlayerHangup                    //
	FishingRobotWantLeave                  //
)

const (
	FishingRobotBehaviorCode_StopFire int32 = iota //停止开炮
)
const (
	ExtraAppearTime = 5 //额外出现时间
)
const (
	FishArrayOne = 1
)
const (
	ChangeSceneIdMax = 5 //变化场景最大id
)

// 技能
const (
	FishSill_Lock          = 101 //锁定
	FishSkill_Freeze       = 102 //冰冻
	FishSkill_Speed        = 103 //狂暴
	FishSkill_MagicLamp    = 104 //神灯
	FishSkill_MysticalHorn = 105 //神秘号角
)
