Jump to content
  • 0

what's wrong w/ this script?


RN1986

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

here's the script

{bonus bAllStats,2; bonus2 bResEff,Eff_Freeze,10000; if(isequipped(2433,2537)) { bonus2 bSubEle,Ele_Water,-15000 bonus2 bSubEle,Ele_Earth,15000; bonus2 bSubEle,Ele_Fire,15000; bonus2 bSubEle,Ele_Wind,15000; bonus2 bSubEle,Ele_Poison,15000; bonus2 bSubEle,Ele_Holy,15000; bonus2 bSubEle,Ele_Dark,15000; bonus2 bSubEle,Ele_Ghost,15000; bonus2 bSubEle,Ele_Undead,15000; },{},{}

what i wanna do is a 15%resistance to all magic w/ the set of 3 items.... when equipped.

Btw am using pre-re...

anyone? thanks

Edited by RN1986
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  113
  • Reputation:   5
  • Joined:  06/06/12
  • Last Seen:  

{bonus bAllStats,2; if(isequipped(2433,2537)) {bonus2 bSubEle,Ele_Water,15; bonus2 bSubEle,Ele_Earth,15; bonus2 bSubEle,Ele_Fire,15; bonus2 bSubEle,Ele_Wind,15; bonus2 bSubEle,Ele_Poison,15; bonus2 bSubEle,Ele_Holy,15; bonus2 bSubEle,Ele_Dark,15; bonus2 bSubEle,Ele_Ghost,15; bonus2 bSubEle,Ele_Undead,15;bonus2 bResEff,Eff_Freeze,15;}},{},{}

you can remove bonus bAllStats,2; if you dont want them to get any +2 to all stats. and just have 15% resistance.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

{bonus bAllStats,2; bonus2 bResEff,Eff_Freeze,10000; if(isequipped(2433,2537)) { bonus2 bSubEle,Ele_Water,-15000 bonus2 bSubEle,Ele_Earth,15000; bonus2 bSubEle,Ele_Fire,15000; bonus2 bSubEle,Ele_Wind,15000; bonus2 bSubEle,Ele_Poison,15000; bonus2 bSubEle,Ele_Holy,15000; bonus2 bSubEle,Ele_Dark,15000; bonus2 bSubEle,Ele_Ghost,15000; bonus2 bSubEle,Ele_Undead,15000; },{},{}

how about the 100%resistance to freeze? w/ Diabolus Armor [1] [Body] Item ID# 2375?? will it work w/ this? or do i rili need to removed it?

2375=100% resist to freeze + when i equip 2433 and 2537 = resistance to all magic of 15% :)

Edited by RN1986
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

add this script on item 2375

if(isequipped(2433,2534)) { bonus2 bResEff,Eff_Freeze,10000; bonus bNoMagicDamage,15; }

you can replace also

bonus bNoMagicDamage,15;

with

bonus bMagicAtkDef,15; 

idk which of the two works best, both of them resist 15% magic

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

Actually:

 bonus bNoMagicDamage,x;

X doesn't matter as it will block all magical effects, including supportive skills, healing, etc. (Like the Golden Thief Bug Card) That's why

bMagicAtkDef,15;

is a must if you just want to resist and not nullify.

Edited by Joey
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

Actually:

bonus bNoMagicDamage,x;

X doesn't matter as it will block all magical effects, including supportive skills, healing, etc. (Like the Golden Thief Bug Card) That's why

not really, putting variable on "x" has effect and it will not block supportive skills unless you set gtb_sc_immunity: to 15 or lower @ conf since we use

bonus bNoMagicDamage,15;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

thanks joey :)

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