atavism.agis.plugins
Class ClassAbilityClient
java.lang.Object
atavism.agis.plugins.ClassAbilityClient
public class ClassAbilityClient
- extends java.lang.Object
Method Summary |
static void |
CheckSkillAbilities(OID playerOid,
java.lang.String skill,
int level)
|
static int |
getPlayerSkillLevel(OID playerOid,
int skillType)
|
static SkillTemplate |
getSkillTemplate(int num)
|
static void |
learnAbility(OID oid,
int abilityID)
Sends the LearnAbilityMessage which tells the Combat system to add
the specified ability to the specified player. |
static void |
levelChange(OID oid,
int level)
|
static void |
rewardExpForKill(OID oid,
java.util.HashMap<OID,java.lang.Integer> attackers)
|
static void |
sendXPUpdate(OID oid,
java.lang.String statName,
int statCurrentValue)
|
static void |
skillAlterCurrent(OID oid,
int skillType,
int alterValue)
|
static void |
skillDecreased(OID oid,
int skillType)
|
static void |
skillIncreased(OID oid,
int skillType)
Called from extensions_proxy.py when the player wants to spend points to increase their skill level. |
static void |
skillLevelChange(OID oid)
|
static void |
skillReset(OID oid)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE
public static Namespace NAMESPACE
MSG_TYPE_STAT_XP_UPDATE
public static final MessageType MSG_TYPE_STAT_XP_UPDATE
MSG_TYPE_HANDLE_EXP
public static final MessageType MSG_TYPE_HANDLE_EXP
MSG_TYPE_LEVEL_CHANGE
public static final MessageType MSG_TYPE_LEVEL_CHANGE
MSG_TYPE_SKILL_LEVEL_CHANGE
public static final MessageType MSG_TYPE_SKILL_LEVEL_CHANGE
MSG_TYPE_COMBAT_SKILL_INCREASE
public static final MessageType MSG_TYPE_COMBAT_SKILL_INCREASE
MSG_TYPE_COMBAT_SKILL_DECREASE
public static final MessageType MSG_TYPE_COMBAT_SKILL_DECREASE
MSG_TYPE_COMBAT_SKILL_RESET
public static final MessageType MSG_TYPE_COMBAT_SKILL_RESET
MSG_TYPE_COMBAT_SKILL_ALTER_CURRENT
public static final MessageType MSG_TYPE_COMBAT_SKILL_ALTER_CURRENT
MSG_TYPE_COMBAT_GET_SKILL
public static final MessageType MSG_TYPE_COMBAT_GET_SKILL
MSG_TYPE_COMBAT_GET_PLAYER_SKILL_LEVEL
public static final MessageType MSG_TYPE_COMBAT_GET_PLAYER_SKILL_LEVEL
MSG_TYPE_PURCHASE_SKILL_POINT
public static final MessageType MSG_TYPE_PURCHASE_SKILL_POINT
MSG_TYPE_LEARN_ABILITY
public static final MessageType MSG_TYPE_LEARN_ABILITY
MSG_TYPE_SET_SKILL_STATE
public static final MessageType MSG_TYPE_SET_SKILL_STATE
sendXPUpdate
public static void sendXPUpdate(OID oid,
java.lang.String statName,
int statCurrentValue)
CheckSkillAbilities
public static void CheckSkillAbilities(OID playerOid,
java.lang.String skill,
int level)
levelChange
public static void levelChange(OID oid,
int level)
skillLevelChange
public static void skillLevelChange(OID oid)
skillIncreased
public static void skillIncreased(OID oid,
int skillType)
- Called from extensions_proxy.py when the player wants to spend points to increase their skill level.
- Parameters:
oid
- skillType
-
skillDecreased
public static void skillDecreased(OID oid,
int skillType)
skillReset
public static void skillReset(OID oid)
skillAlterCurrent
public static void skillAlterCurrent(OID oid,
int skillType,
int alterValue)
getSkillTemplate
public static SkillTemplate getSkillTemplate(int num)
getPlayerSkillLevel
public static int getPlayerSkillLevel(OID playerOid,
int skillType)
learnAbility
public static void learnAbility(OID oid,
int abilityID)
- Sends the LearnAbilityMessage which tells the Combat system to add
the specified ability to the specified player.
- Parameters:
oid
- abilityID
-
rewardExpForKill
public static void rewardExpForKill(OID oid,
java.util.HashMap<OID,java.lang.Integer> attackers)