예제 #1
0
    public static Weapon CreateWeapon(int _idWeapon, int _level, float _curExp)
    {
        Weapon _weaponCreated   =  new Weapon();
        _weaponCreated.IdWeapon = _idWeapon;
        _weaponCreated.Level    = _level;
        _weaponCreated.CurExp   = _curExp;
        _weaponCreated.InitializeItem();
        _weaponCreated.UpdateStats();

        return _weaponCreated;
    }