# Copyright (c) 1997 Cabochon Technologies, Inc. All rights reserved. """ Jets of flame that shoot out from the caster's fingertips. Author: rhialto """ from wyvern.lib.classes.magic import ConeSpell class firespray(ConeSpell): def initialize(self): self.setDefaultImage('spells/fireball/fire') self.setAnimated(1) self.speed = 150 self.addReagent('magic/reagent/sulfur') self.super__initialize() def start(self): self.setWC() self.super__start() def setWC(self): fire = self.getLevel(self.FIRE) + 1 self.setIntProperty('duration', 5 + fire) self.setIntProperty('wc-fire', 5 + fire) |