饑荒閃電羊角怎麼獲得?
饑荒閃電羊角怎麼得
下雨天到羊旁邊,等羊被雷電劈了變成閃電羊再殺,就有很大機率出閃電羊角!
饑荒閃電羊角有什麼用
可以在戰鬥那欄裡面做星辰杖
饑荒中,閃電和閃電羊分別有什麼作用啊,親 不要閃電可不可以丫
閃電就是增加真實性,還有機器人可以用閃電來充電,電羊會掉落電羊角,是一些物品的材料,閃電可以不要的
求饑荒伏特羊代碼 10分
local assets =
{
Asset("ANIM", "anim/lightning_goat_build.zip"),
Asset("ANIM", "anim/lightning_goat_shocked_build.zip"),
Asset("ANIM", "anim/lightning_goat_basic.zip"),
Asset("ANIM", "anim/lightning_goat_actions.zip"),
Asset("SOUND", "sound/lightninggoat.fsb"),
}
local prefabs =
{
"meat",
"lightninggoathorn",
"goatmilk"
}
SetSharedLootTable( 'lightninggoat',
{
{'meat', 1.00},
{'meat', 1.00},
{'meat', 1.00},
{'lightninggoathorn',0.25},
})
SetSharedLootTable( 'chargedlightninggoat',
{
{'meat', 1.00},
{'meat', 1.00},
{'meat', 1.00},
{'lightninggoathorn',0.25},
{'goatmilk', 1.00},
})
local function RetargetFn(inst)
if inst.charged then
return FindEntity(inst, TUNING.LIGHTNING_GOAT_TARGET_DIST, function(guy)
return not guy:HasTag("lightninggoat") and
inst.components.combat:CanTarget(guy) and
not guy:HasTag("wall")
end)
end
end
local function KeepTargetFn(inst, target)
if inst.components.herdmember
and inst.components.herdmember:GetHerd() then
local herd = inst.components.herdmember a......
饑荒電羊掉落物品概率
3塊大肉,一瓶奶,有1/4機率掉羊角