C# 클래스 Magic, UnderworldExporter

상속: MonoBehaviour
파일 보기 프로젝트 열기: hankmorgan/UnderworldExporter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ActiveRunes int[]
CurMana int
InfiniteMana bool
InventorySpell bool
MaxMana int
ObjectInSlot GameObject
PlayerRunes bool[]
ReadiedSpell string
SpellCost int
SummonCount long
playerUW UWCharacter

공개 메소드들

메소드 설명
ApplySpellCost ( ) : void

Deducts the spellcost from the players mana level

CastEnchantment ( GameObject caster, GameObject target, int EffectID, bool ready, int SpellRule ) : SpellEffect,

Casts the enchantment based on the spell rules, targets and ready state

CastEnchantment ( GameObject caster, GameObject target, int EffectID, int SpellRule ) : SpellEffect,

Casts the enchantment that may need readying

CastEnchantmentImmediate ( GameObject caster, GameObject target, int EffectID, int SpellRule ) : SpellEffect,

Casts the enchantment immediately

CastTheFrog ( GameObject caster, int EffectID ) : void

Casts bullfrog spell

Cast_AnCorpMani ( GameObject caster, int EffectID ) : void

Casts smite undead

Cast_AnExPor ( GameObject caster, int EffectID ) : void

Casts Paralyze

Cast_AnNox ( GameObject caster, int EffectID ) : void

Casts Cure Poison

Cast_AnTym ( GameObject caster, int EffectID ) : void

Casts Time Stop

Cast_Curse ( GameObject caster, int EffectID ) : void

Casts curse (generic)

Cast_CursedItem ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the cursed item spell (generic)

Cast_DetectMonster ( GameObject caster, int EffectID ) : void

Casts detect monster.

Cast_ExYlem ( GameObject caster, bool Ready, int EffectID ) : void

Casts the magic open

Cast_FlamHur ( GameObject caster, int EffectID ) : void

Casts flame wind

Cast_Flameproof ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the flameproof. (generic)

Cast_FreezeTime ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts freeze time (generic)

Cast_GravSanctPor ( GameObject caster, int EffectID ) : void

Casts Missile Protection

Cast_Hallucination ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the hallucination effect

Cast_Heal ( GameObject caster, int EffectID ) : void

Casts the heal spell (generic)

Cast_InJux ( GameObject caster, int EffectID ) : void

Casts rune of warding

Cast_InManiRel ( GameObject caster, int EffectID ) : void

Casts ally

Cast_InManiYlem ( GameObject caster, int EffectID ) : void

Casts Create Food

Cast_KalMani ( GameObject caster, int EffectID ) : void

Create Summon Monster

Cast_Leap ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the leap spell (generic)

Cast_Levitate ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the levitate spels (generic)

Cast_LevitateSpells ( GameObject caster, int EffectID ) : void

Casts the levitate spells

Cast_Light ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the light spells (generic)

Cast_LightSpells ( GameObject caster, int EffectID ) : void

Casts the light spells (generic).

Cast_Mana ( GameObject caster, int EffectID ) : void

Casts the mana spells

Cast_MazeNavigation ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the maze navigation spell generic

Cast_NameEnchantment ( GameObject caster, bool Ready, int EffectID ) : void

Casts name enchantment.

Cast_NightVision ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the night vision (generic)

Cast_NoxYlem ( GameObject caster, int EffectID ) : void

Casts poison other

Cast_OrtGrav ( GameObject caster, bool Ready, int EffectID ) : void

Casts electric/lightning bolt.

Cast_OrtJux ( GameObject caster, bool Ready, int EffectID ) : void

Casts Magic Arrow/Missile

Cast_OrtPorWis ( GameObject caster, int EffectID ) : void

Roaming Sight

Cast_OrtPorYlem ( GameObject caster, int EffectID ) : void

Casts telekinesis

Cast_Paralyze ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the paralyze spells (generic)

Cast_Poison ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the poison spells (generic)

Cast_PorFlam ( GameObject caster, bool Ready, int EffectID ) : void

Casts the fireball spell

Cast_QuasCorp ( GameObject caster, int EffectID ) : void

Casts fear

Cast_RelDesPor ( GameObject caster, int EffectID ) : void

Casts slowfall

Cast_RelTymPor ( GameObject caster, int EffectID ) : void

Casts Speed

Cast_Resistance ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the resistance spells (generic)

Cast_ResistanceAgainstType ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the resistance against type spells (generic)

Cast_ResistanceSpells ( GameObject caster, int EffectID ) : void

Casts the resistance spells.

Cast_RoamingSight ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the roaming sight generic

Cast_RuneOfWarding ( Vector3 pos, int EffectID ) : void

Casts the rune of warding (generic)

Cast_SanctFlam ( GameObject caster, int EffectID ) : void

Casts flame proof

Cast_SanctJux ( GameObject caster, bool Ready, int EffectID ) : void

Cast Strengthen Door

Cast_SlowFall ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the slow fall. generic

Cast_Speed ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the speed spells generic

Cast_Stealth ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the stealth spells (generic)

Cast_StealthSpells ( GameObject caster, int EffectID ) : void

Casts the stealth spells.

Cast_Telekinesis ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the telekinesis spell generic

Cast_UusPor ( GameObject caster, int EffectID ) : void

Cast Leap/Jump

Cast_VasAnWis ( GameObject caster, int EffectID ) : void

Cast Confusion

Cast_VasKalCorp ( GameObject caster, int EffectID ) : void

Cast Armageddon

Cast_VasOrtGrav ( GameObject caster, int EffectID ) : void

Casts sheet lightning

Cast_VasPorYlem ( GameObject caster, int EffectID ) : void

Casts tremor

Cast_VasRelPor ( GameObject caster, int EffectID ) : void

Casts gate travel

Cast_WaterWalk ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void

Casts the water walk spell (generic)

Cast_YlemPor ( GameObject caster, int EffectID ) : void

Casts waterwalk

LaunchProjectile ( GameObject projectile, Ray ray, float dropRange, float force, float spread ) : void

Launchs the projectile.

LaunchProjectile ( GameObject projectile, float force ) : void

Launchs the projectile directly forward

LaunchProjectile ( GameObject projectile, float force, Vector3 direction ) : void

Launchs the projectile along the specified vector

OnGUI ( ) : void

Handles pressing Q to cast the current spell runes

SetSpellCost ( int SpellCircle ) : void

Sets the spell cost based on the circle of the spell x 3

SpellIncantationFailed ( GameObject caster ) : void

Spells incantation failure

TestSpell ( GameObject caster ) : void

Special spell for testing

TestSpellCast ( UWCharacter casterUW, int Rune1, int Rune2, int Rune3 ) : bool

Checks if the player can cast the spell.

TranslateSpellRune ( int Rune1, int Rune2, int Rune3 ) : string

Translates the spell runes

Update ( ) : void
castSpell ( GameObject caster, int Rune1, int Rune2, int Rune3, bool ready ) : void

Casts a magic spell based on the constructed magic rune string

castSpell ( GameObject caster, string MagicWords, bool ready ) : void

Casts the spell from the selected magic runes

비공개 메소드들

메소드 설명
CastProjectile ( GameObject caster, GameObject target, SpellProp, spellprop ) : bool

Casts the projectile at the target

CastProjectile ( GameObject caster, SpellProp, spellprop ) : bool

Casts a magic projectile.

CastProjectile ( GameObject caster, Vector3 targetV, SpellProp, spellprop ) : bool

Casts the projectile along a vector

CheckActiveSpellEffect ( GameObject caster ) : int

Finds the first free spell effect slot for the caster.

CheckPassiveSpellEffectNPC ( GameObject caster ) : int

Finds the first free passive spell effect slot for an NPC.

CheckPassiveSpellEffectPC ( GameObject caster ) : int

Finds the first free passive spell effect slot for the player character.

CreateMagicProjectile ( Vector3 Location, GameObject Caster, SpellProp, spellprop ) : GameObject

Creates the magic projectile.

GetNPCTargetRandom ( GameObject caster, RaycastHit &hit ) : NPC,

Gets a Random NPC target

GetNPCTargetRandom ( GameObject caster, RaycastHit &hit, int isUndead ) : NPC,

Gets a random npc target

SetSpellEffect ( GameObject caster, SpellEffect, ActiveSpellArray, int index, int EffectID ) : SpellEffect,

Creates and sets the spell effect on the array passed

