Jump to content
  • 0

Arrows don't work


anjasoleil1

Question


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/11/14
  • Last Seen:  

Hi, I'm not sure when, or why, or how. But arrow's (script) effect doesn't work for some reason. Am I missing something? Like if I add "bonus bStr,1000;" It doesn't work as it should. No errors

 

bonus bSplashRange,3; Works but...

bonus4 bAutoSpell,"WZ_STORMGUST",2,20,1; doesn't. any thoughts?

Edited by anjasoleil1
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  65
  • Reputation:   0
  • Joined:  05/11/14
  • Last Seen:  

3 hours ago, Nikky said:

Bonus STR for an Arrow?
i think that bonus only work for equipment

Hmm come to think of it, I could classify arrow as a weapon but is equipped to ammunition. Lemme try!

 

Nevermind, it still wont work. What's weird for me is that some scripts work, some don't.

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

you would have to remove the restriction any bonus to prevent the from having an effect on arrows
 

	case SP_AUTOSPELL: // bonus3 bAutoSpell,sk,y,n;
		if(sd->state.lr_flag != 2)
		{
			int target = skill_get_inf(type2); //Support or Self (non-auto-target) skills should pick self.
			target = target&INF_SUPPORT_SKILL || (target&INF_SELF_SKILL && !(skill_get_inf2(type2)&INF2_NO_TARGET_SELF));
			pc_bonus_autospell(sd->autospell, ARRAYLENGTH(sd->autospell),
				target?-type2:type2, type3, val, 0, current_equip_card_id);
		}
		break;

would need to be
 

	case SP_AUTOSPELL: // bonus3 bAutoSpell,sk,y,n;
		{
			int target = skill_get_inf(type2); //Support or Self (non-auto-target) skills should pick self.
			target = target&INF_SUPPORT_SKILL || (target&INF_SELF_SKILL && !(skill_get_inf2(type2)&INF2_NO_TARGET_SELF));
			pc_bonus_autospell(sd->autospell, ARRAYLENGTH(sd->autospell),
				target?-type2:type2, type3, val, 0, current_equip_card_id);
		}
		break;

 

Link to comment
Share on other sites

  • -1

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  10/21/13
  • Last Seen:  

4 hours ago, anjasoleil1 said:

Hi, I'm not sure when, or why, or how. But arrow's (script) effect doesn't work for some reason. Am I missing something? Like if I add "bonus bStr,1000;" It doesn't work as it should. No errors

 

bonus bSplashRange,3; Works but...

bonus4 bAutoSpell,"WZ_STORMGUST",2,20,1; doesn't. any thoughts?

Bonus STR for an Arrow?
i think that bonus only work for equipment

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