Jump to content

Hunger

Premium
  • Posts

    356
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Posts posted by Hunger

  1. 13 minutes ago, Tatsumaru said:

    I also found something like that. Personally, I did not see it on official servers.

    giphy.webp

    giphy.webp

    giphy.webp

    We can't see what you are trying to show. 

  2. I have solved the problem myself, in case somebody is looking for the same thing, the resistances are applied in length.h in common folder.

    Basically the official servers absolutely cancelled the defence against arrows for monsters and they replaced them with the elemental bonuses so:

    You have them in length.h like this :

    enum
    {
    	SKILL_ATTR_TYPE_NORMAL = 1,
    	SKILL_ATTR_TYPE_MELEE,
    	SKILL_ATTR_TYPE_RANGE,
    	SKILL_ATTR_TYPE_MAGIC
    		/*
    		   SKILL_ATTR_TYPE_FIRE,
    		   SKILL_ATTR_TYPE_ICE,
    		   SKILL_ATTR_TYPE_ELEC,
    		   SKILL_ATTR_TYPE_DARK,
    		   */
    };

    And you need to comment RANGE which is the defence against arrows required by archers and enable the elemental which are commented.

    enum
    {
    	SKILL_ATTR_TYPE_NORMAL = 1,
    	SKILL_ATTR_TYPE_MELEE,
    	/* SKILL_ATTR_TYPE_RANGE, */
    	SKILL_ATTR_TYPE_MAGIC,
    	SKILL_ATTR_TYPE_FIRE,
    	SKILL_ATTR_TYPE_ICE,
    	SKILL_ATTR_TYPE_ELEC,
    	SKILL_ATTR_TYPE_DARK,
    };

    Please mind the comma after MAGIC.

     

    In char skill find the case below:

    			case SKILL_ATTR_TYPE_RANGE:
    			dt = DAMAGE_TYPE_RANGE;
    			iDam = iDam * (100 - pkChrVictim->GetPoint(POINT_RESIST_BOW)) / 100;
    			break;

    And comment :

    iDam = iDam * (100 - pkChrVictim->GetPoint(POINT_RESIST_BOW)) / 100;

    How the case should look like after:

    			case SKILL_ATTR_TYPE_RANGE:
    				dt = DAMAGE_TYPE_RANGE;
    				// 으아아아악
    				// 예전에 적용안했던 버그가 있어서 방어력 계산을 다시하면 유저가 난리남
    				//iDam -= pkChrVictim->GetPoint(POINT_DEF_GRADE);
    				//iDam = iDam * (100 - pkChrVictim->GetPoint(POINT_RESIST_BOW)) / 100;
    				break;

    Regards, Cara

    • Love 1
×
×
  • 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.