public class SPEL extends MagicItem
Modifier and Type | Class and Description |
---|---|
static class |
SPEL.SPELFlag |
static class |
SPEL.SPELType |
MajorRecord.MajorFlags
Constructor and Description |
---|
SPEL(java.lang.String edid)
Creates a new empty SPEL record that originates from the mod designated.
Make sure the EDID you assign is unique. |
Modifier and Type | Method and Description |
---|---|
boolean |
get(SPEL.SPELFlag flag) |
int |
getBaseCost() |
float |
getCastDuration() |
CastType |
getCastType() |
float |
getChargeTime() |
DeliveryType |
getDeliveryType() |
FormID |
getEquipSlot() |
FormID |
getInventoryModel() |
FormID |
getPerkRef() |
float |
getRange() |
SPEL.SPELType |
getSpellType() |
void |
set(SPEL.SPELFlag flag,
boolean on) |
void |
setBaseCost(int baseCost) |
void |
setCastDuration(float duration) |
void |
setCastType(CastType type) |
void |
setChargeTime(float chargeTime) |
void |
setDeliveryType(DeliveryType type) |
void |
setEquipSlot(FormID equipType) |
void |
setInventoryModel(FormID invModel) |
void |
setPerkRef(FormID perkRef) |
void |
setRange(float range) |
void |
setSpellType(SPEL.SPELType type) |
addMagicEffect, addMagicEffect, clearMagicEffects, getMagicEffects, removeMagicEffect
getDescription, setDescription
getName, setName
copy, deepEquals, equals, get, getEDID, getForm, getFormMaster, getFormStr, hashCode, print, set, setEDID, setForm, toString
getRecordLength, getType
public SPEL(java.lang.String edid)
edid
- public void setInventoryModel(FormID invModel)
invModel
- public FormID getInventoryModel()
public void setEquipSlot(FormID equipType)
equipType
- public FormID getEquipSlot()
public void setBaseCost(int baseCost)
baseCost
- public int getBaseCost()
public void set(SPEL.SPELFlag flag, boolean on)
flag
- on
- public boolean get(SPEL.SPELFlag flag)
flag
- public void setSpellType(SPEL.SPELType type)
type
- public SPEL.SPELType getSpellType()
public void setChargeTime(float chargeTime)
chargeTime
- public float getChargeTime()
public void setCastType(CastType type)
type
- public CastType getCastType()
public void setDeliveryType(DeliveryType type)
type
- public DeliveryType getDeliveryType()
public void setCastDuration(float duration)
duration
- public float getCastDuration()
public void setRange(float range)
range
- public float getRange()
public FormID getPerkRef()
public void setPerkRef(FormID perkRef)
perkRef
- FormID to set the SPELs PERK ref to.