设置小精灵
This commit is contained in:
parent
04662506be
commit
6894bf7d03
6 changed files with 132100 additions and 132352 deletions
Binary file not shown.
|
|
@ -8,6 +8,7 @@ VarCfg.Falg_tequan = 2 ---*
|
|||
VarCfg.Falg_meirilq = 3 ---* 每日充值领取记录
|
||||
VarCfg.Falg_ShouChong = 7 ---* 首充开通
|
||||
VarCfg.Falg_ChengZhang = 8 ---* 开通成长基金
|
||||
VarCfg.Falg_shiqujinlin = 9 ---* ¿ªÍ¨Ê°È¡¾«Áé
|
||||
|
||||
|
||||
VarCfg.Falg_Fengjin = 998 ---* 封禁标识
|
||||
|
|
|
|||
|
|
@ -439,6 +439,19 @@ ClickOnItem.cfg = {
|
|||
playeffect(actor, 82, 0, 0, 1, 0, 1)
|
||||
return true
|
||||
end,
|
||||
|
||||
---* 拾取精灵:嗷嗷虎
|
||||
["拾取精灵:嗷嗷虎"] = function(actor, ...)
|
||||
if getflagstatus(actor, VarCfg.Falg_shiqujinlin) == 1 then
|
||||
Func.sendmsg9(actor, "[嗷嗷虎]:#70|拾取精灵已激活,无需重复使用!")
|
||||
return false
|
||||
end
|
||||
setflagstatus(actor, VarCfg.Falg_shiqujinlin, 1)
|
||||
createsprite(actor, "嗷嗷虎")
|
||||
pickupitems(actor, 1, 10, 500)
|
||||
Func.sendmsg9(actor, "[嗷嗷虎]:#70|拾取精灵已激活,10格范围自动拾取开启!")
|
||||
return true
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -110,6 +110,12 @@ function PlayerLogin:Login(actor)
|
|||
-- pick_time = 800
|
||||
-- end
|
||||
-- pickupitems(actor, 0, 8, pick_time)
|
||||
|
||||
---* ¼¤»îʰȡ¾«Áé
|
||||
if getflagstatus(actor, VarCfg.Falg_shiqujinlin) == 1 then
|
||||
createsprite(actor, "à»à»»¢")
|
||||
pickupitems(actor, 1, 10, 500)
|
||||
end
|
||||
end
|
||||
|
||||
GameEvent.add(EventCfg.onLogin, function(actor)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue