Jump to content

Kamol

Inactive Member
  • Posts

    40
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Kamol

  1. affect.h:

    // 1) Search: 

    AFFECT_CUBE_12,
    
     

    // 2) After make a new line and paste:

    ALIGNMENT_BONUS_1,
    ALIGNMENT_BONUS_2,
    
     

    Code for use:

    	#ifdef __ALIGNMENT_BONUS__ 
    	    if (GetRealAlignment() == NAME_ALIGNMENT_1)
    	    {
    	        AddAffect(ALIGNMENT_BONUS_1, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_1, 0, ALIGNMENT_TIME, 0, true);
    	    }
    	    if (GetRealAlignment() == NAME_ALIGNMENT_2)
    	    {
    	        AddAffect(ALIGNMENT_BONUS_2, POINT_MAX_HP, VALUE_BONUS_ALIGNMENT_2, 0, ALIGNMENT_TIME, 0, true);
    	    }
    	#endif
     service.h:
    
    	#define	__ALIGNMENT_BONUS__ 
    
    	#define	NAME_ALIGNMENT_1	100000
    	#define	NAME_ALIGNMENT_2	200000
    
    	#define ALIGNMENT_TIME (60*60*24*365)
    
    	#define	VALUE_BONUS_ALIGNMENT_1	1000
    	#define	VALUE_BONUS_ALIGNMENT_2	2000

     

    You can add code execution in input_login.cpp -> EnterGame

     

     

     

     

    Someone has a show of bonuses in uicharacter.py?

  2. 6 godzin temu, krokogames napisał:

     

    game.py

    self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM % lazim)

    change

    self.wndPopupDialog.SetText(localeInfo.ENVANTER_ANAH_LAZIM)

    and

    locale_game.txt

    ENVANTER_ANAH_LAZIM    You need %d more keys 

    change

    ENVANTER_ANAH_LAZIM    You need  more keys

     

    you need delete [%d] i have same problem with %d

    And how to make it show %d key

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.