Jump to content
  • 0

script effects


Mr BrycE

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

hi

{ bonus bDex,8; bonus bAgi,-3; bonus bStr,5; bonus bLuk,10; bonus bInt,8; bonus bLongAtkDef,20; bonus bHit,50; bonus3 bAddEff,Eff_Bleeding,100,ATF_SHORT; bonus3 bAutoSpell,"PR_LEXAETERNA",1,80; bonus bMaxHPrate,10; bonus bMaxSPrate,10; bonus2 bAddRace,RC_DemiHuman,3; bonus bAspdRate,100; bonus bDelayRate,-15; bonus bBaseAtk,10; if(BaseJob == Job_Thief) bonus2 bSubRace,RC_DemiHuman,-12; },{},{}

Im having trouble with this script

the bDex ang agi are working so that means the scripts after them must work right?

but this " if(BaseJob == Job_Thief) bonus2 bSubRace,RC_DemiHuman,-12;" is something wrong with tha script? i think its not working because i try changing it to -100 and they sinx's must be dead with 1 asura right? but the damage is still the same with or w/o the equipment

Edited by Mr BrycE
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

how about changing

if(Class == Job_Thief)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

ok, ill try it.

EDIT: Same, nothing happend, the dmage is not changing, i try changit it to 100 also, but still nothing

Solved

another EDIT : the equals must have no space xD

if(BaseClass==Job_Thief)

Edited by Mr BrycE
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

That's very weird to have zero spaces between an equal sign when comparing the base class. I'm gonna try and experiment other combinations of this since I'm currently making a massive class comparison script for an item.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

im using eathena

at 1st i copy it from an item(diadem crown) i think?

then thats why i seek help here, then i look to ratemyserver for valkyrie manteau script then i found the no space, so i try it then worked.

by the way what's the difference with no space to a spaced equals ?

Edited by Mr BrycE
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

Example

{ bonus bAgi,1; if(Class == Job_Thief) bonus bAspdRate,3; },{},{}
bonus2 bSubRace,7,x;
bonus2 bSubRace,n,x; +x% damage reduction against race n n: 0=Formless, 1=Undead, 2=Brute, 3=Plant, 4=Insect, 5=Fish, 6=Demon, 7=Demi-Human, 8=Angel, 9=Dragon, 10=Boss monster, 11=Other than (normal monster) boss

check here

http://eathena-project.googlecode.com/svn/trunk/doc/item_bonus.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

1st : I'd suggest you to use the rAthena Emulator,since eAthena is almost dead(that's just my opinion,but check the board,there are no Updates/Topics,like here on rAthena,which get posted daily.),since rAthena has a really professional Staff,who is working on the emulator.

2nd : For all item effects check out your Server Folder/doc/item_bonus.txt or check the one of rAthena here : https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/item_bonus.txt

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...