Jump to content
  • 0

About SURA's skill Gates of Hell


Gidz Cross

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

Hi rathena peeps. How can i edit the Gates of Hell skill that is forced to neutral property? I tried changing it via skill_db.txt but it doesnt work. So maybe its source edit? Thanks!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.02
  • Content Count:  267
  • Reputation:   40
  • Joined:  01/19/17
  • Last Seen:  

In battle.cpp find the line 

	//Elemental attribute fix
	if(!nk[NK_IGNOREELEMENT]) {

under it there's

			switch( skill_id ) {
				case MC_CARTREVOLUTION:
				case SR_GATEOFHELL:
				case SR_TIGERCANNON:
				case KO_BAKURETSU:
				//case NC_MAGMA_ERUPTION:
					//Forced to neutral element
					wd->damage = battle_attr_fix(src, target, wd->damage, ELE_NEUTRAL, tstatus->def_ele, tstatus->ele_lv);
					break;

comment the "case SR_GATEOFHELL"

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   76
  • Joined:  06/13/13
  • Last Seen:  

did you tried to remove the Element type said in skill db yml files?

#   Element:                  Skill element. (Default: Neutral)

ref for old type db txt: 

imo it should hold the same method, just make it neutral

  - Id: 2343
    Name: SR_GATEOFHELL
    Description: Gate of Hell
    MaxLevel: 10
    Type: Weapon
    TargetType: Attack
    Range: 7
    Hit: Multi_Hit
    HitCount: -7
    Element: Neutral
    CopyFlags:
      Skill:
        Reproduce: true
    CastCancel: true
    CastTime:
      - Level: 1
        Time: 1000
      - Level: 2
        Time: 1200
      - Level: 3
        Time: 1400
      - Level: 4
        Time: 1600
      - Level: 5
        Time: 1800
      - Level: 6
        Time: 2000
      - Level: 7
        Time: 2200
      - Level: 8
        Time: 2400
      - Level: 9
        Time: 2600
      - Level: 10
        Time: 2800
    AfterCastActDelay:
      - Level: 1
        Time: 100
      - Level: 2
        Time: 200
      - Level: 3
        Time: 300
      - Level: 4
        Time: 400
      - Level: 5
        Time: 500
      - Level: 6
        Time: 600
      - Level: 7
        Time: 700
      - Level: 8
        Time: 800
      - Level: 9
        Time: 900
      - Level: 10
        Time: 1000
    Requires:
      SpCost: 100
      SpiritSphereCost: 2

 

 

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.03
  • Content Count:  640
  • Reputation:   82
  • Joined:  04/07/14
  • Last Seen:  

12 hours ago, Litro Endemic said:

did you tried to remove the Element type said in skill db yml files?


#   Element:                  Skill element. (Default: Neutral)

ref for old type db txt: 

imo it should hold the same method, just make it neutral


  - Id: 2343
    Name: SR_GATEOFHELL
    Description: Gate of Hell
    MaxLevel: 10
    Type: Weapon
    TargetType: Attack
    Range: 7
    Hit: Multi_Hit
    HitCount: -7
    Element: Neutral
    CopyFlags:
      Skill:
        Reproduce: true
    CastCancel: true
    CastTime:
      - Level: 1
        Time: 1000
      - Level: 2
        Time: 1200
      - Level: 3
        Time: 1400
      - Level: 4
        Time: 1600
      - Level: 5
        Time: 1800
      - Level: 6
        Time: 2000
      - Level: 7
        Time: 2200
      - Level: 8
        Time: 2400
      - Level: 9
        Time: 2600
      - Level: 10
        Time: 2800
    AfterCastActDelay:
      - Level: 1
        Time: 100
      - Level: 2
        Time: 200
      - Level: 3
        Time: 300
      - Level: 4
        Time: 400
      - Level: 5
        Time: 500
      - Level: 6
        Time: 600
      - Level: 7
        Time: 700
      - Level: 8
        Time: 800
      - Level: 9
        Time: 900
      - Level: 10
        Time: 1000
    Requires:
      SpCost: 100
      SpiritSphereCost: 2

 

 

 

Yes i did as stated in my post. But it seems still OP so im gonna nerf it instead.

 

19 hours ago, Foob said:

In battle.cpp find the line 


	//Elemental attribute fix
	if(!nk[NK_IGNOREELEMENT]) {

under it there's


			switch( skill_id ) {
				case MC_CARTREVOLUTION:
				case SR_GATEOFHELL:
				case SR_TIGERCANNON:
				case KO_BAKURETSU:
				//case NC_MAGMA_ERUPTION:
					//Forced to neutral element
					wd->damage = battle_attr_fix(src, target, wd->damage, ELE_NEUTRAL, tstatus->def_ele, tstatus->ele_lv);
					break;

comment the "case SR_GATEOFHELL"

 

Will try this too. Thanks mates!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...