更换国内服务器
This commit is contained in:
@@ -90,3 +90,42 @@
|
||||
### 函数签名
|
||||
- `function Fix_Auction_Regist_Item()`
|
||||
---
|
||||
|
||||
|
||||
|
||||
## 十四、副本可丢弃品级 传入一个值 3为神器
|
||||
### 函数签名
|
||||
- `function FixDungeonDropGrade(Level)`
|
||||
---
|
||||
|
||||
|
||||
|
||||
## 十五、邮件去除验证
|
||||
### 函数签名
|
||||
- `function FixEmailRemovalVerification()`
|
||||
---
|
||||
|
||||
|
||||
## 十五、开启独立掉落模式
|
||||
### 此功能需要传入一个回调函数 参数为 //角色 怪物ID 怪物等级 坐标X 坐标Y 副本名称 副本ID 副本等级 副本难度 深渊标识
|
||||
### 函数签名
|
||||
- `function OpenIndependenceDropMode(Func)`
|
||||
- `此功能相对复杂因此给一个例子`
|
||||
|
||||
```
|
||||
function IndependenceDropLogic(SUser, MonsterId, MonsterLevel, Xpos, Ypos, DgnName, DgnId, DgnLevel,DgnDiff, HellDiff)
|
||||
{
|
||||
//注意这里组队时每一个队员都会调用一次这个函数
|
||||
|
||||
//如果角色名字为游戏管理员 掉落3037
|
||||
if(SUser.GetCharacName() == "游戏管理员")
|
||||
SUser.DropItem(3037, Xpos, Ypos);
|
||||
//如果怪物ID 为 1 掉落 3038
|
||||
if(MonsterId == 1)
|
||||
SUser.DropItem(3038, Xpos, Ypos);
|
||||
}
|
||||
|
||||
GameManager.OpenIndependenceDropMode(IndependenceDropLogic);
|
||||
```
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user