|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.MOBS.StdMOB
com.planet_ink.coffee_mud.MOBS.StdDeity
public class StdDeity
Nested Class Summary | |
---|---|
protected static class |
StdDeity.DeityTrigger
|
Nested classes/interfaces inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
---|
StdMOB.ApplyAffectCharState<T extends StatsAffecting>, StdMOB.ApplyAffectCharStats<T extends StatsAffecting>, StdMOB.ApplyRecAffectPhyStats<T extends StatsAffecting> |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.Deity |
---|
Deity.RitualConnector, Deity.RitualTrigger |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
---|
MOB.Attrib |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
---|
ItemPossessor.Expire, ItemPossessor.Find, ItemPossessor.Move |
Field Summary | |
---|---|
protected MOB |
blacklist
|
protected int |
blackmarks
|
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> |
blessings
|
protected java.util.List<StdDeity.DeityTrigger> |
clericCurseTriggers
|
protected java.util.List<StdDeity.DeityTrigger> |
clericPowerTriggers
|
protected java.lang.String |
clericPowerup
|
protected java.lang.String |
clericReqs
|
protected java.lang.String |
clericRitual
|
protected java.lang.String |
clericSin
|
protected java.util.List<StdDeity.DeityTrigger> |
clericTriggers
|
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> |
curses
|
protected long |
lastBlackmark
|
protected boolean |
norecurse
|
protected java.util.List<Ability> |
powers
|
protected int |
rebukeCheckDown
|
protected java.lang.String |
serviceRitual
|
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService> |
services
|
protected java.util.List<StdDeity.DeityTrigger> |
serviceTriggers
|
protected java.util.Map<java.lang.String,boolean[]> |
trigBlessingParts
|
protected java.util.Map<java.lang.String,java.lang.Long> |
trigBlessingTimes
|
protected java.util.Map<java.lang.String,boolean[]> |
trigCurseParts
|
protected java.util.Map<java.lang.String,java.lang.Long> |
trigCurseTimes
|
protected java.util.Map<java.lang.String,boolean[]> |
trigPowerParts
|
protected java.util.Map<java.lang.String,java.lang.Long> |
trigPowerTimes
|
protected java.util.Map<java.lang.String,boolean[]> |
trigServiceParts
|
protected java.util.Map<java.lang.String,java.lang.Long> |
trigServiceTimes
|
protected java.util.List<MOB> |
waitingFor
|
protected java.util.List<StdDeity.DeityTrigger> |
worshipCurseTriggers
|
protected java.lang.String |
worshipReqs
|
protected java.lang.String |
worshipRitual
|
protected java.lang.String |
worshipSin
|
protected java.util.List<StdDeity.DeityTrigger> |
worshipTriggers
|
protected int |
xpwrath
|
Fields inherited from class com.planet_ink.coffee_mud.MOBS.StdMOB |
---|
abilitys, abilityUseCache, abilityUseTrig, affectCharState, affectCharStats, affectPhyStats, affects, ageMinutes, amDead, amDestroyed, amFollowing, atRange, attributesBitmap, baseCharStats, basePhyStats, baseState, behaviors, cachedImageName, charStats, clanAffects, clans, CODES, commandQue, curState, databaseID, description, displayText, experience, expertises, factions, followers, inventory, kickFlag, lastLocation, liegeID, location, maxState, me, miscText, money, moneyVariation, mySession, peaceTime, phyStats, playerStats, possHeldItem, possStartRoom, possWieldedItem, practices, questPoint, racialAffects, rawImageName, recoverAffectP, recoverTickCter, removeFromGame, riding, scripts, soulMate, tattoos, tickAgeCounter, tickStatus, trains, username, victim, wimpHitPoint, worshipCharID, xtraValues |
Fields inherited from interface com.planet_ink.coffee_mud.MOBS.interfaces.MOB |
---|
AGE_MILLIS_THRESHOLD, END_SHEATH_TIME, START_SHEATH_TIME |
Fields inherited from interface com.planet_ink.coffee_mud.core.interfaces.MUDCmdProcessor |
---|
METAFLAG_AS, METAFLAG_ASMESSAGE, METAFLAG_FORCED, METAFLAG_INORDER, METAFLAG_MPFORCED, METAFLAG_ORDER, METAFLAG_POSSESSED, METAFLAG_SNOOPED |
Constructor Summary | |
---|---|
StdDeity()
|
Method Summary | |
---|---|
void |
addBlessing(Ability to,
boolean clericOnly)
Adds a new blessing, which worshippers/clerics can get from performming the appropriate deity ritual. |
void |
addCurse(Ability to,
boolean clericOnly)
Manipulation of curse objects, which includes spells, traits, skills, etc. |
void |
addPower(Ability to)
Manipulation of curse objects, which includes spells, traits, skills, etc. |
boolean |
alreadyBlessed(MOB mob)
|
boolean |
alreadyPowered(MOB mob)
|
protected boolean |
alreadyServiced(MOB mob,
Room room)
|
void |
bestowBlessing(MOB mob,
Ability Blessing)
|
void |
bestowBlessings(MOB mob)
|
void |
bestowCurse(MOB mob,
Ability Curse)
|
void |
bestowCurses(MOB mob)
|
void |
bestowPower(MOB mob,
Ability Power)
|
void |
bestowPowers(MOB mob)
|
boolean |
cancelService(com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService service)
|
protected void |
cloneFix(MOB E)
|
void |
delBlessing(Ability to)
Deletes the given blessing, which worshippers/clerics can get from performming the appropriate deity ritual. |
void |
delCurse(Ability to)
Deletes the given curse, which worshippers/clerics can get from performming the appropriate deity "Sin". |
void |
delPower(Ability to)
Removes the power up ability, which clerics can get from performming the appropriate powerup ritual. |
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
Ability |
fetchBlessing(int index)
Gets the blessing at the given index. |
Ability |
fetchBlessing(java.lang.String ID)
Returns the blessing the given Ability ID. |
boolean |
fetchBlessingCleric(int index)
Returns whether the blessing at the given index is only for clerics. |
boolean |
fetchBlessingCleric(java.lang.String ID)
Returns whether the blessing with the given Ability ID is only for clerics. |
Ability |
fetchCurse(int index)
Gets the curse at the given index. |
Ability |
fetchCurse(java.lang.String ID)
Returns the curse the given Ability ID. |
boolean |
fetchCurseCleric(int index)
Returns whether the curse at the given index is only for clerics. |
boolean |
fetchCurseCleric(java.lang.String ID)
Returns whether the curse with the given Ability ID is only for clerics. |
Ability |
fetchPower(int index)
Returns the power up abilities at the given index. |
Ability |
fetchPower(java.lang.String ID)
Returns the power up abilities with the given Ability ID. |
boolean |
finishService(MOB mob,
Room room)
|
java.lang.String |
getClericPowerup()
Gets the raw ritual command string that defines what a cleric must do to receive the Power Up Abilities of this deity. |
java.lang.String |
getClericPowerupDesc()
Returns the friendly description of the ritual that cleric must do to receive the Power Up Abilities of this deity. |
java.lang.String |
getClericRequirements()
Gets the Zapper Mask string that defines the requirements to be a Cleric of this Deity. |
java.lang.String |
getClericRequirementsDesc()
Returns a friendly readable description of the requirements to be a Cleric of this Deity. |
java.lang.String |
getClericRitual()
Gets the raw ritual command string that defines what a cleric must do to receive the Blessings of this deity. |
java.lang.String |
getClericSin()
Gets the raw ritual command string that defines what a cleric must do to receive the Curses of this deity. |
java.lang.String |
getClericSinDesc()
Returns the friendly description of the ritual that cleric must do to receive the Curses of this deity. |
java.lang.String |
getClericTriggerDesc()
Returns the friendly description of the ritual that cleric must do to receive the Blessings of this deity. |
java.lang.String |
getServiceRitual()
Gets the raw ritual command string that defines what a cleric must do to complete a Service of this deity. |
java.lang.String |
getServiceTriggerDesc()
Returns the friendly description of the ritual that cleric must do to perform a service for this deity. |
java.lang.String |
getTriggerDesc(java.util.List<StdDeity.DeityTrigger> V)
|
java.lang.String |
getWorshipRequirements()
Gets the Zapper Mask string that defines the requirements to be a Worshipper of this Deity. |
java.lang.String |
getWorshipRequirementsDesc()
Returns a friendly readable description of the requirements to be a Worshipper of this Deity. |
java.lang.String |
getWorshipRitual()
Gets the raw ritual command string that defines what a worshipper must do to receive the Blessings of this deity. |
java.lang.String |
getWorshipSin()
Gets the raw ritual command string that defines what a worshipper must do to receive the Curses of this deity. |
java.lang.String |
getWorshipSinDesc()
Returns the friendly description of the ritual that worshipper must do to receive the Curses of this deity. |
java.lang.String |
getWorshipTriggerDesc()
Returns the friendly description of the ritual that worshipper must do to receive the Blessings of this deity. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
int |
numBlessings()
Returns the total number of blessings, both cleric and worshipper. |
int |
numCurses()
Returns the total number of curses, both cleric and worshipper. |
int |
numPowers()
Returns the number of power up abilities, which clerics get from performing the appropriate powerup ritual. |
boolean |
okMessage(Environmental myHost,
CMMsg msg)
The general message event previewer for the object. |
protected void |
parseTriggers(java.util.List<StdDeity.DeityTrigger> putHere,
java.lang.String trigger)
|
void |
removeBlessings(MOB mob)
|
void |
removePowers(MOB mob)
|
void |
setClericPowerup(java.lang.String ritual)
Sets the raw ritual command string that defines what a cleric must do to receive the Power Up Abilities of this deity. |
void |
setClericRequirements(java.lang.String reqs)
Sets the Zapper Mask string that defines the requirements to be a Cleric of this Deity. |
void |
setClericRitual(java.lang.String ritual)
Sets the raw ritual command string that defines what a cleric must do to receive the Blessings of this deity. |
void |
setClericSin(java.lang.String ritual)
Sets the raw ritual command string that defines what a cleric must do to receive the Curses of this deity. |
void |
setServiceRitual(java.lang.String ritual)
Sets the raw ritual command string that defines what a cleric must do to complete a Service of this deity. |
void |
setWorshipRequirements(java.lang.String reqs)
Sets the Zapper Mask string that defines the requirements to be a Worshipper of this Deity. |
void |
setWorshipRitual(java.lang.String ritual)
Sets the raw ritual command string that defines what a worshipper must do to receive the Blessings of this deity. |
void |
setWorshipSin(java.lang.String ritual)
Sets the raw ritual command string that defines what a worshipper must do to receive the Curses of this deity. |
protected void |
startServiceIfNecessary(MOB mob,
Room room)
|
boolean |
tick(Tickable ticking,
int tickID)
this is the method which is called periodically by the threading engine. |
boolean |
triggerCheck(CMMsg msg,
java.util.List<StdDeity.DeityTrigger> V,
java.util.Map<java.lang.String,boolean[]> trigParts,
java.util.Map<java.lang.String,java.lang.Long> trigTimes)
|
protected void |
undoService(java.util.List<MOB> V)
|
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.core.interfaces.Rider |
---|
riding, setRiding |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.DBIdentifiable |
---|
canSaveDatabaseID, databaseID, setDatabaseID |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemPossessor |
---|
addItem, moveItemTo, moveItemTo |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.ItemCollection |
---|
addItem, delAllItems, delItem, eachItem, findItem, findItem, findItems, findItems, getItem, getRandomItem, isContent, items, numItems |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.AbilityContainer |
---|
abilities, addAbility, allAbilities, delAbility, delAllAbilities, fetchAbility, fetchAbility, fetchRandomAbility, numAbilities, numAllAbilities |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tattooable |
---|
addTattoo, addTattoo, addTattoo, delTattoo, delTattoo, findTattoo, findTattooStartsWith, tattoos |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.FactionMember |
---|
addFaction, adjustFaction, copyFactions, factions, fetchFaction, fetchFactionData, fetchFactionRanges, getFactionListing, hasFaction, removeFaction |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MUDCmdProcessor |
---|
actions, clearCommandQueue, commandQueSize, dequeCommand, doCommand, enqueCommand, enqueCommands, prequeCommand, prequeCommands, setActions |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Followable |
---|
addFollower, amFollowing, amUltimatelyFollowing, delFollower, fetchFollower, fetchFollower, fetchFollowerOrder, followers, getGroupMembers, getGroupMembersAndRideables, isFollowedBy, numFollowers, setFollowing, totalFollowers |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Combatant |
---|
getCombatant, getDirectionToTarget, isInCombat, makePeace, mayIFight, mayPhysicallyAttack, rangeToTarget, setCombatant, setRangeToTarget |
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.Behavable |
---|
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts |
Field Detail |
---|
protected int xpwrath
protected java.lang.String clericReqs
protected java.lang.String worshipReqs
protected java.lang.String serviceRitual
protected java.lang.String clericRitual
protected java.lang.String clericSin
protected java.lang.String clericPowerup
protected java.lang.String worshipRitual
protected java.lang.String worshipSin
protected int rebukeCheckDown
protected boolean norecurse
protected MOB blacklist
protected int blackmarks
protected long lastBlackmark
protected java.util.List<StdDeity.DeityTrigger> worshipTriggers
protected java.util.List<StdDeity.DeityTrigger> worshipCurseTriggers
protected java.util.List<StdDeity.DeityTrigger> clericTriggers
protected java.util.List<StdDeity.DeityTrigger> serviceTriggers
protected java.util.List<StdDeity.DeityTrigger> clericPowerTriggers
protected java.util.List<StdDeity.DeityTrigger> clericCurseTriggers
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> blessings
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.DeityPower> curses
protected java.util.List<Ability> powers
protected java.util.Map<java.lang.String,boolean[]> trigBlessingParts
protected java.util.Map<java.lang.String,java.lang.Long> trigBlessingTimes
protected java.util.Map<java.lang.String,boolean[]> trigPowerParts
protected java.util.Map<java.lang.String,java.lang.Long> trigPowerTimes
protected java.util.Map<java.lang.String,boolean[]> trigCurseParts
protected java.util.Map<java.lang.String,java.lang.Long> trigCurseTimes
protected java.util.Map<java.lang.String,boolean[]> trigServiceParts
protected java.util.Map<java.lang.String,java.lang.Long> trigServiceTimes
protected java.util.List<com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService> services
protected java.util.List<MOB> waitingFor
Constructor Detail |
---|
public StdDeity()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdMOB
protected void cloneFix(MOB E)
cloneFix
in class StdMOB
public java.lang.String getClericRequirements()
Deity
getClericRequirements
in interface Deity
MaskingLibrary
,
Deity.setClericRequirements(String)
,
Deity.getClericRequirementsDesc()
public void setClericRequirements(java.lang.String reqs)
Deity
setClericRequirements
in interface Deity
reqs
- the Zapper Mask string that defines the requirementsMaskingLibrary
,
Deity.getClericRequirements()
,
Deity.getClericRequirementsDesc()
public java.lang.String getWorshipRequirements()
Deity
getWorshipRequirements
in interface Deity
MaskingLibrary
,
Deity.setWorshipRequirements(String)
,
Deity.getWorshipRequirementsDesc()
public void setWorshipRequirements(java.lang.String reqs)
Deity
setWorshipRequirements
in interface Deity
reqs
- the Zapper Mask string that defines the requirementsMaskingLibrary
,
Deity.getWorshipRequirements()
,
Deity.getWorshipRequirementsDesc()
public java.lang.String getClericRitual()
Deity
getClericRitual
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.setClericRitual(String)
,
Deity.getClericTriggerDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public void setClericRitual(java.lang.String ritual)
Deity
setClericRitual
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchBlessing(String)
,
Deity.getClericRitual()
,
Deity.getClericTriggerDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getWorshipRitual()
Deity
getWorshipRitual
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.setWorshipRitual(String)
,
Deity.getWorshipTriggerDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public void setWorshipRitual(java.lang.String ritual)
Deity
setWorshipRitual
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchBlessing(String)
,
Deity.getWorshipRitual()
,
Deity.getWorshipTriggerDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getServiceRitual()
Deity
getServiceRitual
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.setServiceRitual(String)
,
Deity.getServiceTriggerDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public void setServiceRitual(java.lang.String ritual)
Deity
setServiceRitual
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchBlessing(String)
,
Deity.getServiceRitual()
,
Deity.getServiceTriggerDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getTriggerDesc(java.util.List<StdDeity.DeityTrigger> V)
public java.lang.String getClericRequirementsDesc()
Deity
getClericRequirementsDesc
in interface Deity
Deity.setClericRequirements(String)
,
Deity.getClericRequirements()
public java.lang.String getClericTriggerDesc()
Deity
getClericTriggerDesc
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.getClericRitual()
,
Deity.setClericRitual(String)
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getWorshipRequirementsDesc()
Deity
getWorshipRequirementsDesc
in interface Deity
Deity.setWorshipRequirements(String)
,
Deity.getWorshipRequirements()
public java.lang.String getWorshipTriggerDesc()
Deity
getWorshipTriggerDesc
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.getWorshipRitual()
,
Deity.setWorshipRitual(String)
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getServiceTriggerDesc()
Deity
getServiceTriggerDesc
in interface Deity
Deity
,
Deity.fetchBlessing(String)
,
Deity.getServiceRitual()
,
Deity.setServiceRitual(String)
,
Deity.RitualTrigger
,
Deity.RitualConnector
public boolean okMessage(Environmental myHost, CMMsg msg)
MsgListener
okMessage
in interface MsgListener
okMessage
in class StdMOB
myHost
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that wants to be executed
CMMsg
,
CMMsg.source()
public void bestowBlessing(MOB mob, Ability Blessing)
public void bestowPower(MOB mob, Ability Power)
public void bestowCurse(MOB mob, Ability Curse)
public void bestowBlessings(MOB mob)
public void bestowPowers(MOB mob)
public void bestowCurses(MOB mob)
public void removeBlessings(MOB mob)
public void removePowers(MOB mob)
public boolean alreadyBlessed(MOB mob)
public boolean alreadyPowered(MOB mob)
public boolean triggerCheck(CMMsg msg, java.util.List<StdDeity.DeityTrigger> V, java.util.Map<java.lang.String,boolean[]> trigParts, java.util.Map<java.lang.String,java.lang.Long> trigTimes)
public void executeMsg(Environmental myHost, CMMsg msg)
MsgListener
executeMsg
in interface MsgListener
executeMsg
in class StdMOB
myHost
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that needs to be executedCMMsg
protected void startServiceIfNecessary(MOB mob, Room room)
protected void undoService(java.util.List<MOB> V)
protected boolean alreadyServiced(MOB mob, Room room)
public boolean finishService(MOB mob, Room room)
public boolean cancelService(com.planet_ink.coffee_mud.MOBS.StdDeity.WorshipService service)
public boolean tick(Tickable ticking, int tickID)
Tickable
tick
in interface Tickable
tick
in class StdMOB
ticking
- a reference to this Tickable objecttickID
- the TICKID_ constant describing this periodic call, as defined in Tickable
Tickable
,
ServiceEngine
,
TickableGroup
public void addBlessing(Ability to, boolean clericOnly)
Deity
addBlessing
in interface Deity
to
- the blessing ability objectclericOnly
- true if its only for clerics, false if for everyoneDeity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.delBlessing(Ability)
,
Deity.numBlessings()
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessingCleric(int)
,
Deity.fetchBlessing(int)
public void delBlessing(Ability to)
Deity
delBlessing
in interface Deity
to
- the blessing ability objectDeity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.numBlessings()
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessingCleric(int)
,
Deity.fetchBlessing(int)
public int numBlessings()
Deity
numBlessings
in interface Deity
Deity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessingCleric(int)
,
Deity.fetchBlessing(int)
public Ability fetchBlessing(int index)
Deity
fetchBlessing
in interface Deity
index
- the index of the blessing to return info about
Deity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessingCleric(int)
,
Deity.numBlessings()
public boolean fetchBlessingCleric(int index)
Deity
fetchBlessingCleric
in interface Deity
index
- the index of the blessing to return info about
Deity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessing(int)
,
Deity.fetchBlessingCleric(String)
,
Deity.numBlessings()
public boolean fetchBlessingCleric(java.lang.String ID)
Deity
fetchBlessingCleric
in interface Deity
ID
- the ability id of the blessing to return info about
Deity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(String)
,
Deity.fetchBlessing(int)
,
Deity.fetchBlessingCleric(int)
,
Deity.numBlessings()
public Ability fetchBlessing(java.lang.String ID)
Deity
fetchBlessing
in interface Deity
ID
- the Ability ID of the blessing to return info about
Deity.getClericRitual()
,
Deity.getWorshipRitual()
,
Deity.addBlessing(Ability, boolean)
,
Deity.delBlessing(Ability)
,
Deity.fetchBlessing(int)
,
Deity.fetchBlessingCleric(int)
,
Deity.numBlessings()
protected void parseTriggers(java.util.List<StdDeity.DeityTrigger> putHere, java.lang.String trigger)
public void addCurse(Ability to, boolean clericOnly)
addCurse
in interface Deity
to
- the curse ability objectclericOnly
- true if its only for clerics, false if for everyoneDeity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.delCurse(Ability)
,
Deity.numCurses()
,
Deity.fetchCurse(String)
,
Deity.fetchCurseCleric(int)
,
Deity.fetchCurse(int)
public void delCurse(Ability to)
Deity
delCurse
in interface Deity
to
- the curse ability objectDeity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.numCurses()
,
Deity.fetchCurse(String)
,
Deity.fetchCurseCleric(int)
,
Deity.fetchCurse(int)
public int numCurses()
Deity
numCurses
in interface Deity
Deity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(String)
,
Deity.fetchCurseCleric(int)
,
Deity.fetchCurse(int)
public Ability fetchCurse(int index)
Deity
fetchCurse
in interface Deity
index
- the index of the curse to return info about
Deity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(String)
,
Deity.fetchCurseCleric(int)
,
Deity.numCurses()
public Ability fetchCurse(java.lang.String ID)
Deity
fetchCurse
in interface Deity
ID
- the Ability ID of the curse to return info about
Deity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(int)
,
Deity.fetchCurseCleric(int)
,
Deity.numCurses()
public boolean fetchCurseCleric(int index)
Deity
fetchCurseCleric
in interface Deity
index
- the index of the curse to return info about
Deity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(String)
,
Deity.fetchCurse(int)
,
Deity.fetchCurseCleric(String)
,
Deity.numCurses()
public boolean fetchCurseCleric(java.lang.String ID)
Deity
fetchCurseCleric
in interface Deity
ID
- the ability id of the curse to return info about
Deity.getClericSin()
,
Deity.getWorshipSin()
,
Deity.addCurse(Ability, boolean)
,
Deity.delCurse(Ability)
,
Deity.fetchCurse(String)
,
Deity.fetchCurse(int)
,
Deity.fetchCurseCleric(int)
,
Deity.numCurses()
public java.lang.String getClericSin()
Deity
getClericSin
in interface Deity
Deity
,
Deity.fetchCurse(String)
,
Deity.setClericSin(String)
,
Deity.getClericSinDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public void setClericSin(java.lang.String ritual)
Deity
setClericSin
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchCurse(String)
,
Deity.getClericSin()
,
Deity.getClericSinDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getClericSinDesc()
Deity
getClericSinDesc
in interface Deity
Deity
,
Deity.fetchCurse(String)
,
Deity.getClericSin()
,
Deity.setClericSin(String)
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getWorshipSin()
Deity
getWorshipSin
in interface Deity
Deity
,
Deity.fetchCurse(String)
,
Deity.setWorshipSin(String)
,
Deity.getWorshipSinDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public void setWorshipSin(java.lang.String ritual)
Deity
setWorshipSin
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchCurse(String)
,
Deity.getWorshipSin()
,
Deity.getWorshipSinDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getWorshipSinDesc()
Deity
getWorshipSinDesc
in interface Deity
Deity
,
Deity.fetchCurse(String)
,
Deity.getWorshipSin()
,
Deity.setWorshipSin(String)
,
Deity.RitualTrigger
,
Deity.RitualConnector
public void addPower(Ability to)
addPower
in interface Deity
to
- the power up ability objectDeity.getClericPowerup()
,
Deity.delPower(Ability)
,
Deity.numPowers()
,
Deity.fetchPower(String)
,
Deity.fetchPower(int)
public void delPower(Ability to)
Deity
delPower
in interface Deity
to
- the power up ability object to removeDeity.getClericPowerup()
,
Deity.addPower(Ability)
,
Deity.numPowers()
,
Deity.fetchPower(String)
,
Deity.fetchPower(int)
public int numPowers()
Deity
numPowers
in interface Deity
Deity.getClericPowerup()
,
Deity.addPower(Ability)
,
Deity.delPower(Ability)
,
Deity.fetchPower(String)
,
Deity.fetchPower(int)
public Ability fetchPower(int index)
Deity
fetchPower
in interface Deity
index
- the index of the Ability to return
Deity.getClericPowerup()
,
Deity.addPower(Ability)
,
Deity.delPower(Ability)
,
Deity.fetchPower(String)
,
Deity.numPowers()
public Ability fetchPower(java.lang.String ID)
Deity
fetchPower
in interface Deity
ID
- the Ability ID of the Ability to return
Deity.getClericPowerup()
,
Deity.addPower(Ability)
,
Deity.delPower(Ability)
,
Deity.fetchPower(String)
,
Deity.numPowers()
public java.lang.String getClericPowerup()
Deity
getClericPowerup
in interface Deity
Deity
,
Deity.fetchPower(String)
,
Deity.setClericPowerup(String)
,
Deity.getClericPowerupDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public void setClericPowerup(java.lang.String ritual)
Deity
setClericPowerup
in interface Deity
ritual
- the coded ritual command stringDeity
,
Deity.fetchPower(String)
,
Deity.getClericPowerup()
,
Deity.getClericPowerupDesc()
,
Deity.RitualTrigger
,
Deity.RitualConnector
public java.lang.String getClericPowerupDesc()
Deity
getClericPowerupDesc
in interface Deity
Deity
,
Deity.fetchPower(String)
,
Deity.getClericPowerup()
,
Deity.setClericPowerup(String)
,
Deity.RitualTrigger
,
Deity.RitualConnector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |