Jump to content

5 Screenshots

About This File

I believe most of you have heard of this or seen this before in DotA ( Defend of the Ancient )

Well, this script work alike with the Runes System you seen in the DotA.

It will give players a Buff / Bonus Randomly .

Video Preview :

Configuration :

OnInit:	// Runes Duration in Seconds	set .duration,60;	// Name of Each Runes.	setarray .name$[0],		"Double Damage",	//	2 x ATK Rate		"Invisibility",		//	Cloaking		"Regeneration",		//	HP / SP Regeneration		"Self Clone",		//	Create 2 Clones		"Unlimit Haste";	//	Improve Movement Speed	// npc sprite switching if any.	setarray .npc_sprite,		112,		113,		114,		115,		116;			// Random Coordinate where NPC will Shown Again	setarray .CoordinateX[0],150,155;	setarray .CoordinateY[0],175,175;

Add in more cases if you add extra Buff / Bonus. ( make sure edit the .names$ Array also )

	switch( .runes ){		case 0:			// 2x ATK / MATK			sc_start SC_INCATKRATE,( .duration * 1000 ),100;			sc_start SC_INCMATKRATE,( .duration * 1000 ),100;			break;		case 1:			// Invisible			skill "AS_CLOAKING",10,1;			sc_start SC_CLOAKING,( .duration * 1000 ),10;			break;		case 2:			// Restore			sc_start4 SC_REGENERATION,( .duration * 1000 ),-10,1,0,0;			break;		case 3:			// Clone			getmapxy( .@map$,.@x,.@y,0,strcharinfo(0) );			clone .@map$,.@X,.@y,"",getcharid(0),getcharid(0),"",1,.duration;			clone .@map$,.@X,.@y,"",getcharid(0),getcharid(0),"",1,.duration;			break;		case 4:			// Haste			sc_start SC_SpeedUp1,( .duration * 1000 ),0;			break;		default: end;	}


What's New in Version 2.1   See changelog

Released

  • [1.0] A Simple DotA Runes script that give players bonus/buffs upon pickup it.
  • [2.0] Added Random Spawn Coordinate Setting / Fixed Cloaking Issues.
  • [2.1] Support NPC Sprite changing, improved the script.
  • Upvote 2

×
×
  • Create New...