Jump to content
  • 0

Question

Posted (edited)

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

3 answers to this question

Recommended Posts

  • -1
Posted
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

  • 0
Posted
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.

  • 0
Posted

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;

 

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