仙魔无双SDK
面向策划逻辑制作的游戏开发包
Role_Template.lua 文件参考

玩家的通用行为事件 更多...

函数

function OnCheckLocalRelive (pSrcObj)
 Role的检测是否原地复活事件 更多...
 
function OnEnterCombat (nObjID, nParam)
 Role进入战斗的事件 更多...
 
function OnLeaveCombat (nObjID, nParam)
 Role离开战斗的事件 更多...
 
function OnPreDead (pSrcObj)
 Role预死亡事件 更多...
 
function OnRelive (pSrcObj)
 Role复活的事件 更多...
 
function OnSwitchSafeRegion (pSrcObj, nSafe)
 Role在安全与非安全区域之间切换。在同样安全属性的区域之间切换,不会触发此事件 更多...
 
function OnLevelUp (pSrcObj, nCurrentLevel)
 Role的升级事件。此事件触发的时候,Role已经完成了升级。当前等级是nCurrentLevel 更多...
 
function OnPassiveEvent_Hit (pSrcObj, nDamage, nAttackerID, nAttackLogicType, nDistance)
 Role被攻击 更多...
 
function OnPassiveEvent_Block (pSrcObj, nDamage, nAttackerID)
 Role被格挡 更多...
 
function OnEnterGuild (pSrcObj, nGuildID)
 Role进入公会的事件 更多...
 
function OnLeaveGuild (pSrcObj)
 Role离开公会的事件 更多...
 

详细描述

玩家的通用行为事件

作者
flying
日期
Oct.29.2012
注解
对应于Role.lua这个文件。这是所有的玩家公用的。