Jump to content
  • 0
Sign in to follow this  
Hytech

Kiel Card Effect on Certain Skill?

Question

1 answer to this question

Recommended Posts

  • 0

not really sure, why its in this itembonus group i cant say, but i dont see why its not possible, i just cant using itembonus

 

here 

pc.c

		case SP_DELAYRATE:
			if(sd->state.lr_flag != 2)
				sd->delayrate+=val;
			break;

and if you try to copy it to a itembonus2 script that has leveled i just get the pointer must be to object error

noticable difference is that lr_flag != 2 in the sp_delayrate script and the ones with skills names ==2 then break..

ok now the ones with skill names use this section in

script.c

	case SP_AUTOSPELL:
		case SP_AUTOSPELL_WHENHIT:
		case SP_AUTOSPELL_ONSKILL:
		case SP_SKILL_ATK:
		case SP_SKILL_HEAL:
		case SP_SKILL_HEAL2:
		case SP_ADD_SKILL_BLOW:
		case SP_CASTRATE:
		case SP_ADDEFF_ONSKILL:
		case SP_SKILL_USE_SP_RATE:
		case SP_SKILL_COOLDOWN:
		case SP_SKILL_FIXEDCAST:
		case SP_SKILL_VARIABLECAST:
		case SP_VARCASTRATE:
		case SP_FIXCASTRATE:
		case SP_SKILL_USE_SP:
			// these bonuses support skill names
			if (script_isstringtype(st, 3)) {
				val1 = skill->name2id(script_getstr(st, 3));
				break;

 

 

sorry im useless :otl:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.