Jump to content
  • 0

bonus bDefEle,Ele_Ghost; and bonus2 bSubEle,Ele_Ghost,100; are the same?


donkeyg

Question


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

bonus bDefEle,Ele_Ghost; and bonus2 bSubEle,Ele_Ghost,100; are the same? are the same?

Link to comment
Share on other sites

10 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  


bonus2 bSubEle,e,x; +x% damage reduction against element e


bonus bDefEle,e; Gives the player's defense element e

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

no its not

bDefEle,Ele_Ghost;

used in ghostring card

and its known that ghostring card making the player turn into ghost elemental armor

rathena\db\re\attr-fix.txt

1	// lv1 Attribute table
//Neut Watr Erth Fire Wind Pois Holy Shdw Gho  Und
  100, 100, 100, 100, 100, 100, 100, 100,  70, 100,  // Neutral
  100,  25, 100, 150,  90, 100,  75, 100, 100, 100,  // Water
  100, 100,  25,  90, 150, 100,  75, 100, 100, 100,  // Earth
  100,  90, 150,  25, 100, 100,  75, 100, 100, 125,  // Fire
  100, 175,  90, 100,  25, 100,  75, 100, 100, 100,  // Wind
  100, 100, 125, 125, 125,   0,  75,  50, 100, -25,  // Poison
  100, 100, 100, 100, 100, 100,   0, 125, 100, 150,  // Holy
  100, 100, 100, 100, 100,  50, 125,   0, 100, -25,  // Shadow
   70, 100, 100, 100, 100, 100,  75,  75, 125, 100,  // Ghost <-----
  100, 100, 100, 100, 100,  50, 100,   0, 100,   0,  // Undead
non-elemental damage deals only 70% damage to ghost element armor

and ghost element attack (example soul strike) deal 125% damage to ghost element armor

also means, if the player hit by soul strike

bDefEle,Ele_Ghost; <-- you'll take 25% damage increase

bSubEle,Ele_Ghost,100; <-- you'll take only 1 damage ( tested )

Edited by AnnieRuru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

O.o, I didn't think a further explaining was needed :/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

no its not

bDefEle,Ele_Ghost;

used in ghostring card

and its known that ghostring card making the player turn into ghost elemental armor

rathena\db\re\attr-fix.txt

1	// lv1 Attribute table
//Neut Watr Erth Fire Wind Pois Holy Shdw Gho  Und
  100, 100, 100, 100, 100, 100, 100, 100,  70, 100,  // Neutral
  100,  25, 100, 150,  90, 100,  75, 100, 100, 100,  // Water
  100, 100,  25,  90, 150, 100,  75, 100, 100, 100,  // Earth
  100,  90, 150,  25, 100, 100,  75, 100, 100, 125,  // Fire
  100, 175,  90, 100,  25, 100,  75, 100, 100, 100,  // Wind
  100, 100, 125, 125, 125,   0,  75,  50, 100, -25,  // Poison
  100, 100, 100, 100, 100, 100,   0, 125, 100, 150,  // Holy
  100, 100, 100, 100, 100,  50, 125,   0, 100, -25,  // Shadow
   70, 100, 100, 100, 100, 100,  75,  75, 125, 100,  // Ghost <-----
  100, 100, 100, 100, 100,  50, 100,   0, 100,   0,  // Undead
non-elemental damage deals only 70% damage to ghost element armor

and ghost element attack (example soul strike) deal 125% damage to ghost element armor

also means, if the player hit by soul strike

bDefEle,Ele_Ghost; <-- you'll take 25% damage increase

bSubEle,Ele_Ghost,100; <-- you'll take only 1 damage ( tested )

 

 

bonus2 bSubEle,e,x;       		+x% damage reduction against element e
bonus bDefEle,e;          		Gives the player's defense element e

Thanks for the explanation!! btw how do i make non-elemental damage deals 80% damage to ghost element armor?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

//Neut Watr Erth Fire Wind Pois Holy Shdw Gho  Und
   70, 100, 100, 100, 100, 100,  75,  75, 125, 100,  // Ghost <-----

Just change the value to what you want. Right now, it's 70% dmg. *Note - This affects all Ghost Lvl 1 type monsters as well.*

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

I think he's talking about non-elemental damage from monsters that can't be reduced with elemental armor at all, not neutral damage.

Unfortunately, there is no easy way to add a bonus for that.

Maybe the setting in battle.conf helps:

// Note 3: Value is a bit field. If no description is given,

// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary)

// For those who is set, their innate attack element is "not elemental"

// (100% versus on all defense-elements) (Note 3)

// NOTE: This is the setting that makes it so non-players can hit for full

// damage against Ghost-type targets with normal attacks (eg: vs. Ghostring).

attack_attr_none: 14

If you set this to for example "13" then monsters should no longer be doing non-elemental damage but rather neutral damage and the normal rules for neutral damage reduction applies. But that's -30% for renewal and -75% for pre-renewal by default, so you'll have to change the elemental table to 80% as explained above.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

//Neut Watr Erth Fire Wind Pois Holy Shdw Gho  Und
   70, 100, 100, 100, 100, 100,  75,  75, 125, 100,  // Ghost <-----

Just change the value to what you want. Right now, it's 70% dmg. *Note - This affects all Ghost Lvl 1 type monsters as well.*

 

 

I think he's talking about non-elemental damage from monsters that can't be reduced with elemental armor at all, not neutral damage.

Unfortunately, there is no easy way to add a bonus for that.

Maybe the setting in battle.conf helps:

// Note 3: Value is a bit field. If no description is given,

// assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun, 16: Mercenary)

// For those who is set, their innate attack element is "not elemental"

// (100% versus on all defense-elements) (Note 3)

// NOTE: This is the setting that makes it so non-players can hit for full

// damage against Ghost-type targets with normal attacks (eg: vs. Ghostring).

attack_attr_none: 14

If you set this to for example "13" then monsters should no longer be doing non-elemental damage but rather neutral damage and the normal rules for neutral damage reduction applies. But that's -30% for renewal and -75% for pre-renewal by default, so you'll have to change the elemental table to 80% as explained above.

 

hmm i couldnt find "70" this number in my txt.. this is my file

 

// Elemental Attribute Damage Adjustment Tables
//
// Structure of Database:
// Columns - attacker's weapon element
// Rows - target's defense element

1,10    // lv1 Attribute table
//Neut Watr Erth Fire Wind Pois Holy Shdw Gho Und
100, 100, 100, 100, 100, 100, 100, 100, 25, 100, // Neutral
100, 25, 100, 150, 50, 100, 75, 100, 100, 100, // Water
100, 100, 100, 50, 150, 100, 75, 100, 100, 100, // Earth
100, 50, 150, 25, 100, 100, 75, 100, 100, 125, // Fire
100, 175, 50, 100, 25, 100, 75, 100, 100, 100, // Wind
100, 100, 125, 125, 125, 0, 75, 50, 100, -25, // Poison
100, 100, 100, 100, 100, 100, 0, 125, 100, 150, // Holy
100, 100, 100, 100, 100, 50, 125, 0, 100, -25, // Shadow
25, 100, 100, 100, 100, 100, 75, 75, 125, 100, // Ghost
100, 100, 100, 100, 100, 50, 100, 0, 100, 0, // Undead

2,10    // lv2 Attribute table
//Neut Watr Erth Fire Wind Pois Holy Shdw Gho Und
100, 100, 100, 100, 100, 100, 100, 100, 25, 100, // Neutral
100, 0, 100, 175, 25, 100, 50, 75, 100, 100, // Water
100, 100, 50, 25, 175, 100, 50, 75, 100, 100, // Earth
100, 25, 175, 0, 100, 100, 50, 75, 100, 150, // Fire
100, 175, 25, 100, 0, 100, 50, 75, 100, 100, // Wind
100, 75, 125, 125, 125, 0, 50, 25, 75, -50, // Poison
100, 100, 100, 100, 100, 100, -25, 150, 100, 175, // Holy
100, 100, 100, 100, 100, 25, 150, -25, 100, -50, // Shadow
0, 75, 75, 75, 75, 75, 50, 50, 150, 125, // Ghost
100, 75, 75, 75, 75, 25, 125, 0, 100, 0, // Undead

3,10    // lv3 Attribute table
//Neut Watr Erth Fire Wind Pois Holy Shdw Gho Und
100, 100, 100, 100, 100, 100, 100, 100, 0, 100, // Neutral
100, -25, 100, 200, 0, 100, 25, 50, 100, 125, // Water
100, 100, 0, 0, 200, 100, 25, 50, 100, 75, // Earth
100, 0, 200, -25, 100, 100, 25, 50, 100, 175, // Fire
100, 200, 0, 100, -25, 100, 25, 50, 100, 100, // Wind
100, 50, 100, 100, 100, 0, 25, 0, 50, -75, // Poison
100, 100, 100, 100, 100, 125, -50, 175, 100, 200, // Holy
100, 100, 100, 100, 100, 0, 175, -50, 100, -75, // Shadow
0, 50, 50, 50, 50, 50, 25, 25, 175, 150, // Ghost
100, 50, 50, 50, 50, 0, 150, 0, 100, 0, // Undead

4,10    // lv4 Attribute table
//Neut Watr Erth Fire Wind Pois Holy Shdw Gho Und
100, 100, 100, 100, 100, 100, 100, 100, 0, 100, // Neutral
100, -50, 100, 200, 0, 75, 0, 25, 100, 150, // Water
100, 100, -25, 0, 200, 75, 0, 25, 100, 50, // Earth
100, 0, 200, -50, 100, 75, 0, 25, 100, 200, // Fire
100, 200, 0, 100, -50, 75, 0, 25, 100, 100, // Wind
100, 25, 75, 75, 75, 0, 0, -25, 25,-100, // Poison
100, 75, 75, 75, 75, 125,-100, 200, 100, 200, // Holy
100, 75, 75, 75, 75, -25, 200,-100, 100,-100, // Shadow
0, 25, 25, 25, 25, 25, 0, 0, 200, 175, // Ghost
100, 25, 25, 25, 25, -25, 175, 0, 100, 0, // Undead
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Edit: Read Below. I didn't realize it was renewal table instead of pre-renewal.

Edited by GmOcean
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  790
  • Reputation:   225
  • Joined:  01/30/13
  • Last Seen:  

The coded table above was the renewal table. You're quoted table was the pre-renewal table. But same story for both.

Just find the lines that end with "//Ghost" and then you can define how much damage ghost element should take.

If you just care for Ghostring Card, then you just need to adjust the level 1 attribute table. Otherwises you need to update all levels.

If you want neutral damage to deal 80% damage to ghost elemental targets then you need to put an 80 on the first column in the ghost row.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  344
  • Topics Per Day:  0.08
  • Content Count:  1060
  • Reputation:   1
  • Joined:  02/13/12
  • Last Seen:  

1,10 // lv1 Attribute table
//Neut Watr Erth Fire Wind Pois Holy Shdw Gho  Und
  100, 100, 100, 100, 100, 100, 100, 100,  25, 100,  // Neutral
  100,  25, 100, 150,  50, 100,  75, 100, 100, 100,  // Water
  100, 100, 100,  50, 150, 100,  75, 100, 100, 100,  // Earth
  100,  50, 150,  25, 100, 100,  75, 100, 100, 125,  // Fire
  100, 175,  50, 100,  25, 100,  75, 100, 100, 100,  // Wind
  100, 100, 125, 125, 125,   0,  75,  50, 100, -25,  // Poison
  100, 100, 100, 100, 100, 100,   0, 125, 100, 150,  // Holy
  100, 100, 100, 100, 100,  50, 125,   0, 100, -25,  // Shadow
  50, 100, 100, 100, 100, 100,  75,  75, 125, 100,  // Ghost
  100, 100, 100, 100, 100,  50, 100,   0, 100,   0,  // Undead

i changed it to 50%.. but when i wear ghostring card and asura by player. the damage still same as the previous 20%... seems like never change.. anyone can help me?? i tried @reloadscript / restart server already.

im using pre-re version

Edited by donkeyg
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...