/*
 * This file is part of Sponge, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered.org <http://www.spongepowered.org>
 * Copyright (c) contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

package org.spongepowered.api.entity.projectile;

/**
 * Represents entities that act as projectiles and can fly in the air.
 * For example, Arrows.
 */
public interface DamagingProjectile extends Projectile {

    /**
     * Gets the damage this projectile will deal to a {@link org.spongepowered.api.entity.living.Living}
     * if hit.
     *
     * @return The damage of this arrow
     */
    double getDamage();

    /**
     * Sets the damage this projectile will deal to a LivingEntity if hit.
     *
     * @param damage The damage
     */
    void setDamage(double damage);

}

@@ -1295,16 +1295,65 @@
 ctile;%0A%0A
+import org.spongepowered.api.entity.EntityType;%0A%0A
 /**%0A * R
@@ -1670,21 +1670,15 @@
 age 
-of this arrow
+to deal
 %0A   
@@ -1828,16 +1828,24 @@
 e damage
+ to deal
 %0A     */
@@ -1881,10 +1881,1067 @@
 mage);%0A%0A
+    /**%0A     * Gets the damage this projectile will deal to the specified %7B@link%0A     * EntityType%7D if hit.%0A     *%0A     * %3Cp%3ENote that in events, the damage defined for the provided %7B@link%0A     * EntityType%7D will take priority over the %22default%22 damage as defined%0A     * from %7B@link #getDamage()%7D.%3C/p%3E%0A     *%0A     * @param entityType The %7B@link EntityType%7D to set the damage amount for%0A     * @return The damage to deal to the specified %7B@link EntityType%7D%0A     */%0A    double getDamageForEntity(EntityType entityType);%0A%0A    /**%0A     * Sets the damage this projectile will deal to the specified %7B@link%0A     * EntityType%7D if hit.%0A     *%0A     * %3Cp%3ENote that in events, the damage defined for the provided %7B@link%0A     * EntityType%7D will take priority over the %22default%22 damage as defined%0A     * from %7B@link #getDamage()%7D.%3C/p%3E%0A     *%0A     * @param entityType The %7B@link EntityType%7D to set the damage amount for%0A     * @param damage The damage to deal to the specified %7B@link EntityType%7D%0A     */%0A    void setDamageForEntity(EntityType entityType, double damage);%0A%0A
 %7D%0A

Add variable damage amounts to DamagingProjectile