Timp biolog

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
rosha25
Nou Venit

Nou Venit
Mesaje: 26
Membru din: 16 Iun 2014, 19:44
Server: metin2.es
Regat: Jinno
Aprecieri: 72  
Mulţumiri: 1  
Medalii

Salut, ma poate ajuta si pe mine cineva..
sa imi spuna cum sa modifc timpul la biolog ca sa fie la 10 minute toate
acol pune ca e la 10 si 30 min dar pot sa dau la fiecare minut

Cod: Selectaţi tot

/*********************************************************************
* title_name		: Professional Biolog System
* date_created		: 2016.08.07
* filename			: biologDefines.h
* author			: VegaS
*/
#include "../../common/service.h"
/*********
* From here change the bonuses they offer each mission separately.
* All bonuses and value are as like official.
* If u want to change bonus you can find in enum EPointTypes on char.h other bonus type
* If u want you can put automatically value from bonus like - POINT_MOV_SPEED = 19 and , 10 is value for bonus MOVE_SPEED what be apply.
*/	
#ifdef ENABLE_WOLFMAN_CHARACTER	
int tableBonus[10][10]
#else
int tableBonus[10][8]		 
#endif
={
	{POINT_MOV_SPEED, 18, POINT_POISON_REDUCE, 10}, // Biologist level 30
	
	{POINT_ATT_SPEED, 5, POINT_POISON_REDUCE, 10}, // Biologist level 40
	
	{POINT_DEF_GRADE_BONUS, 100}, // Biologist level 50
	
	{POINT_ATT_GRADE_BONUS, 50}, // Biologist level 60
	
	{POINT_MOV_SPEED, 10, POINT_DEF_BONUS, 15}, // Biologist level 70
									
	{POINT_ATT_SPEED, 5, POINT_ATT_BONUS, 5}, // Biologist level 80

#ifdef ENABLE_WOLFMAN_CHARACTER
	{POINT_RESIST_WARRIOR, 15, POINT_RESIST_ASSASSIN, 15, POINT_RESIST_SURA, 15, POINT_RESIST_SHAMAN, 15, POINT_RESIST_WOLFMAN, 15}, // Biologist level 85
#else
	{POINT_RESIST_WARRIOR, 10, POINT_RESIST_ASSASSIN, 10, POINT_RESIST_SURA, 10, POINT_RESIST_SHAMAN, 10}, // Biologist level 85	
#endif

#ifdef ENABLE_WOLFMAN_CHARACTER										
	{POINT_ATTBONUS_WARRIOR, 5, POINT_ATTBONUS_ASSASSIN, 5, POINT_ATTBONUS_SURA, 5, POINT_ATTBONUS_SHAMAN, 5, POINT_ATTBONUS_WOLFMAN, 5}, // Biologist level 90
#else	
	{POINT_ATTBONUS_WARRIOR, 8, POINT_ATTBONUS_ASSASSIN, 8, POINT_ATTBONUS_SURA, 8, POINT_ATTBONUS_SHAMAN, 8}, // Biologist level 90
#endif	

	{POINT_MAX_HP, 2000, POINT_ATTBONUS_MONSTER, 10, POINT_DEF_GRADE_BONUS, 100}, // Biologist level 92
									
	{POINT_MAX_HP, 4000, POINT_ATTBONUS_MONSTER, 15, POINT_DEF_GRADE_BONUS, 150} // Biologist level 94								
};
							
/*********
* Table translation, here modify messages that are sent in chat client but also in the box when something is wrong or worked.
*/							
const char* pTable_Translate[] =
{
	"[Biologo] Exelente! Es de muy buena calidad!!!",
	"[Biologo] Este producto esta en mal estado!!!", 
	"[Biologo] Enhorabuena, has completado la tarea.!",
	"[Biologo] Espera [%d Dias] [%d Horas] [%d Min.] [%d Seg.] para volver a entregar!",
	"[Biologo] Debes tener los materiales para poder entregar.!",
	"[Biologo] No tienes el nivel suficiente, Espera hasta Lv. %u !",
	"[Biologo] Ya ha completado todas las tareas, No puedes entregar mas!"
}; 								
									
/*********
* Here are the settings for sending in box when you finish a mission.
* You would need to be change only these texts for the country you belong, values are taken directly bonuses configuration table tableBonus[i][i].
*/		
const char* pPopUp[10][4] =
{  
	{
		"[Lv.30] La investigación del biólogo",
		"[1. Bonus] Velocidad de movimiento"
	},	
	{
		"[Lv.40] La investigación del biólogo",
		"[1. Bonus] Velocidad de ataque"
	},	
	{
		"[Lv.50] La investigación del biólogo",
		"[1. Bonus] Defensa"
	},	
	{
		"[Lv.60] La investigación del biólogo",
		"[1. Bonus] Valor de ataque"
	},	
	{
		"[Lv.70] La investigación del biólogo",
		"[1. Bonus] Velocidad de movimiento",
		"[2. Bonus] Reducción de daños"
	},	
	{
		"[Lv.80] La investigación del biólogo",
		"[1. Bonus] Velocidad de ataque",
		"[2. Bonus] Valor de ataque"
	},	
	{
		"[Lv.85] La investigación del biólogo",
		"[1. Bonus] Reducción de daño recibido de otros jugadores "
	},	
	{
		"[Lv.90] La investigación del biólogo",
		"[1. Bonus] Incremento del daño causado contra otros jugadores."
	},	
	{
		"[Lv.92] La investigación del biólogo",
		"[1. Bonus] Max HP",						// Bonus is selected from player
		"[2. Bonus] Valor de ataque",		// Bonus is selected from player
		"[3. Bonus] Defensa"			// Bonus is selected from player
	},	
	{
		"[Lv.94] La investigación del biólogo",
		"[1. Bonus] Max HP",						// Bonus is selected from player
		"[2. Bonus] Valor de ataque",		// Bonus is selected from player
		"[3. Bonus] Defensa"			// Bonus is selected from player
	}											
};

/*********
* You can change the items that you provide when you finish biologist. (default is like official)
*/		
int pTableRewardItem[10] =
{
	50109, // Biologist level 30
	50110, // Biologist level 40
	50111, // Biologist level 50
	50112, // Biologist level 60
	50113, // Biologist level 70
	50114, // Biologist level 80
	50115, // Biologist level 85
	50114, // Biologist level 90
	71107, // Biologist level 92
	71105 // Biologist level 94
};	
							
/*********
* From here you can change the probability chance to succeed when you send an object biologist. 
* If you do not own the object 71035 in inventory then the chance of probability will be random between 60 and 100, 
* and if you held your inventory item 71035 then the chance of probability will be increased to 90, which means that the chance will be between 90 and 100, which what a great success. (default is like official)
*/	
int pTablePercentage[3]	=
{
	71035, // Vnum item 
	60, // Actual chance, if you not have the item in inventory 71035
	95 // The chance probability automatically if you change the item in inventory 71035. (all like official)
};	
	
/*********
* From here you can change how many objects the maximum result for a mission. (default is like official)
*/											
int pTableCountMax[10] =
{
	10, // Biologist level 30
	15, // Biologist level 40
	15, // Biologist level 50
	20, // Biologist level 60
	25, // Biologist level 70
	30, // Biologist level 80
	40, // Biologist level 85
	50, // Biologist level 90
	10, // Biologist level 92
	20 // Biologist level 94
};

/*********
* From here you can change the levels missions at what level you want to start each mission. (default is like official)
*/										
int pTableLevel[10]	=
{
	30, // Biologist level 30
	40, // Biologist level 40
	50, // Biologist level 50
	60, // Biologist level 60
	70, // Biologist level 70
	80, // Biologist level 80
	85, // Biologist level 85
	90, // Biologist level 90
	92, // Biologist level 92
	94 // Biologist level 94
};

