Damage Reduction doesn't work anymore

Keru

New member
Messages
30
Points
0
Emulator
Hello,

currently we have a big problem on our server which is that every item with item script bsubrace, bsubele and bsubsize doesn't have any effect. The opposite effects like baddrace are working fine.

I have testet it with following items: Thara Frog Card(in pvp and vs monsters), alice card, tirfing card, raydric card and deviling card. They are all not working.

Hydra cards for example are working fine and elemental armors also working fine for element damage reduce.

On my map server i get the following warning: [Warning]: pc_bonus2: unknown type 0 7 10

It seems that it have something to do with it.

I don't have any clue where to look after this error or what I've done wrong to mess this up.

 
Hello,

currently we have a big problem on our server which is that every item with item script bsubrace, bsubele and bsubsize doesn't have any effect. The opposite effects like baddrace are working fine.

I have testet it with following items: Thara Frog Card(in pvp and vs monsters), alice card, tirfing card, raydric card and deviling card. They are all not working.

Hydra cards for example are working fine and elemental armors also working fine for element damage reduce.

On my map server i get the following warning: [Warning]: pc_bonus2: unknown type 0 7 10

It seems that it have something to do with it.

I don't have any clue where to look after this error or what I've done wrong to mess this up.
0 - constant not foundI think they are case sensitive (and you probably typo at some word)

bSubRace

bSubEle

bSubSize

 
Thanks for your fast answer!

I didn't changed the const.txt. They are still:

bSubEle  1010
bSubRace  1011

bSubSize  2026

For item editing I'm using the Server Database Editor by Tokeiburu and I din't changed items like Thara Frog Card, so I'm pretty sure there are no typo's.

Do you have any other idea what went wrong?

 
Thanks for your fast answer!

I didn't changed the const.txt. They are still:

bSubEle  1010

bSubRace  1011

bSubSize  2026

For item editing I'm using the Server Database Editor by Tokeiburu and I din't changed items like Thara Frog Card, so I'm pretty sure there are no typo's.

Do you have any other idea what went wrong?
Can you post the item script , so we can get to know if something is wrong on item_db
 
This is the item script for Thara Frog Card: (nothing changed here)

{
 Id: 4058
 AegisName: "Thara_Frog_Card"
 Name: "Thara Frog Card"
 Type: 6
 Buy: 20
 Weight: 10
 Loc: 32
 Script: <" bonus2 bSubRace,RC_DemiHuman,30; ">
},
 

And this is the Alice Card where i changed the RC_Boss to 10 for testing:

{
 Id: 4253
 AegisName: "Alice_Card"
 Name: "Alice Card"
 Type: 6
 Buy: 20
 Weight: 10
 Loc: 32
 Script: <"
   bonus2 bSubRace,10,40;
   bonus2 bSubRace,10,-40;
 ">
},
 

Both cards have no effect.

 
If using renewal, you should use bonus named

bAddRaceTolerance

Instead of bSubRace

 
I'm using pre-renewal.

But i have tested bAddRaceTolerance now and its also not working for the Alice Card.

 
@@malufett

Maybe this is related to your AddRaceTolerance commit?

 
@@malufett

Maybe this is related to your AddRaceTolerance commit?
nah..I didn't touch it, I only add new item script..anyway I'll investigate...

Update: after checking I don't find something unusual..its working fine..

@@Dogpatch and @@Keru

what revision are you using?

default_ani_meow.gif


 
Last edited by a moderator:
Problem got solved for me by updating to newest revision yesterday.

My version before was from march so i don't know what was changed to fix this.

 
Last edited by a moderator:
Updated to latest revision today and I'm still having the same problem. Even with Asprika. It's not reducing any elements.

 
Back
Top