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

Added new item for testing.

parent 8d95c9e0
No related branches found
No related tags found
1 merge request!53ToolTips, new ability parameter system & misc clean ups.
using System.Collections;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
namespace BigSock.Item {
/*
A passive item that increases user's running speed by 50%.
*/
public class ItemElixir : PassiveItemBase {
public override ulong Id => 105;
public override string Name => "Elixir of Speed";
public override string Description => "10% increase to all speed and stamina related stats, but at a cost.";
public ItemElixir() {
Modifier = new CharacterStats{
MaxStamina = 0.1f,
RegenStamina = 0.1f,
ProjectileSpeed = 0.1f,
MoveSpeed = 0.1f,
AttackSpeed = 0.1f,
Damage = -0.1f,
Range = -0.1f,
};
}
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: ce44b7b8b125d254cbb9333a9ade0477
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -44,7 +44,7 @@ namespace BigSock {
public PlayerController()
{
TryPickUpItem(ItemService.SINGLETON.Get(201));
TryPickUpItem(ItemService.SINGLETON.Get(201));
TryPickUpItem(ItemService.SINGLETON.Get(105));
TryPickUpItem(ItemService.SINGLETON.Get(202));
TryPickUpItem(ItemService.SINGLETON.Get(101));
}
......
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