/*********
* From here you can change the volume of any items that are needed to achieve mission. (default is like official)
*/	
int pTableVnum[10] =
{
	30006, // Biologist level 30
	30047, // Biologist level 40
	30015, // Biologist level 50
	30050, // Biologist level 60
	30165, // Biologist level 70
	30166, // Biologist level 80
	30167, // Biologist level 85
	30168, // Biologist level 90
	30251, // Biologist level 92
	30252 // Biologist level 94
};

/*********
* From here change the timeout and how long until you can give another object biologist system. (default is like official)
*/

//#define ENABLE_TEST_SERVER_BIOLOG
#define ENABLE_DEFAULT_BIOLOG
#ifdef ENABLE_DEFAULT_BIOLOG
int pTableTime[10] =
{ 
	60*1, // Biologist level 30	//10minute
	60*1, // Biologist level 40	//10minute
	60*1, // Biologist level 50	//10minute
	60*1, // Biologist level 60	//10minute
	60*1, // Biologist level 70	//10minute
	60*1, // Biologist level 80	//10minute
	60*1, // Biologist level 85	//30minute
	60*30, // Biologist level 90	//30minute
	60*30, // Biologist level 92	//90minute
	60*30 // Biologist level 94 	//90minute
}; 
#endif
#ifdef ENABLE_TEST_SERVER_BIOLOG
int pTableTime[10] =
{
	60*1, // Biologist level 30	//10minute
	60*1, // Biologist level 40	//10minute
	60*1, // Biologist level 50	//10minute
	60*1, // Biologist level 60	//10minute
	60*1, // Biologist level 70	//10minute
	60*1, // Biologist level 80	//10minute
	60*1, // Biologist level 85	//30minute
	60*1, // Biologist level 90	//30minute
	60*1, // Biologist level 92	//90minute
	60*1 // Biologist level 94 	//90minute
};
#endif
/*********
* From here change the timeout for time durating all bonus of biolog
*/
int unlimited = 60*60*60*365;
Avatar utilizator
Ene
Nivel 8

Nivel 8
Mesaje: 1659
Membru din: 09 Sep 2016, 01:00
Server: Clasic
Regat: Jinno
Aprecieri: 274  
Mulţumiri: 603  
  Rezolvări prob.: 2
Discord: Copiază ID
Medalii


=============
dacă răspunsul meu te-a ajutat nu uita butonul LIKE



Imagine
Afișează semnătura
Avatar utilizator
Daishinkan
Nivel 1

Nivel 1
Mesaje: 120
Membru din: 14 Ian 2018, 13:30
Aprecieri: 56  
Mulţumiri: 156  
Medalii

60*1 modifica cu 60*10 ptr 10 minute
Pentru acest mesaj, Daishinkan for the post:
rosha25
Imagine

 ! Mesaj de la: Daishinkan
#DaiShinKanWork
Afișează semnătura
Avatar utilizator
rosha25
Nou Venit

Nou Venit
Mesaje: 26
Membru din: 16 Iun 2014, 19:44
Server: metin2.es
Regat: Jinno
Aprecieri: 72  
Mulţumiri: 1  
Medalii

Daishinkan scrie:60*1 modifica cu 60*10 ptr 10 minute
ms incer acum si revin cu rezultatul
Avatar utilizator
rosha25
Nou Venit

Nou Venit
Mesaje: 26
Membru din: 16 Iun 2014, 19:44
Server: metin2.es
Regat: Jinno
Aprecieri: 72  
Mulţumiri: 1  
Medalii

Ms mult.... rezolvat
Avatar utilizator
Filipino
Metin Master

Metin Master
Mesaje: 2789
Membru din: 03 Sep 2014, 21:02
Server: ▬▬▬▬▬▬
Aprecieri: 39  
Mulţumiri: 785  
Discord: Copiază ID
Medalii

rezolvat
Imagine
Afișează semnătura
Închis
Răspunsuri
0
Vizualizări
178
Răspunsuri
2
Vizualizări
178
Răspunsuri
8
Vizualizări
594
Răspunsuri
2
Vizualizări
167

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 66 vizitatori