Advertisement
Yamian

c999999972.lua (YGOPRO-Lev. 2 Power Boost)

Apr 25th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. --Lev. 2 Power Boost
  2. --COPYRIGHT by YAMI AN
  3. function c999999972.initial_effect(c)
  4.     aux.AddEquipProcedure(c,nil,aux.FilterBoolFunction(Card.IsRace,RACE_INSECT))
  5.     --ATK up
  6.     local e1=Effect.CreateEffect(c)
  7.     e1:SetType(EFFECT_TYPE_EQUIP)
  8.     e1:SetCode(EFFECT_UPDATE_ATTACK)
  9.     e1:SetValue(1200)
  10.     c:RegisterEffect(e1)
  11.     --DEF up
  12.     local e2=e1:Clone()
  13.     e2:SetCode(EFFECT_UPDATE_DEFENSE)
  14.     e2:SetValue(200)
  15.     c:RegisterEffect(e2)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement