Class Reference
Class Cluster/Corn
dissolve/disona
dissolve()
Dissolve a unit on focus.
evokeElement/lamelm
evokeElement(elm, elad)
Evoke Element.
Parameters:- elm:String - The name of Element
- "aeth" - Aethel Element.
- "van" - Wind Element.
- "fogo" - Fire Element.
- "neru" - Water Element.
- "solo" - Soil Element.
- elad:Number - The amount of Element which has been added. (0 - 10000)
evokeOriginalElements/lamprimelm
evokeOriginalElements()
Evoke as much Element as original balance. (For all Elements.)
evokePresetElements/lampresetelm
evokePresetElements()
Evoke as much Element as calculated by enword/enwadna. (For all Elements.)
getElementQuantity/getelmquat
elcq = getElementQuantity()
Get the amount of Element which has been evoked.
Returns:- elcq:Number - The amount of Element. (0 - 10000)
materialize/materaizad
materialize()
Materialize a cluster.
setFocusUnit/setfocmono
setFocusUnit(unit)
Focus on a unit.
Parameters:- unit:Unit - A unit.
synthesize/awaraizad
synthesize()
Synthesize clusters.
Class Console/Sola
out/de
out(msg)
Output a string to the message window.
Parameters:- msg:String - String.
Class SourceMagic/Souma
- belight/enluc
- centering/edradin
- enumAroundUnits/enumosmono
- enumRecognizedUnits/enumanekmono
- enumSpiritKnowsUnits/enumfaesirumono
- enumUnitsByName/enummonoparesta
- enword/enwadna
- getConsDepth/getconsnur
- getConsole/getsola
- getFocusUnits/getfocmono
- getMasterUnit/getorthormono
- meditate/ia
- setFocusUnits/setfocmono
- slowChant/tarudlina
belight/enluc
belight(ae, wi, fi, wa, so)
Creates a SOUMA cluster.
Parameters:- ae:Number - The amount of Aethel Element as original balance.
- wi:Number - The amount of Wind Element as original balance.
- fi:Number - The amount of Fire Element as original balance.
- wa:Number - The amount of Water Element as original balance.
- so:Number - The amount of Soil Element as original balance.
centering/edradin
centering()
Prepare to use a SOUMA.
enumAroundUnits/enumosmono
unitarray = enumAroundUnits()
Enumerate units within the range which a SOURCERER can recognize.
Returns:- unitarray:Array - Array of units.
enumRecognizedUnits/enumanekmono
unitarray = enumRecognizedUnits(angle)
Enumerate units within the fan-shaped range in front of a SOURCERER.
Returns:- unitarray:Array - Array of units.
- angle:Number - Angle of the fan-shaped range.
enumSpiritKnowsUnits/enummonoparesta
unitarray = enumSpiritKnowsUnits()
Enumerate units which a SOURCERER(or his subconscious) knows.
Returns:- unitarray:Array - Array of units.
enumUnitsByName/enummonoparesta
unitarray = enumUnitsByName()
Enumerate units by name.
Returns:- unitarray:Array - Array of units.
enword/enwadna
enword(form, intent, force, atrb, flags)
Creates a SOUMA-cluster by intent.
Parameters:-
form:String - Form.
- aethel/aeth - Aethel.
- wind/van - Wind.
- fire/fogo - Fire.
- water/neru - Water.
- soil/solo - Soil.
-
intent:String - Basic function.
- purify/prud - Purify.
- cure/traos - Cure.
- exceed/modati - Exceed.
- wrap/hamad - Elements enchantment.
- attack/da - Attack.
- nop/nop - No operation.
- ... etc.
-
force:String - Force.
- weak/rac - Weak.
- middle/perin - Middle.
- strong/bel - Strong.
- mighty/taura - Mighty.
-
atrb:String - Attribute flags (Split a string with whitespace).
- aethel/aeth - Aethel.
- wind/van - Wind.
- fire/fogo - Fire.
- water/neru - Water.
- soil/solo - Soil.
- flags:String - Generak flags (Split a string with whitespace).
getConsDepth/getconsnur
consdepth = getConsDepth()
Get the depth of SOURCERER's consciousness.
Returns:- consdepth:Number - the depth of SOURCERER's consciousness. (0 - 100000)
getConsole/getsola
console = getConsole()
Get a debug console.
Returns:- console:Console - Debug console.
getFocusUnits/getfocmono
unitarray = getFocusUnits()
Get an array of the units on focus.
Returns:- unitarray:Array - Array of units.
getMasterUnit/getorthormono
unit = getMasterUnit()
Get the SOURCERER's units.
Returns:- unit:Unit - A Unit of SOURCERER.
meditate/ia
consdepth = meditate()
Deepen consciousness.
Returns:- consdepth:Number - The depth of consciousness. (0-100000)
setFocusUnits/setfocmono
setFocusUnits(unit)
A SOURCERER focuses on a unit.
Parameters:- unit:Unit - A unit.
slowChant/tarudlina
slowChant()
Chant a SOUMA slowly.
Class Unit/Mono
- accessory/asorio
- leftHand/hara
- rightHand/fura
getConsDepth/getconsnur
consdepth = getConsDepth()
Get the depth of consciousness which the unit has.
Returns:- consdepth:Number - The depth of consciousness. (0 - 100000)
getEnergyDamage/getnadano
edmg = getEnergyDamage()
Get the amount of energy damege which the unit has been suffered.
Returns:- edmg:Number - The amount of energy damege.
getEquipedUnit/getsokuitmono
equnit = getEquipedUnit(eqp)
Get an object of a unit of an equipment.
Parameters:- eqp:Number - Equip point descriptor.
- Unit.accessory/Mono.asorio - Accessory.
- Unit.leftHand/Mono.hara - Left hand.
- Unit.rightHand/Mono.fura - Right hand.
- equnit:Unit - A unit of an equipment.
getLifeEnergy/getcuilna
lfene = getLifeEnergy()
Get the amount of remaining life energy which the unit has.
Returns:- lfene:Number - The amount of life energy.
getMaxLifeEnergy/getgemcuilna
lfene = getMaxLifeEnergy()
Get the maximum amount of life energy which the unit can have.
Returns:- lfene:Number - The amount of life energy.
getPhysicalDamage/getmonotudano
pdmg = getPhysicalDamage()
Get the amount of physical damage which the unit has been suffered.
Returns:- pdmg:Number - The amount of physical damage.
isEnemy/hagoth
bool = isEnemy()
Return true if the unit is a unit of an enemy.
Returns:- bool:Boolean - Boolean value whether a unit of an enemy.
isFriend/hamelon
bool = isFriend()
Return true if the unit is a friend's unit.
Returns:- bool:Boolean - Boolean value whether a unit of a friend.
isItem/hamotol
bool = isItem()
Return true if the unit is a unit of an item.
Returns:- bool:Boolean - Boolean value whether a unit of an item.
isMaster/haorthor
bool = isMaster()
Return true if the unit is a unit of a SOURCERER.
Returns:- bool:Boolean - Boolean value whether a unit of a SOURCERER.
isPutItem/haposumotol
bool = isPutItem()
Return true if the unit is a unit of items which has been put.
Returns:- bool:Boolean - Boolean value whether a unit of items which has been put.