Jump to content

Recommended Posts

Posted (edited)

Item Evolution System

 

Hello! It has been a lot of time since I don't make a release. One of the most important reasons is my laziness to do a topic. But I tried to fight against it and here I am.
This is an old script. It was very ugly in the past (now it's just ugly and has been optimised). I tested it a good amount of times and I didn't found any bugs in my tests.

 

What does this script do?

It can evolve equips when you kill an amount of monsters, or gather experience from them. You can request aditional types if you want. I could update this... probably.

 

How to configure?

Well, I like to think the config is easy, but I don't really know. You can add items by using callsub Ids. The structure is like this:

callsub Ids, ID 1, evolution mode 1, mob id 1, amount to advance 1%, ID 2..., mob id 2... and so. Every entry is a different evolving line which can consist of... 10 items if you like (i.e. Poring Wings -> Super Poring Wings -> Mega Poring Wings -> God of Poring Wings, and so).

The evolution modes, as of now, are the next:

  • 1 = Every X amount of mobs
  • 2 = Every x amount of experience

You can also define if the evolution itself is handled by the system or you have some quest in mind with the .auto variable.

 

ScreenshotsKRQIu63.jpg

qfzbfn1.jpg

WLbLmiI.jpg

mYOWb0n.jpg

 

So, enjoy the script.

 

Mirror: http://pastebin.com/dl/6xk49UED

 

Note: the idea itself comes from Pow Supremacy. Credits to them.

 

Items_Evo.txt

Edited by Omnipotent
  • Upvote 1
  • Like 1
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
Posted

Question please, im trying your script without changing it and there's no error. But in game the item 5132 wont evolve after i got 100% exp but keep increasing until 200++%, do you know why this happen?

  • 3 weeks later...
  • 1 year later...
  • 10 months later...
Posted
On 2017/1/13 at PM10点49分, chryxt said:

问题,我试着你的脚本而不改变它,没有错误。但是在游戏中,项目5132在我获得100%exp之后不会进化但是一直在增加到200 ++%,你知道为什么会这样吗?

		//specialeffect2 58 ;
		//sleep2 200 ;
		//specialeffect2 383 ;
		if ( getd ( "evo"+ .@e ) == 100 && .auto )
		{
		//	specialeffect2 263 ;
		//	sleep2 500 ;
		//	specialeffect2 377 ;
		/	sleep2 300 ;
		//	specialeffect2 542 ;
		//	sleep2 300 ;
			announce getitemname ( .@e ) +" is evolving..." , bc_self, "0x"+ .c$[1] ;
		//	.@i = 3;
		//	while ( .@i-- )
		//	{
		//		specialeffect2 521 ;
		//		sleep2 900 ;
		//	}
		//	specialeffect2 463 ;
		//	sleep2 200;
		//	specialeffect2 665 ;
		//	sleep2 500 ;
			setarray .@card[1], getequipcardid ( .slots[.@a], 0 ), getequipcardid ( .slots[.@a], 1 ), getequipcardid ( .slots[.@a], 2 ), getequipcardid ( .slots[.@a], 3 );
			.@refine = getequiprefinerycnt ( .slots[.@a] );
			delitem .@e, 1 ;
			getitem2 getd ( ".a1"+ .@w +"_"+ ( .@id + 1 ) ) , 1, 1, .@refine, 0, .@card[1], .@card[2], .@card[3], .@card[4] ;
			equip getd ( ".a1"+  .@w +"_"+ ( .@id + 1 ) ) ;
			setd "evo"+ .@e, 0;
			deletearray @wing ;
			announce "Congratulations, your wings have evolved to "+ getitemname ( getd ( ".a1"+ .@w +"_"+ ( .@id + 1 ) ) ) +"." , bc_self , "0x"+ .c$[2] ;
		}

 

 

  • 8 months later...
Posted

Hey guys, hello.

 

I'm new at this forum, and I'm making a custom server based at Old Times RPG, like Tibia, MU, etc... Well, what i'm doing is a system when you use a skill a number of times it evolves. Ex:

- You use Fireball 10 times at level 1 and go to Fireball level 2

- You use fireball 100 times at level 2 and go to Fireball level 3

- You attack using a blade 1.000.000 times and you Sword Mastery go to level 1. 

- You attack using a blade 1.500.000 times and you Sword Mastery go to level 2.

 

Anyone knows any system that look like that? I'll be greatfull if someone help me at this. 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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