Jump to content
  • 0

Need help on permanent status (possible bug?)


Da Qiao

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  05/23/16
  • Last Seen:  

Hello,
So I want to make a custom item with this script

if( Class==Job_High_Priest ) { bonus bHealPower,30; skill "AL_HEAL",20; skill "AL_BLESSING",20; }

 

It works perfectly. But then I want to add permanent assumptio status for it, so

 

if( Class==Job_High_Priest ) { bonus bHealPower,30; skill "AL_HEAL",20; skill "AL_BLESSING",20; sc_start SC_ASSUMPTIO,-1,5; }

 

Then, the assumptio status change applied. But only the bHealPower bonus works, those skill add scripts (AL_HEAL, AL_BLESSING) didnt, AND my MAX HP dropped to about 40% (from 55k to 20k).

 

Im using latest (master) rathena version with client 20151104 and pre-renewal mode.

Question:
- Is my 2nd script correct? If not, please correct me.

- If it's correct, so is this a bug? Is there any other way to achieve my demand?

Side question cause I dont wanna make another thread:
- Is there any script or way to check my equipped weapon type? So I can make a condition (i.e if equipped weapon is 1h or 2h spear type then add spear skills for user).

Edited by Da Qiao
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  57
  • Reputation:   5
  • Joined:  11/19/13
  • Last Seen:  

Hello,

So I want to make a custom item with this script

if( Class==Job_High_Priest ) { bonus bHealPower,30; skill "AL_HEAL",20; skill "AL_BLESSING",20; }

 

It works perfectly. But then I want to add permanent assumptio status for it, so

 

if( Class==Job_High_Priest ) { bonus bHealPower,30; skill "AL_HEAL",20; skill "AL_BLESSING",20; sc_start SC_ASSUMPTIO,-1,5; }

 

Then, the assumptio status change applied. But only the bHealPower bonus works, those skill add scripts (AL_HEAL, AL_BLESSING) didnt, AND my MAX HP dropped to about 40% (from 55k to 20k).

 

Im using latest (master) rathena version with client 20151104 and pre-renewal mode.

Question:

- Is my 2nd script correct? If not, please correct me.

- If it's correct, so is this a bug? Is there any other way to achieve my demand?

Side question cause I dont wanna make another thread:

- Is there any script or way to check my equipped weapon type? So I can make a condition (i.e if equipped weapon is 1h or 2h spear type then add spear skills for user).

 

the structure of the script is { Script },{ OnEquip_Script },{ OnUnequip_Script }

 

im not really sure...but you can try this

{ if( Class==Job_High_Priest ) { bonus bHealPower,30; skill "AL_HEAL",20; skill "AL_BLESSING",20; } },{ skilleffect "AL_ASSUMPTIO",0; sc_start SC_ASSUMPTIO,-1,5; },{ sc_end SC_ASSUMPTIO; }
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  


if( Class==Job_High_Priest ) { bonus bHealPower,30; skill 28,10,1; skill 34,10,1; sc_start SC_ASSUMPTIO,-1,5; }

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  05/23/16
  • Last Seen:  

if( Class==Job_High_Priest ) { bonus bHealPower,30; skill 28,10,1; skill 34,10,1; sc_start SC_ASSUMPTIO,-1,5; }

Sorry for late reply but this doesnt work. /shy

 

Hello,

So I want to make a custom item with this script

if( Class==Job_High_Priest ) { bonus bHealPower,30; skill "AL_HEAL",20; skill "AL_BLESSING",20; }

 

It works perfectly. But then I want to add permanent assumptio status for it, so

 

if( Class==Job_High_Priest ) { bonus bHealPower,30; skill "AL_HEAL",20; skill "AL_BLESSING",20; sc_start SC_ASSUMPTIO,-1,5; }

 

Then, the assumptio status change applied. But only the bHealPower bonus works, those skill add scripts (AL_HEAL, AL_BLESSING) didnt, AND my MAX HP dropped to about 40% (from 55k to 20k).

 

Im using latest (master) rathena version with client 20151104 and pre-renewal mode.

Question:

- Is my 2nd script correct? If not, please correct me.

- If it's correct, so is this a bug? Is there any other way to achieve my demand?

Side question cause I dont wanna make another thread:

- Is there any script or way to check my equipped weapon type? So I can make a condition (i.e if equipped weapon is 1h or 2h spear type then add spear skills for user).

 

the structure of the script is { Script },{ OnEquip_Script },{ OnUnequip_Script }

 

im not really sure...but you can try this

{ if( Class==Job_High_Priest ) { bonus bHealPower,30; skill "AL_HEAL",20; skill "AL_BLESSING",20; } },{ skilleffect "AL_ASSUMPTIO",0; sc_start SC_ASSUMPTIO,-1,5; },{ sc_end SC_ASSUMPTIO; }

Yep, this one works, thank you so much!   /thx

Edited by Da Qiao
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...