3D Dungeon Crawler
Loading...
Searching...
No Matches
SpellScriptableObject Class Reference
Inheritance diagram for SpellScriptableObject:
InventoryItemData SupportSpell

Public Types

enum  Element {
  Fire , Ice , Earth , Wind ,
  Normal
}
 
- Public Types inherited from InventoryItemData
enum  Rarity {
  Common , Uncommon , Rare , Epic ,
  Legendary
}
 

Public Attributes

Element element = Element.Fire
 
float ManaCost = 5f
 
float LifeTime = 2f
 
float Speed = 15f
 
float DamageAmount = 10f
 
float timeBetweenCast = 1f
 
float SpellRadius = 0.5f
 
- Public Attributes inherited from InventoryItemData
Sprite Icon
 
int MaxStackSize
 
int ID = -1
 
string DisplayName
 
string Description
 
Rarity rarity = Rarity.Common
 
GameObject ItemPrefab
 
InventoryItemType ItemType
 
int dropChance
 
bool consumable = false
 
bool isAbility = false
 
float goldValue = 1
 

Additional Inherited Members

- Public Member Functions inherited from InventoryItemData
virtual void UseItem ()
 

Member Enumeration Documentation

◆ Element

Enumerator
Fire 
Ice 
Earth 
Wind 
Normal 

Member Data Documentation

◆ DamageAmount

float SpellScriptableObject.DamageAmount = 10f

◆ element

Element SpellScriptableObject.element = Element.Fire

◆ LifeTime

float SpellScriptableObject.LifeTime = 2f

◆ ManaCost

float SpellScriptableObject.ManaCost = 5f

◆ Speed

float SpellScriptableObject.Speed = 15f

◆ SpellRadius

float SpellScriptableObject.SpellRadius = 0.5f

◆ timeBetweenCast

float SpellScriptableObject.timeBetweenCast = 1f

The documentation for this class was generated from the following file: