Skip to content
Snippets Groups Projects
Commit 8de7595a authored by Robin Halseth Sandvik's avatar Robin Halseth Sandvik
Browse files

Added 2 new items for testing.

parent 5b0c576e
No related branches found
No related tags found
1 merge request!23Created ItemService.
using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
namespace BigSock.Item {
/*
A passive item that increases user's max hp by 25%.
*/
public class ItemCoffee : PassiveItemBase {
public override ulong Id => 103;
public override string Name => "Caffeinated Coffee";
public override string Description => "Increases attack speed by 25%";
public ItemCoffee() {
Modifier = new CharacterStats{
AttackSpeed = 0.25f,
};
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: d8951e56770b7214ead328a100d9441e
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
namespace BigSock.Item {
/*
A passive item that increases user's max hp by 20%.
*/
public class ItemLunch : PassiveItemBase {
public override ulong Id => 102;
public override string Name => "Lunch";
public override string Description => "Increases hp by 20%";
public ItemLunch() {
Modifier = new CharacterStats{
MaxHP = 0.2f,
};
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: e4644e42ad4bf244093930558ebb86d0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment