mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 21:50:53 +01:00
25 lines
601 B
C
25 lines
601 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "MagicItem.h"
|
||
|
|
|
||
|
|
#include <Structs/Inventory.h>
|
||
|
|
#include <Games/Magic/MagicSystem.h>
|
||
|
|
#include "BGSListForm.h"
|
||
|
|
|
||
|
|
struct EnchantmentItem : MagicItem
|
||
|
|
{
|
||
|
|
static EnchantmentItem* Create(const Inventory::EnchantmentData& aData) noexcept;
|
||
|
|
|
||
|
|
int32_t iCostOverride;
|
||
|
|
int32_t iFlags;
|
||
|
|
MagicSystem::CastingType eCastingType;
|
||
|
|
int32_t iChargeOverride;
|
||
|
|
MagicSystem::Delivery eDelivery;
|
||
|
|
MagicSystem::SpellType eSpellType;
|
||
|
|
float fChargeTime;
|
||
|
|
EnchantmentItem* pBaseEnchantment;
|
||
|
|
BGSListForm* pWornRestrictions;
|
||
|
|
};
|
||
|
|
|
||
|
|
static_assert(sizeof(EnchantmentItem) == 0xC0);
|