getRay ( GameObject caster ) : Ray

Gets a raycast from the player

메소드 상세

ApplySpellCost() 공개 메소드

Deducts the spellcost from the players mana level
public ApplySpellCost ( ) : void
리턴 void

CastEnchantment() 공개 메소드

Casts the enchantment based on the spell rules, targets and ready state
public CastEnchantment ( GameObject caster, GameObject target, int EffectID, bool ready, int SpellRule ) : SpellEffect,
caster GameObject Caster.
target GameObject Target.
EffectID int Effect ID of the spell
ready bool If set to true ready.
SpellRule int Spell rule to apply.
리턴 SpellEffect,

CastEnchantment() 공개 메소드

Casts the enchantment that may need readying
public CastEnchantment ( GameObject caster, GameObject target, int EffectID, int SpellRule ) : SpellEffect,
caster GameObject Caster.
target GameObject Target.
EffectID int Effect ID of the spell
SpellRule int What spell rule is applicable
리턴 SpellEffect,

CastEnchantmentImmediate() 공개 메소드

Casts the enchantment immediately
public CastEnchantmentImmediate ( GameObject caster, GameObject target, int EffectID, int SpellRule ) : SpellEffect,
caster GameObject Caster.
target GameObject Target.
EffectID int Effect ID of the spell
SpellRule int What spell rule is applicable
리턴 SpellEffect,

CastTheFrog() 공개 메소드

Casts bullfrog spell
public CastTheFrog ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_AnCorpMani() 공개 메소드

Casts smite undead
public Cast_AnCorpMani ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_AnExPor() 공개 메소드

Casts Paralyze
public Cast_AnExPor ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_AnNox() 공개 메소드

Casts Cure Poison
public Cast_AnNox ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_AnTym() 공개 메소드

Casts Time Stop
public Cast_AnTym ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Curse() 공개 메소드

Casts curse (generic)
public Cast_Curse ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_CursedItem() 공개 메소드

Casts the cursed item spell (generic)
public Cast_CursedItem ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_DetectMonster() 공개 메소드

Casts detect monster.
public Cast_DetectMonster ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_ExYlem() 공개 메소드

Casts the magic open
public Cast_ExYlem ( GameObject caster, bool Ready, int EffectID ) : void
caster GameObject Caster.
Ready bool If set to true ready.
EffectID int Effect ID of the spell
리턴 void

Cast_FlamHur() 공개 메소드

Casts flame wind
public Cast_FlamHur ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Flameproof() 공개 메소드

Casts the flameproof. (generic)
public Cast_Flameproof ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_FreezeTime() 공개 메소드

Casts freeze time (generic)
public Cast_FreezeTime ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_GravSanctPor() 공개 메소드

Casts Missile Protection
public Cast_GravSanctPor ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Hallucination() 공개 메소드

Casts the hallucination effect
public Cast_Hallucination ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect I.
EffectSlot int Effect slot.
리턴 void

Cast_Heal() 공개 메소드

Casts the heal spell (generic)
public Cast_Heal ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_InJux() 공개 메소드

Casts rune of warding
public Cast_InJux ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect I.
리턴 void

Cast_InManiRel() 공개 메소드

Casts ally
public Cast_InManiRel ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_InManiYlem() 공개 메소드

Casts Create Food
public Cast_InManiYlem ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_KalMani() 공개 메소드

Create Summon Monster
public Cast_KalMani ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Leap() 공개 메소드

Casts the leap spell (generic)
public Cast_Leap ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_Levitate() 공개 메소드

Casts the levitate spels (generic)
public Cast_Levitate ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_LevitateSpells() 공개 메소드

Casts the levitate spells
public Cast_LevitateSpells ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Light() 공개 메소드

Casts the light spells (generic)
public Cast_Light ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_LightSpells() 공개 메소드

Casts the light spells (generic).
public Cast_LightSpells ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Mana() 공개 메소드

Casts the mana spells
public Cast_Mana ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_MazeNavigation() 공개 메소드

Casts the maze navigation spell generic
public Cast_MazeNavigation ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_NameEnchantment() 공개 메소드

Casts name enchantment.
public Cast_NameEnchantment ( GameObject caster, bool Ready, int EffectID ) : void
caster GameObject Caster.
Ready bool If set to true ready.
EffectID int Effect ID of the spell
리턴 void

