• 0
Sign in to follow this  
Followers 0
Hytech

Kiel Card Effect on Certain Skill?

Question

1 answer to this question

  • 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0