#textdomain wesnoth-units
[unit_type]
    id=Merman Netcaster
    name= _ "Merman Netcaster"
    race=merman
    image="units/merfolk/netcaster.png"
    {MAGENTA_IS_THE_TEAM_COLOR}
    profile=portraits/merfolk/netcaster.png
    hitpoints=40
    movement_type=swimmer
    movement=7
    experience=80
    level=2
    alignment=lawful
    advances_to=Merman Entangler
    undead_variation=swimmer
    cost=27
    usage=mixed fighter
    description= _ "Fishing, as practiced by mermen, is largely a matter of chasing schools of fish into waiting nets, where oar-like clubs are used to dispatch the prey. The improvisation of using these against soldiers proved very effective; most land-native creatures are already quite awkward when waist-deep in water, and getting caught in a net can render them nearly helpless.

The effectiveness of this method led to the development of smaller, weighted nets, which could be cast through the air; these were useless for fishing, but were useful in both combat, and in hunting game that came too close to shore. Clubs were used in combat with little or no adaptation from fishing, since they were already quite deadly."+{SPECIAL_NOTES}+{SPECIAL_NOTES_SLOW}
    {DEFENSE_ANIM "units/merfolk/netcaster.png" "units/merfolk/netcaster.png" mermen-hit.wav }
    die_sound=mermen-die.ogg
    [portrait]
        size=400
        side="left"
        mirror="false"
        image="portraits/merfolk/transparent/netcaster.png"
    [/portrait]
    [portrait]
        size=400
        side="right"
        mirror="true"
        image="portraits/merfolk/transparent/netcaster.png"
    [/portrait]
    [attack]
        name=club
        description=_"club"
        type=impact
        range=melee
        damage=6
        number=3
    [/attack]
    [attack]
        name=net
        description=_"net"
        type=impact
        range=ranged
        [specials]
            {WEAPON_SPECIAL_SLOW}
        [/specials]
        damage=9
        number=2
        icon=attacks/net.png
    [/attack]
    [attack_anim]
        [filter_attack]
            name=net
        [/filter_attack]
        [missile_frame]
            begin=-200
            end=0
            image="projectiles/web.png"
            image_diagonal="projectiles/web.png"
        [/missile_frame]
        [if]
            hits=yes
            [frame]
                begin=-150
                end=-75
                image="units/merfolk/netcaster.png"
                sound=net.wav
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-150
                end=-75
                image="units/merfolk/netcaster.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
        [frame]
            begin=-75
            end=100
            image="units/merfolk/netcaster.png"
        [/frame]
        {SOUND:SLOW}
    [/attack_anim]
    [attack_anim]
        [filter_attack]
            name=club
        [/filter_attack]
        [frame]
            begin=-200
            end=-100
            image="units/merfolk/netcaster.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=150
                image="units/merfolk/netcaster.png"
                sound=club.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=150
                image="units/merfolk/netcaster.png"
                sound={SOUND_LIST:MISS}
            [/frame]
        [/else]
    [/attack_anim]
[/unit_type]
