All pastes #488634 Raw Edit

Something

public text v1 · immutable
·published 2007-05-15 02:49 UTC
rendered paste body
    class Fireball : Action
    {
        Target targ;

        public override void OnUse()
        {
            FindTarget();
        }

        public override void OnFindTarget(Target t)
        {
            targ = t;
            Animate("fireball_prep");
            Wait(1.5);
        }

        public override void OnWait()
        {
            LookAt(targ);
            Animate("fireball");
            Magic.Damage(targ, Magic.Fire, SkillLevel.Apprentice);
        }
    }