Jump to content
  • 0

item instacast


Question

17 answers to this question

Recommended Posts

Posted

don't forget to include this one

bonus bFixedCastrate,-100;

id,Weapon,Weapon,4,20,,3500,200,,1,1,0x000xxx,2,2,34,4,55,1,3,{ if(readparam(bDex) == 140) bonus bVariableCastrate,-100;bonus bFixedCastrate,-100; },{},{}

:meow:

Posted (edited)

don't forget to include this one

bonus bFixedCastrate,-100;

id,Weapon,Weapon,4,20,,3500,200,,1,1,0x000xxx,2,2,34,4,55,1,3,{ if(readparam(bDex) == 140) bonus bVariableCastrate,-100;bonus bFixedCastrate,-100; },{},{}

:meow:

bonus bVariableCastrate,-100;bonus bFixedCastrate,-100; < this works fine but!...

when i add this if(readparam(bDex) == 140) << it doesn't work

Edited by doommap
Posted

That's because you didn't add brackets to the conditional.

if (readparam(bDex) >= 140 && Upper == 1) { bonus bVariableCastrate,-100; bonus bFixedCastrate,-100; }

Upper - 0 if the character is a normal class, 1 if advanced, 2 if baby.
Posted

That's because you didn't add brackets to the conditional.

if (readparam(bDex) >= 140 && Upper == 1) { bonus bVariableCastrate,-100; bonus bFixedCastrate,-100; }

Upper - 0 if the character is a normal class, 1 if advanced, 2 if baby.

it works perfectly!

but i have a follow up question, well were talking about base dex here, is it possible too that the additional dex can do insta cast too?

like Base dex - 130, with a buff of blessing +10 is equals to 140 total Dex is that possible too?

Posted

Afaik there is no way to retrieve actual stat values via script, just the base values. It shouldn't be too large of a source edit to return actual values, though.

Posted

Afaik there is no way to retrieve actual stat values via script, just the base values. It shouldn't be too large of a source edit to return actual values, though.

ok well i have to figure out different methods btw THANKYOU FOR ALL YOUR HELP GUYS

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...