All pastes #467951 Raw Edit

c0ke

public text v1 · immutable
·published 2007-05-02 20:27 UTC
rendered paste body
		; DETERMITE YOUR PULL SPELL
		ImpFireBallPoints:Set[${TalentTree.PointsInTalent["Improved Fireball"]}]
		ImpFrostBoltPoints:Set[${TalentTree.PointsInTalent["Improved Frostbolt"]}]
		PointsInIgnite:Set[${TalentTree.PointsInTalent["Ignite"]}]

		if ${ImpFireBallPoints} > ${ImpFrostBoltPoints} && ${PointsInIgnite} > 0 || ${ImpFrostBoltPoints} > ${ImpFireBallPoints} && ${PointsInIgnite} > 0
		{
			if ${Spell[Pyroblast](exists)}
			{
				PullSpell:Set["Pyroblast"]
			}
			if ${Spell[Fireball](exists)} && !${Spell[Pyroblast](exists)}
			{
				PullSpell:Set["Fireball"]
			}
		}
		elseif ${ImpFrostBoltPoints} > ${ImpFireBallPoints} && ${PointsInIgnite} = 0
		{
			if ${Spell[Frostbolt](exists)}
			{
				PullSpell:Set["Frostbolt"]
			}
		}