Cast_NightVision() 공개 메소드

Casts the night vision (generic)
public Cast_NightVision ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect I.
EffectSlot int Effect slot.
리턴 void

Cast_NoxYlem() 공개 메소드

Casts poison other
public Cast_NoxYlem ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_OrtGrav() 공개 메소드

Casts electric/lightning bolt.
public Cast_OrtGrav ( GameObject caster, bool Ready, int EffectID ) : void
caster GameObject Caster.
Ready bool If set to true ready.
EffectID int Effect ID of the spell
리턴 void

Cast_OrtJux() 공개 메소드

Casts Magic Arrow/Missile
public Cast_OrtJux ( GameObject caster, bool Ready, int EffectID ) : void
caster GameObject Caster.
Ready bool If set to true ready.
EffectID int Effect ID of the spell
리턴 void

Cast_OrtPorWis() 공개 메소드

Roaming Sight
public Cast_OrtPorWis ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_OrtPorYlem() 공개 메소드

Casts telekinesis
public Cast_OrtPorYlem ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Paralyze() 공개 메소드

Casts the paralyze spells (generic)
public Cast_Paralyze ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_Poison() 공개 메소드

Casts the poison spells (generic)
public Cast_Poison ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_PorFlam() 공개 메소드

Casts the fireball spell
public Cast_PorFlam ( GameObject caster, bool Ready, int EffectID ) : void
caster GameObject Caster.
Ready bool If set to true ready.
EffectID int Effect ID of the spell
리턴 void

Cast_QuasCorp() 공개 메소드

Casts fear
public Cast_QuasCorp ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_RelDesPor() 공개 메소드

Casts slowfall
public Cast_RelDesPor ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_RelTymPor() 공개 메소드

Casts Speed
public Cast_RelTymPor ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Resistance() 공개 메소드

Casts the resistance spells (generic)
public Cast_Resistance ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_ResistanceAgainstType() 공개 메소드

Casts the resistance against type spells (generic)
public Cast_ResistanceAgainstType ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_ResistanceSpells() 공개 메소드

Casts the resistance spells.
public Cast_ResistanceSpells ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_RoamingSight() 공개 메소드

Casts the roaming sight generic
public Cast_RoamingSight ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_RuneOfWarding() 공개 메소드

Casts the rune of warding (generic)
public Cast_RuneOfWarding ( Vector3 pos, int EffectID ) : void
pos Vector3 Position.
EffectID int Effect ID of the spell
리턴 void

Cast_SanctFlam() 공개 메소드

Casts flame proof
public Cast_SanctFlam ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect I.
리턴 void

Cast_SanctJux() 공개 메소드

Cast Strengthen Door
public Cast_SanctJux ( GameObject caster, bool Ready, int EffectID ) : void
caster GameObject Caster.
Ready bool If set to true ready.
EffectID int Effect ID of the spell
리턴 void

Cast_SlowFall() 공개 메소드

Casts the slow fall. generic
public Cast_SlowFall ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_Speed() 공개 메소드

Casts the speed spells generic
public Cast_Speed ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_Stealth() 공개 메소드

Casts the stealth spells (generic)
public Cast_Stealth ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_StealthSpells() 공개 메소드

Casts the stealth spells.
public Cast_StealthSpells ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_Telekinesis() 공개 메소드

Casts the telekinesis spell generic
public Cast_Telekinesis ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_UusPor() 공개 메소드

Cast Leap/Jump
public Cast_UusPor ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_VasAnWis() 공개 메소드

Cast Confusion
public Cast_VasAnWis ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_VasKalCorp() 공개 메소드

Cast Armageddon
public Cast_VasKalCorp ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_VasOrtGrav() 공개 메소드

Casts sheet lightning
public Cast_VasOrtGrav ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_VasPorYlem() 공개 메소드

Casts tremor
public Cast_VasPorYlem ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_VasRelPor() 공개 메소드

Casts gate travel
public Cast_VasRelPor ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

Cast_WaterWalk() 공개 메소드

Casts the water walk spell (generic)
public Cast_WaterWalk ( GameObject caster, SpellEffect, ActiveSpellArray, int EffectID, int EffectSlot ) : void
caster GameObject Caster.
ActiveSpellArray SpellEffect, Active spell array.
EffectID int Effect ID of the spell
EffectSlot int Effect slot.
리턴 void

