Jump to content
  • 0

Quest Glastham Time Shoes Enchant [from kRO]


rosfus

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   3
  • Joined:  04/12/13
  • Last Seen:  

post-16516-0-70087200-1379253272_thumb.jpg

 

Time Shoes
ID:      22000~22011

 

post-16516-0-25334900-1379253282_thumb.jpg

 

Use
6608,Coagulated Spell
1st:    Enchet use   1 Coagulated Spell  [slot4]
2nd:   Enchet use   4 Coagulated Spell  [slot4]
3td:    Enchet use 15 Coagulated Spell  [slot4]
4th:    Enchet use 30 Coagulated Spell  [slot4]

Last:  Enchet use 10 Coagulated Spell  [slot3]

 

post-16516-0-60935300-1379253290_thumb.jpg

 

 

Player can choise 4 type include the following results:

 

NO.4 Slot

                           1st.                             2nd.                             3td.                            4th. 
Fighting Spirit:       Fighting Spirit4                    Fighting Spirit5                     Fighting Spirit6                   Fighting Spirit7
Expert Archer:        Expert Archer1                     Expert Archer2                      Expert Archer3                    Expert Archer4
Spell:                       Spell2                                   Spell3                                     Spell4                                   Spell5
VIT:                           VIT+2                                    VIT+3                                      MHP+1%                              MHP+2%
ASPD:                      ASPD1(ASPD+4%)            ASPD2(ASPD+6%)              ASPD3(ASPD+8%)            ASPD4(ASPD+10%)
LUK:                         LUK+3                                  LUK+4                                    LUK+5                                  LUK+6

 

 

When player second time enchent it is not change, but update.
EX. Fighting Spirit4 upto Fighting Spirit5

 

When player upto Fighting Spirit 7, It can enchent slot 3.


Slot3 just on chance. Following results:

 

NO.3 Slot
4875,Strength of Bear
4876,Reckless Magic
4877,Speed of Light
4878,Muscular Endurance
4879,Hawk Eye
4880,Lucky Day

 

EX:

post-16516-0-02351700-1379254332_thumb.jpg

 


All of this is too hard for me , Some one can help it?

 

function	script	glast_enchant_1	{
//Checks
	mes .npc$;
	mes "----------------------------";
	mes "我可以赋予你的时间之靴神秘的力量, 但这将花费你 "+.price1+" "+((.price1-1)?getitemname(.item)+"":getitemname(.item))+"."; next;
	if(!getequipisequiped(6)){mes .npc$; mes "----------------------------"; mes "对不起, 但你必须将您的时间之靴装备在脚上, 我们才能继续."; close;}
	set .@timeshoes,callfunc("timeshoes",getequipid(6));
	if(!.@timeshoes){mes .npc$; mes "----------------------------"; mes "我只能帮你附魔时间之靴."; close;}
	if(!countitem(.item)){ mes .npc$; mes "----------------------------"; mes "等你有了 "+getitemname(.item)+"再来找我吧."; close; }
	if(select("- 是:- 否")&2){ mes .npc$; mes "----------------------------"; mes "好的, 随时恭候!"; close; }
	if(countitem(.item)<.price1) { mes .npc$; mes "----------------------------"; mes "对不起, 你的 "+getitemname(.item)+"不够进行附魔, 请准备足够的材料再来."; close; }
	set .@check1, getequipid(6);
	if (countitem(.@check1) > 1) { mes .npc$; mes "----------------------------"; mes "看上去你背包里面有相同的时间之靴请先存放至仓库再来附魔."; close;}
	set .@check2, getequipid(6,3);
	if (countitem(.@check2) > 1) { mes .npc$; mes "----------------------------"; mes "您的时间之靴已经附魔过一次了, 继续附魔会清除原来的附魔结果. 如果需要升级请选择升级时间之靴附魔菜单."; close;}
	mes .npc$;

//Work 1st slot
	if(getequipid(6)+1) {
		delitem .item,.price;
		set .@id, getequipid(6);
		set .@ref, getequiprefinerycnt(6);
		set .@card1, getequipcardid(6,0);
		set .@card2, getequipcardid(6,1);
		set .@card3, getequipcardid(6,2);
		set .@card4, getequipcardid(6,3);
		delitem2 .@id,1,1,.@ref,0,.@card1,.@card2,.@card3,.@card4;
		getitem2 .@id,1,1,.@ref,0,.@card1,.@card2,.@card3,
			callfunc("F_Rand", 6,
				4808,4832,4814,4741,4869,4752
				);
		equip .@id;
		misceffect 154;
		mes "----------------------------"; mes "完成了!";
		close;
	}
	mes "对不起, 但你必须将您的时间之靴装备在脚上, 我们才能继续.";
	close;
}

function	script	glast_enchant_2	{

}

//NPC Constants
//=-=-=-=-=-=-=Configuration=-=-=-=-=-=-=
    OnInit:
        set .npc$, "[ ^336699时间的奖励^000000 ]";
        set .price1, 1;
		set .price2, 4;
		set .price3, 15;
		set .price4, 30;
		set .price4, 10;
        set .item, 6608;
		
function	script	timeshoes	{
	setarray .@timeshoes[0],22000,22001,22002,22003,22004,22005,22006,22007,22008,22009,22010,22011;
	
	for( set .@i,0; .@i < getarraysize(.@timeshoes); set .@i,.@i+1){
		if(getarg(0)==.@timeshoes[.@i]) return 1;
	}
	return 0;
}

//=-=-=-=-=-=-End Configuration-=-=-=-=-=-=-=
Edited by rosfus
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Wow... but i dont understand it...
 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   3
  • Joined:  04/12/13
  • Last Seen:  

Wow... but i dont understand it...

::>_<::

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  75
  • Reputation:   3
  • Joined:  04/12/13
  • Last Seen:  

is this a working script?

nono. just write a little~

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