public override void DeliverPayload(GameObject hitObject) { hitObject.Affect(caster, DamageType.Fire, 300); hitObject.ApplyAura(new Ignite(caster, 5, 5000)); int direction = (caster.Position.X > hitObject.Position.X) ? -1 : 1; hitObject.ApplyForce(new Vector2(1000 * direction, 0.22f)); caster.DelayTimer = 0f; DeleteAndCleanup(); }
public override void DeliverPayload(GameObject hit_unit) { hit_unit.Affect(Owner, DamageType.Fire, Owner.Data.Current(GameObjectAttribute.Attack)); hit_unit.ApplyAura(new Ignite(Owner, 5, 1)); DeleteAndCleanup(); }
public override void DeliverPayload(GameObject hitObject) { hitObject.Affect(Owner, DamageType.Fire, 10); hitObject.ApplyAura(new Ignite(Owner, 5, 5000)); }