|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.StdAbility
com.planet_ink.coffee_mud.Abilities.Languages.StdLanguage
com.planet_ink.coffee_mud.Abilities.Languages.Common
public class Common
| Field Summary |
|---|
| Fields inherited from class com.planet_ink.coffee_mud.Abilities.Languages.StdLanguage |
|---|
alwaysSpoken, CANCEL_WORD, spoken |
| Fields inherited from class com.planet_ink.coffee_mud.Abilities.StdAbility |
|---|
affected, amDestroyed, canBeUninvoked, empty, invoker, isAnAutoEffect, lastCastHelp, miscText, proficiency, savable, tickDown, unInvoked |
| Constructor Summary | |
|---|---|
Common()
|
|
| Method Summary | |
|---|---|
boolean |
canBeUninvoked()
Whether this skill is allowed to be uninvoked. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
boolean |
invoke(MOB mob,
java.util.List<java.lang.String> commands,
Physical givenTarget,
boolean auto,
int asLevel)
This method is called when a player or the system invokes this skill, casts this spell, etc. |
boolean |
isAutoInvoked()
An autoinvocating ability is an ability which affects the mob just by having learned the ability. |
java.lang.String |
name()
The nice displayable name of this instance of this object |
int |
proficiency()
Returns a number from 0-100 representing the percent of proficiency the mob or player who has this instance in their Abilities list has in this skill. |
| Methods inherited from class com.planet_ink.coffee_mud.Abilities.Languages.StdLanguage |
|---|
abstractQuality, beingSpoken, canAffectCode, canBeLearnedBy, canTargetCode, classificationCode, displayText, executeMsg, fixCase, fixCase, getAnyTranslator, getMyTranslator, getProficiency, getRawTrainingCost, languagesSupported, messChars, numChars, okMessage, processNonSourceMessages, processSourceMessage, scrambleAll, setBeingSpoken, setMiscText, teach, translate, translateChannelMessage, translateOthersMessage, translatesLanguage, translateTargetMessage, translationHash, translationLists, triggerStrings, tryLinguisticWriting, writtenName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.Ability |
|---|
abilityCode, accountForYourself, adjustedLevel, affecting, appropriateToMyFactions, autoInvocation, bubbleAffect, canAffect, canAffect, canBePracticedBy, canBeTaughtBy, canTarget, canTarget, castingQuality, castingTime, checkedCastingCost, combatCastingTime, enchantQuality, externalFiles, flags, getTrainingCost, helpProficiency, invoke, invoker, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, preInvoke, proficiencyCheck, putInCommandlist, requirements, setAbilityCode, setAffectedOne, setInvoker, setProficiency, startTickDown, unInvoke, usageCost, usageType |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
|---|
description, expirationDate, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setName, text |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
|---|
getTickStatus, tick |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
|---|
affectCharState, affectCharStats, affectPhyStats |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent |
|---|
amDestroyed, destroy, isSavable, setSavable |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
|---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
| Constructor Detail |
|---|
public Common()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdLanguagepublic java.lang.String name()
Tickable
name in interface CMObjectname in interface Tickablename in class StdLanguageEnvironmental.Name()public boolean isAutoInvoked()
Ability
isAutoInvoked in interface AbilityisAutoInvoked in class StdLanguagepublic boolean canBeUninvoked()
Ability
canBeUninvoked in interface AbilitycanBeUninvoked in class StdLanguageAbility.makeNonUninvokable()public int proficiency()
Ability
proficiency in interface Abilityproficiency in class StdAbilityAbilityContainer.addAbility(Ability),
Ability.setProficiency(int)
public boolean invoke(MOB mob,
java.util.List<java.lang.String> commands,
Physical givenTarget,
boolean auto,
int asLevel)
Ability
invoke in interface Abilityinvoke in class StdLanguagemob - the player or mob invoking the skillcommands - the parameters entered for the skill (minus trigger word)givenTarget - null, unless being auto-invoked. Represents an override target.auto - false if player enters command, true if system invokes the commandasLevel - -1, unless being auto-invoked, when it is the level to invoke it at.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||