Cast_YlemPor() 공개 메소드

Casts waterwalk
public Cast_YlemPor ( GameObject caster, int EffectID ) : void
caster GameObject Caster.
EffectID int Effect ID of the spell
리턴 void

LaunchProjectile() 공개 메소드

Launchs the projectile.
public LaunchProjectile ( GameObject projectile, Ray ray, float dropRange, float force, float spread ) : void
projectile GameObject Projectile.
ray Ray Ray.
dropRange float How far away from the caster to launch
force float Force of the projectile
spread float Spread radius
리턴 void

LaunchProjectile() 공개 메소드

Launchs the projectile directly forward
public LaunchProjectile ( GameObject projectile, float force ) : void
projectile GameObject Projectile.
force float Force to apply to the projectile
리턴 void

LaunchProjectile() 공개 메소드

Launchs the projectile along the specified vector
public LaunchProjectile ( GameObject projectile, float force, Vector3 direction ) : void
projectile GameObject Projectile.
force float Force.
direction Vector3 Direction to launch the projectile in
리턴 void

OnGUI() 공개 메소드

Handles pressing Q to cast the current spell runes
public OnGUI ( ) : void
리턴 void

SetSpellCost() 공개 메소드

Sets the spell cost based on the circle of the spell x 3
public SetSpellCost ( int SpellCircle ) : void
SpellCircle int Spell circle.
리턴 void

SpellIncantationFailed() 공개 메소드

Spells incantation failure
public SpellIncantationFailed ( GameObject caster ) : void
caster GameObject Caster.
리턴 void

TestSpell() 공개 메소드

Special spell for testing
public TestSpell ( GameObject caster ) : void
caster GameObject Caster.
리턴 void

TestSpellCast() 공개 메소드

Checks if the player can cast the spell.
public TestSpellCast ( UWCharacter casterUW, int Rune1, int Rune2, int Rune3 ) : bool
casterUW UWCharacter The player character casting the spell
Rune1 int Rune1.
Rune2 int Rune2.
Rune3 int Rune3.
리턴 bool

TranslateSpellRune() 공개 메소드

Translates the spell runes
public TranslateSpellRune ( int Rune1, int Rune2, int Rune3 ) : string
Rune1 int Rune1.
Rune2 int Rune2.
Rune3 int Rune3.
리턴 string

Update() 공개 메소드

public Update ( ) : void
리턴 void

castSpell() 공개 메소드

Casts a magic spell based on the constructed magic rune string
public castSpell ( GameObject caster, int Rune1, int Rune2, int Rune3, bool ready ) : void
caster GameObject Caster.
Rune1 int Rune1.
Rune2 int Rune2.
Rune3 int Rune3.
ready bool
리턴 void

castSpell() 공개 메소드

Casts the spell from the selected magic runes
public castSpell ( GameObject caster, string MagicWords, bool ready ) : void
caster GameObject Caster.
MagicWords string Magic words.
ready bool If set to true then the spell is being readied (for targetted spells), false for immediate cast
리턴 void

프로퍼티 상세

ActiveRunes 공개적으로 프로퍼티

public int[] ActiveRunes
리턴 int[]

CurMana 공개적으로 프로퍼티

public int CurMana
리턴 int

InfiniteMana 공개적으로 프로퍼티

public bool InfiniteMana
리턴 bool

InventorySpell 공개적으로 프로퍼티

public bool InventorySpell
리턴 bool

MaxMana 공개적으로 프로퍼티

public int MaxMana
리턴 int

ObjectInSlot 공개적으로 프로퍼티

public GameObject ObjectInSlot
리턴 GameObject

PlayerRunes 공개적으로 프로퍼티

public bool[] PlayerRunes
리턴 bool[]

ReadiedSpell 공개적으로 프로퍼티

public string ReadiedSpell
리턴 string

SpellCost 공개적으로 프로퍼티

public int SpellCost
리턴 int

SummonCount 공개적으로 프로퍼티

public long SummonCount
리턴 long

playerUW 공개적으로 정적으로 프로퍼티

public static UWCharacter playerUW
리턴 UWCharacter