34 lines
		
	
	
		
			822 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			822 B
		
	
	
	
		
			Plaintext
		
	
	
	
| /*
 | |
| 文件名:BattleFieldClass.nut
 | |
| 路径:Dps_A/BaseClass/BattleFieldClass/BattleFieldClass.nut
 | |
| 创建日期:2024-04-28	09:34
 | |
| 文件用途:
 | |
| */
 | |
| class BattleField extends Base_C_Object {
 | |
|     Attribute = null;
 | |
|     constructor(CObject) {
 | |
|         base.constructor(CObject);
 | |
|         Attribute = Sq_Point2Blob(CObject, 120);
 | |
|     }
 | |
| 
 | |
| 
 | |
|     //获取副本
 | |
|     function GetDgn() {
 | |
|         local Ret = Sq_BattleField_GetDgn(C_Object);
 | |
|         if (Ret) {
 | |
|             return Dungeon(Ret);
 | |
|         }
 | |
|         return Ret;
 | |
|     }
 | |
| 
 | |
|     function add_monster_APC_AI(index) {
 | |
|         Sq_CallFunc(S_Ptr("0x8301D76"), "void", ["pointer", "int"], C_Object, index);
 | |
|     }
 | |
| 
 | |
|     //获取深渊派对情况
 | |
|     function GetHellDifficulty() {
 | |
|         local Sia = Sq_Point2Blob(C_Object, 500);
 | |
|         Sia.seek(460);
 | |
|         return (Sia.readn('c'))
 | |
|     }
 | |
| } |