Ruin,
You can Ritual Summon this card with "End of the World". When this attacking card destroys an opponent's monster by battle: You can activate this effect; this card can make a second attack in a row.
local s, id, o = GetID()
function s.initial_effect(c)
	c:EnableReviveLimit()
	--chain attack
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_O)
	e1:SetCode(EVENT_BATTLE_DESTROYING)
	e1:SetCondition(s.atcon)
	e1:SetOperation(s.atop)
	c:RegisterEffect(e1)
end
function s.atcon(e, tp, eg, ep, ev, re, r, rp)
	return aux.bdocon(e, tp, eg, ep, ev, re, r, rp) and e:GetHandler():IsChainAttackable()
end
function s.atop(e, tp, eg, ep, ev, re, r, rp)
	Duel.ChainAttack()
end


Ruin,
You can Ritual Summon this card with "End of the World". When this attacking card destroys an opponent's monster by battle: You can activate this effect; this card can make a second attack in a row.
-- Ruin,
local s, id, o = GetID()
function s.initial_effect(c)
	c:EnableReviveLimit()
	--chain attack
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_O)
	e1:SetCode(EVENT_BATTLE_DESTROYING)
	e1:SetCondition(s.atcon)
	e1:SetOperation(s.atop)
	c:RegisterEffect(e1)
end
function s.atcon(e, tp, eg, ep, ev, re, r, rp)
	return aux.bdocon(e, tp, eg, ep, ev, re, r, rp) and e:GetHandler():IsChainAttackable()
end
function s.atop(e, tp, eg, ep, ev, re, r, rp)
	Duel.ChainAttack()
end

