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

Public Types

enum  SupportEffect {
  Heal , SpeedBuff , DamageBuff , ArmorBuff ,
  Custom
}
 
- Public Types inherited from SpellScriptableObject
enum  Element {
  Fire , Ice , Earth , Wind ,
  Normal
}
 
- Public Types inherited from InventoryItemData
enum  Rarity {
  Common , Uncommon , Rare , Epic ,
  Legendary
}
 

Public Attributes

SupportEffect supportType = SupportEffect.Custom
 
Sprite icon
 
float duration = 600f
 
float amount
 
float healOverTime
 
- Public Attributes inherited from SpellScriptableObject
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

◆ SupportEffect

Enumerator
Heal 
SpeedBuff 
DamageBuff 
ArmorBuff 
Custom 

Member Data Documentation

◆ amount

float SupportSpell.amount

◆ duration

float SupportSpell.duration = 600f

◆ healOverTime

float SupportSpell.healOverTime

◆ icon

Sprite SupportSpell.icon

◆ supportType

SupportEffect SupportSpell.supportType = SupportEffect.Custom

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