"""
This module contains the classes and data for the ranger profession.

Author:  purpleflame (ak.purpleflame@gmail.com)
License: GPLv3
"""

import gear, pygw2sim

###
### A class to define ranger instances.
###
class ranger(pygw2sim.character):
    def __init__(self):
        pygw2sim.character.__init__(self)    

        self.name = 'Test Ranger'
        self.profession = 'Ranger'

        self.traits = []                               # A list to hold strings representing traits, major and minor, chosen for the character.

        #
        # Select the character's gear using methods that will in turn modify the character's stats automatically.
        #
        #gear.berserkers.chest(self)
        
        self.pab = 0					# Set Pet Attribute Bonues.       
        # A list to house the pets. The first two are land pets and the last two are underwater pets.
        self.pets = [brownbear(), None, None, None]
 

    
    #
    # Methods to define/perform the actions for skills.
    #
    def RapidShot(self, target):
        target.hp -= 4500


### END ranger


###
### A class to define brown bear pet instances.
###
class brownbear(object):
    # A method to initiate the instance.
    def __init__(self):
        #
        # Set the character's fundamental characteristics like hp, power, etc..
        #
        self.name = 'Test Brown Bear'    
        self.hp = 4000

### END brownbear

###
### END module
###
