|
| Subscribe now to receive important news, game releases and site updates |
|
Download a demo
Full version download immediately after purchase!
You can also use your credit card without a paypal account.
|
|
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);
}
|
|
|
on July 13 2007 13:23:26
Shrines in Diablo were cool! In LT they are cooler and they can do much more stuff  |
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...  |
on January 08 2008 11:20:20
Shrines are a bit more flexible in LT than they were in Diablo II |
|
|
| Please Login to Post a Comment.
|
|
|