Legendary Tales Official Website
News Search:
Home · Articles · Downloads · Discussion Forum · Old Forums (read only) · RegisterAugust 28 2008 04:45:28
Navigation
Home
Articles
Downloads
FAQ
Discussion Forum
Web Links
News
Contact Me
Screenshots
Search
Login
Username

Password

Save



Not a member yet?
Then register.

I forgot my password.

Why register?
Newsletter
Subscribe now to receive important news, game releases and site updates
Buy 3 Skulls only $9.99

Download a demo

Full version download immediately after purchase!

You can also use your credit card without a paypal account.

Visa Mastercard American Express Discover
Shrines
Like in Diablo 2, you could walk up to a shrine, click on it and use its effect. There were many different shrines, and I
have written 3. Note that the second needs editing for all your ID's. Make sure also that the items tha these
scripts go in are stationary items. To do this, select the item, and on its first tab down the bottom right is a checkbox called 'Stationary'. Check it.

This is a healing shrine, to heal the party. It may be used three times, each sequential time it heals less.

function OnUse(){
if(Global("healingshrine") == 0){
RestParty(30);
Echo("The party places their hands on the shrine, and it heals their major wounds.");
Global("healingshrine") = 1;
}
else if(Global("healingshrine") == 1){
RestParty(20);
Echo("The party places their hands on the shrine, and it heals their wounds.");
Global("healingshrine") = 2;
}
else if(Global("healingshrine") == 2){
RestParty(10);
Echo("The party place their hands on the shrine, and it heals their minor wounds.");
Global("healingshrine") = 3;
}
else{
Echo("This shrines magic is depleted.");
}
}


This is based on the evil urn, and has a chance of spitting out a weapon/item (more than one of each, for variety) or a boss
with some minions (variety again). Can only be used once.

var r1 = Rnd(1,3);
var r2 = Rnd(1,5);
var r3 = Rnd(1,4);
function OnUse(){
if(Global("cursedshrine") == 0){
if(r1 == 1){
if(r2 == 1){
AddContent(ITEM-1,5,SysParam("LOC_ID"),1,0);
Echo("A rare item has appeared.");
}
else if(r2 == 2){
AddContent(ITEM-2,5,SysParam("LOC_ID"),1,0);
Echo("A rare item has appeared.");
}
else if(r2 == 3){
AddContent(ITEM-3,5,SysParam("LOC_ID"),1,0);
Echo("A rare item has appeared.");
}
else if(r2 == 4){
AddContent(WEAPON-1,6,SysParam("LOC_ID"),1,0);
Echo("A rare weapon has appeared.");
}
else if(r2 == 5){
AddContent(WEAPON-2,6,SysParam("LOC_ID"),1,0);
Echo("A rare weapon has appeared.");
}
else{
}
Global("cursedshrine") = 1;
}
else if(r1 == 2|r1 == 3){
if(r3 == 1){
AddContent(BOSS-1,20,SysParam("LOC_ID"),1,0);
AddContenvt(MINION-1,20,SysParam("LOC_ID"),3,0);
Echo("Enemies! Defend yourself!");
EnterCombat();
}
else if(r3 == 2){
AddContent(BOSS-2,20,SysParam("LOC_ID"),1,0);
AddContent(MINION-2,20,SysParam("LOC_ID"),3,0);
Echo("Enemies! Defend yourself!");
EnterCombat();
}
else if(r3 == 3){
AddContent(BOSS-3,20,SysParam("LOC_ID"),1,0);
AddContent(MINION-3,20,SysParam("LOC_ID"),3,0);
Echo("Enemies! Defend yourself!");
EnterCombat();
}
else if(r3 == 4){
AddContent(BOSS-4,20,SysParam("LOC_ID"),1,0);
AddContent(MINION-4,20,SysParam("LOC_ID"),3,0);
Echo("Enemies! Defend yourself!");
EnterCombat();
}
else{
}
Global("cursedshrine") = 1;
}
else{
}
}
else if(Global("cursedshrine") == 1){
Echo("This shrines power has already been used.");
}
else{
}
}


This shrine will raise the party's resiatnces to 60 for three turns. Can only be used once.

function OnUse(){
if(Global("resistanceshrine") == 0){
Foreach(1,"Current.Resistance();");
Echo("The party feel invincible, but the effect will wear off in three rounds.");
Global("resistanceshrine") = 1;
}
else{
Echo("This shrines magic is depleted.");
}
}

function Resistance(){
SetValue(11,60,3);
SetValue(12,60,3);
SetValue(13,60,3);
SetValue(14,60,3);
SetValue(15,60,3);
SetValue(16,60,3);
SetValue(17,60,3);
SetValue(18,60,3);
}
Comments
Humangus on July 13 2007 13:23:26
Shrines in Diablo were cool! In LT they are cooler and they can do much more stuff smiley
Iho on October 20 2007 09:07:33
Yeah, who couldn't remember the bastards 10 levels higher than you who steal the only experience shrine... smiley
DNDREMIX on January 08 2008 11:20:20
Shrines are a bit more flexible in LT than they were in Diablo II
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 33% [1 Vote]
Very Good Very Good 67% [2 Votes]
Good Good 0% [No Votes]
Average Average 0% [No Votes]
Poor Poor 0% [No Votes]
Play Online Now
Play Now
Requirements and info
Terms of Service
Privacy Policy
RSS Newsfeed
Shoutbox
You must login to post a message.

Throndir
21/08/2008 10:54
Then read this tutorial. http://h1.ripway.com/thro
ndir/Delete After Files/Tutorial.zip


Throndir
21/08/2008 10:51
It depends what you're trying to do. If you want to create a textbased game, download the engine and editor.

jfreak
20/08/2008 02:52
how do i begin smiley?

MrHelem
17/08/2008 15:22
Nevermind, got it figured out.

MrHelem
17/08/2008 04:13
Hey, can anyone tell me how to set up a custom skill so it uses mana? I scanned the tutorials and didn't find anything.

Throndir
10/08/2008 13:33
Or check out legendarytales.wikispaces
.com


Throndir
10/08/2008 13:09
Yes. Post in the forums with your problem.

critchell
09/08/2008 17:46
i need some help with a particular script which adds a new member to a party, can anyone help?

Throndir
05/08/2008 14:24
Legendarytales is a game engine and editor. You basically create textbased games, or hope for any other person to create an adventure so you could play it..

Delphinus
05/08/2008 10:17
You create. Check the 'Downloads' page.

Shoutbox Archive
Copyright www.legendarytales.com © 2001 - 2008

Terms Of Service Privacy Policy
eXTReMe Tracker