Пример #1
0
 def getNatureAura(self, av):
     unlimited = av.isLocal()
     animSeq = Sequence(Wait(0.55))
     e1 = VoodooGroundAura.getEffect(unlimited)
     if e1:
         e1.setEffectColor(Vec4(0.2, 1, 0.5, 0.35))
         e1.reparentTo(av)
         animSeq.append(Func(e1.startLoop))
         self.auraEffects.append(e1)
     e2 = VoodooAuraDiscBase.getEffect(unlimited)
     if e2:
         e2.setEffectColor(Vec4(0, 0, 0, 0.3))
         e2.reparentTo(av)
         animSeq.append(Func(e2.startLoop))
         self.auraEffects.append(e2)
     e3 = VoodooAuraDisc.getEffect(unlimited)
     if e3:
         e3.setEffectColor(Vec4(0.5, 1.0, 0.5, 0.25))
         e3.reparentTo(av)
         animSeq.append(Func(e3.startLoop))
         self.auraEffects.append(e3)
     e4 = VoodooAuraHeal.getEffect(unlimited)
     if e4:
         e4.setEffectColor(Vec4(0.3, 1, 0.6, 0.35))
         e4.reparentTo(av)
         animSeq.append(Func(e4.startLoop))
         self.auraEffects.append(e4)
     return animSeq
Пример #2
0
 def getDarkAura(self, av):
     unlimited = av.isLocal()
     animSeq = Sequence(Wait(0.55))
     e1 = VoodooGroundAura.getEffect(unlimited)
     if e1:
         e1.setEffectColor(Vec4(1, 0, 0, 0.5))
         e1.reparentTo(av)
         animSeq.append(Func(e1.startLoop))
         self.auraEffects.append(e1)
     e2 = VoodooAuraDiscBase.getEffect(unlimited)
     if e2:
         e2.setEffectColor(Vec4(0, 0, 0, 0.3))
         e2.reparentTo(av)
         animSeq.append(Func(e2.startLoop))
         self.auraEffects.append(e2)
     e3 = VoodooAuraDisc2.getEffect(unlimited)
     if e3:
         e3.setEffectColor(Vec4(1, 0, 0, 0.15))
         e3.reparentTo(av)
         animSeq.append(Func(e3.startLoop))
         self.auraEffects.append(e3)
     e4 = VoodooSmokeAura.getEffect(unlimited)
     if e4:
         e4.reparentTo(av)
         e4.setPos(0, 0, 0.5)
         animSeq.append(Func(e4.startLoop))
         self.auraEffects.append(e4)
     return animSeq
 def getDarkAura(self, av):
     unlimited = av.isLocal()
     animSeq = Sequence(Wait(0.55000000000000004))
     e1 = VoodooGroundAura.getEffect(unlimited)
     if e1:
         e1.setEffectColor(Vec4(1, 0, 0, 0.5))
         e1.reparentTo(av)
         animSeq.append(Func(e1.startLoop))
         self.auraEffects.append(e1)
     
     e2 = VoodooAuraDiscBase.getEffect(unlimited)
     if e2:
         e2.setEffectColor(Vec4(0, 0, 0, 0.29999999999999999))
         e2.reparentTo(av)
         animSeq.append(Func(e2.startLoop))
         self.auraEffects.append(e2)
     
     e3 = VoodooAuraDisc2.getEffect(unlimited)
     if e3:
         e3.setEffectColor(Vec4(1, 0, 0, 0.14999999999999999))
         e3.reparentTo(av)
         animSeq.append(Func(e3.startLoop))
         self.auraEffects.append(e3)
     
     e4 = VoodooSmokeAura.getEffect(unlimited)
     if e4:
         e4.reparentTo(av)
         e4.setPos(0, 0, 0.5)
         animSeq.append(Func(e4.startLoop))
         self.auraEffects.append(e4)
     
     return animSeq
 def getNatureAura(self, av):
     unlimited = av.isLocal()
     animSeq = Sequence(Wait(0.55000000000000004))
     e1 = VoodooGroundAura.getEffect(unlimited)
     if e1:
         e1.setEffectColor(Vec4(0.20000000000000001, 1, 0.5, 0.34999999999999998))
         e1.reparentTo(av)
         animSeq.append(Func(e1.startLoop))
         self.auraEffects.append(e1)
     
     e2 = VoodooAuraDiscBase.getEffect(unlimited)
     if e2:
         e2.setEffectColor(Vec4(0, 0, 0, 0.29999999999999999))
         e2.reparentTo(av)
         animSeq.append(Func(e2.startLoop))
         self.auraEffects.append(e2)
     
     e3 = VoodooAuraDisc.getEffect(unlimited)
     if e3:
         e3.setEffectColor(Vec4(0.5, 1.0, 0.5, 0.25))
         e3.reparentTo(av)
         animSeq.append(Func(e3.startLoop))
         self.auraEffects.append(e3)
     
     e4 = VoodooAuraHeal.getEffect(unlimited)
     if e4:
         e4.setEffectColor(Vec4(0.29999999999999999, 1, 0.59999999999999998, 0.34999999999999998))
         e4.reparentTo(av)
         animSeq.append(Func(e4.startLoop))
         self.auraEffects.append(e4)
     
     return animSeq
Пример #5
0
 def getWardingAura(self, av):
     unlimited = av.isLocal()
     animSeq = Sequence(Wait(0.5))
     e1 = VoodooGroundAura.getEffect(unlimited)
     if e1:
         e1.setEffectColor(Vec4(0.40000000000000002, 0.59999999999999998, 1, 0.40000000000000002))
         e1.reparentTo(av)
         animSeq.append(Func(e1.startLoop))
         self.auraEffects.append(e1)
     
     e2 = VoodooAuraDiscBase.getEffect(unlimited)
     if e2:
         e2.setEffectColor(Vec4(0, 0, 0, 0.29999999999999999))
         e2.reparentTo(av)
         animSeq.append(Func(e2.startLoop))
         self.auraEffects.append(e2)
     
     e3 = VoodooAuraDisc.getEffect(unlimited)
     if e3:
         e3.setEffectColor(Vec4(0.40000000000000002, 0.59999999999999998, 1, 0.25))
         e3.reparentTo(av)
         animSeq.append(Func(e3.startLoop))
         self.auraEffects.append(e3)
     
     e4 = VoodooShieldAura.getEffect(unlimited)
     if e4:
         e4.reparentTo(av)
         e4.setPos(0, 0, 2)
         animSeq.append(Func(e4.startLoop))
         self.auraEffects.append(e4)
     
     return animSeq